Hi,
I have table as follows:
A Customer
B Location
C Turnover Jan
D Turnover Feb
E Turnover March
F Etc Etc for the next 48 months
I want to know how many customers in a specific location have had turnover in a 12 month period.
So if Col B = C3 (C3 on a different tab), and the value in any of the columns C-N is greater than zero then count it.
I started trying to use COUNTIFS with an OR but couldn't get this to work at all, then I moved on to a sumproduct but it is returning the total instances the branch appears as my 2nd criteria isn't correct.
=SUMPRODUCT((Workings!B:B=C3)*IF(SUM(Workings!C:N)>0,1,0))
I know the easy thing would be to add a total column to sum the turnover and do the countif off that, but this is for a rolling 48 months so that would add another 37 columns to the spreadsheet.
I have table as follows:
A Customer
B Location
C Turnover Jan
D Turnover Feb
E Turnover March
F Etc Etc for the next 48 months
I want to know how many customers in a specific location have had turnover in a 12 month period.
So if Col B = C3 (C3 on a different tab), and the value in any of the columns C-N is greater than zero then count it.
I started trying to use COUNTIFS with an OR but couldn't get this to work at all, then I moved on to a sumproduct but it is returning the total instances the branch appears as my 2nd criteria isn't correct.
=SUMPRODUCT((Workings!B:B=C3)*IF(SUM(Workings!C:N)>0,1,0))
I know the easy thing would be to add a total column to sum the turnover and do the countif off that, but this is for a rolling 48 months so that would add another 37 columns to the spreadsheet.