удалить все в диапазоне E: K
вставить эту формулу в E1 ячейку:
=ARRAYFORMULA({QUERY(A1:C,
"select A,count(A),sum(B)
where A is not null
group by A
label count(A)'DS events total',sum(B)'Overall attendees'", 0),
QUERY(IFERROR(QUERY(A1:C,
"select sum(B)
where A is not null
group by A
pivot C", 0)*1,
{"Overal BTs", "Overal CTs", "Overal FTs", "Overal PTs"}),
"select Col4,Col1,Col3,Col2", 1)})
