mikechambers
Active Member
- Joined
- Apr 27, 2006
- Messages
- 397
I am trying to get a unique count of dates in one column if another column matches a number. So....
918 7/18/11
918 7/18/11
917 7/22/11
915 7/21/11
918 7/19/11
919 7/21/11
916 7/18/11
918 7/20/11
919 7/19/11
So for example, Column B shows 5 different dates all together. But I want to count how many different dates (unique values) there are if Column A has 918, which should result in 3. Does that make sense? I was playing around with the Frequency function, and had so far:
=SUM(IF(FREQUENCY(B1:B9,B1:B9)>0,1))
This gives me 5, which is the number of unique entries in Column B. Any ideas how I could tweak this?
918 7/18/11
918 7/18/11
917 7/22/11
915 7/21/11
918 7/19/11
919 7/21/11
916 7/18/11
918 7/20/11
919 7/19/11
So for example, Column B shows 5 different dates all together. But I want to count how many different dates (unique values) there are if Column A has 918, which should result in 3. Does that make sense? I was playing around with the Frequency function, and had so far:
=SUM(IF(FREQUENCY(B1:B9,B1:B9)>0,1))
This gives me 5, which is the number of unique entries in Column B. Any ideas how I could tweak this?