With data laid out as presented this is another way. This array formula entered in D1 and filled down as in the below.
If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
Formula:
=SUM(IF(FREQUENCY(IF(COUNTIF(C1,$A$1:$A$15)=1,ROW($A$1:$A$15)),IF(COUNTIF(C1,$A$1:$A$15) <> 1,ROW($A$1:$A$15))),1))
|
A |
B |
C |
D |
1 |
John |
1/2/2016 |
John |
3 |
2 |
John |
1/3/2016 |
Mike |
1 |
3 |
|
|
Keith |
2 |
4 |
John |
2/15/2016 |
|
|
5 |
|
|
|
|
6 |
John |
3/5/2016 |
|
|
7 |
John |
3/6/2016 |
|
|
8 |
|
|
|
|
9 |
Mike |
2/3/2016 |
|
|
10 |
Mike |
2/4/2016 |
|
|
11 |
Mike |
2/5/2016 |
|
|
12 |
|
|
|
|
13 |
Keith |
3/1/2016 |
|
|
14 |
|
|
|
|
15 |
Keith |
4/10/2016 |
|
|
Bookmarks