This one is a bit hard to explain, but hoping it makes sense...
I have a table with a list of people in one column, a "source" column, and then daily sales figures with date as the header, and the week number above it. What I want to do is count how many people had sales in a given week.
So like this essentially. What I want to be able to say is that 2 people had sales in week 44 (imagine columns either side of this down to week 1), regardless of how much (easy to sumproduct that). I tried a SUMPRODUCT(COUNTIF) but that would say that I have 4 cells which are greater than zero. Is there a way of checking the entire range?
I have a table with a list of people in one column, a "source" column, and then daily sales figures with date as the header, and the week number above it. What I want to do is count how many people had sales in a given week.
Week | 43 | 44 | 44 | 44 | 44 | 44 | 44 | 44 | 45 | 45 | |
Name | Source | 30/10/2021 | 31/10/2021 | 01/11/2021 | 02/11/2021 | 03/11/2021 | 04/11/2021 | 05/11/2021 | 06/11/2021 | 07/11/2021 | 08/11/2021 |
Adam Ant | Campaign 1 | $10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | $10 | 0 |
Betty Boop | Campaign 2 | 0 | 0 | 0 | 0 | $150 | 0 | 0 | 0 | 0 | 0 |
Charlie Chan | Campaign 3 | 0 | $50 | 0 | $50 | 0 | 0 | $50 | 0 | $50 | 0 |
So like this essentially. What I want to be able to say is that 2 people had sales in week 44 (imagine columns either side of this down to week 1), regardless of how much (easy to sumproduct that). I tried a SUMPRODUCT(COUNTIF) but that would say that I have 4 cells which are greater than zero. Is there a way of checking the entire range?