I would like to count the number of 1s (on the left) and organize as shown on the right.
notice rows 1 and 2 are hierarchical.
in other words, something along the lines of "count soccer players in 2020 in Europe"
My attempt was to first match headers then count the column returned by INDEX, but I'm having trouble since there are 2 headers & a condition on column B to match against.
Any help will be appreciated. Much thanks!
notice rows 1 and 2 are hierarchical.
in other words, something along the lines of "count soccer players in 2020 in Europe"
My attempt was to first match headers then count the column returned by INDEX, but I'm having trouble since there are 2 headers & a condition on column B to match against.
Any help will be appreciated. Much thanks!