I have two formula's I'm trying to work on. The first needs to count the number of "N" in one column if the value in the first column is unique.
i.e. if I had:
column A B
1 N
2 Y
1 N
3 N
I'd like it return 2 as there are 2 N's in column B which relate to unique values in column A. I have been trying to use a countif formul, but think I've not quite got it right as it returns zero. I have been trying the following:
=COUNT(IF(COUNTIF(A1:A4,A1:A4)=1, B1:B4, "N"))
The second forumla I need is a step further and would count the number of "Y" in a third column if the secon column is "N" and the first column is a unique value...
column A B C
1 N Y
2 Y Y
1 N Y
3 N Y
So again in this example the result I'd want is 2!
Any help would be great!
Thanks,
James
Bookmarks