G
Guest
I'm using the sumproduct function to calculate totals on a summary sheet
For example
=SUMPRODUCT(--('S:\AdminDocuments\[Surrey.xls]ForCalculations'!$B$5:$B$564=$H$18),--('S:\AdminDocuments\[Surrey.xls]ForCalculations'!$C$5:$C$564=I20)
to calculate the number of entries that match criteria A and B and C. So far so good
Heres my problem:
On the next sheet i need to calculate the number of entries that match *any one* of four criterias. Its quite likely that an entry will match more than one criteria, but i don't want the entry to be counted more than once. How do i alter my formula to reflect this? Do i need to use an IF or an OR
Any suggestions greatly appreciated
For example
=SUMPRODUCT(--('S:\AdminDocuments\[Surrey.xls]ForCalculations'!$B$5:$B$564=$H$18),--('S:\AdminDocuments\[Surrey.xls]ForCalculations'!$C$5:$C$564=I20)
to calculate the number of entries that match criteria A and B and C. So far so good
Heres my problem:
On the next sheet i need to calculate the number of entries that match *any one* of four criterias. Its quite likely that an entry will match more than one criteria, but i don't want the entry to be counted more than once. How do i alter my formula to reflect this? Do i need to use an IF or an OR
Any suggestions greatly appreciated