What type of data is in column E? Is it text? Numbers? Could be both? Something else?Hi All-
This is what I've ended up with. It's not working. I am getting zero, though it should be 3. Thoughts?
=SUM(IF(FREQUENCY(IF(C:C="backpacking",IF(D:D="women",E:E)),E:E),1))
A PivotTable can still be used but you need a helper column. This article explains the implementation process well:I didn't explain correctly the first time. I agree about the pivot table, but it won't work for this purpose.
So if A is Blue and B is Fast, I need to know how many uniques are C
Here's an example.It is all text
Book1 | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
2 | Blue | Fast | Pete | _ | 3 | ||
3 | Blue | Fast | Biff | _ | _ | ||
4 | Blue | Fast | Biff | _ | _ | ||
5 | Blue | Fast | Lisa | _ | _ | ||
6 | Blue | Fast | Lisa | _ | _ | ||
7 | White | Fast | Tom | _ | _ | ||
8 | Blue | Slow | Tom | _ | _ | ||
9 | Blue | Slow | Bob | _ | _ | ||
10 | Black | Medium | Sandy | _ | _ | ||
Sheet1 |
Vidar appears to assume a 2007 system or later. If thta is correct, we can also add a COUNTIFS formula to the arsenal next to Sumproduct and a pivot table:
=COUNTIFS(A:A,"blue",B:B,"fast",C:C,"Boat")
Hi Aladin
What is the limit of how many rows you can include in the formula in 2003 version of Excel (and older).
Vidar
Thanks for the reply Aladin
So
=SUMPRODUCT((A:A="X")+0)
is not allowed, but
=SUMPRODUCT((A1:A65536="X")+0)
is allowed for 2003 version and older?