bluefish44
Board Regular
- Joined
- Apr 3, 2009
- Messages
- 187
I'm trying to come up with a variant of a countif formula:
I want to look at column A and see how many times a unique value occurs, in the example below, John occurs 5 times.
Then I want to see how many unique values occur related to John in column B, in this example its 3 (since apple appears twice, pear appears twice, and peach appears once there are only 3 unique values.I want to put that value, in this case 3, in column C in every row that it says John. I'd like to be able to put the formula in cell C2 and drag down as many entries as there are?
Thanks in advance for any help!
A B C(formula)
John apple 3
John pear 3
John apple 3
John peach 3
Bill orange 1
Bill orange 1
Bill orange 1
Frank pear 2
Frank apple 2
John pear 3
Frank apple 2
I want to look at column A and see how many times a unique value occurs, in the example below, John occurs 5 times.
Then I want to see how many unique values occur related to John in column B, in this example its 3 (since apple appears twice, pear appears twice, and peach appears once there are only 3 unique values.I want to put that value, in this case 3, in column C in every row that it says John. I'd like to be able to put the formula in cell C2 and drag down as many entries as there are?
Thanks in advance for any help!
A B C(formula)
John apple 3
John pear 3
John apple 3
John peach 3
Bill orange 1
Bill orange 1
Bill orange 1
Frank pear 2
Frank apple 2
John pear 3
Frank apple 2