Hi All
Please can you help me with a formula? I am trying to count the number of distinct values based on a criteria. In this case, I want to count how many pieces of fruit Jennifer had, but I don't want to count the second fruit if it was repeated. e.g. Jennifer had two apples and two oranges, but I only want to count the first of each of these. So she had overall, 4 different pieces of fruit. Thanks in advance as always. Natasha
Please can you help me with a formula? I am trying to count the number of distinct values based on a criteria. In this case, I want to count how many pieces of fruit Jennifer had, but I don't want to count the second fruit if it was repeated. e.g. Jennifer had two apples and two oranges, but I only want to count the first of each of these. So she had overall, 4 different pieces of fruit. Thanks in advance as always. Natasha
Book3 | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | Person | Fruit | |||||
2 | Jennifer | Apple | Jennifer | 4 | |||
3 | Adam | Plum | |||||
4 | Jennifer | Apple | |||||
5 | Adam | Apple | |||||
6 | Geoff | Banana | |||||
7 | Jennifer | Orange | |||||
8 | Barney | Banana | |||||
9 | Jennifer | Plum | |||||
10 | Amy | Kiwi | |||||
11 | Sam | Cherry | |||||
12 | Jack | Kiwi | |||||
13 | Natasha | Plum | |||||
14 | Al | Plum | |||||
15 | Jennifer | Orange | |||||
16 | Al | Banana | |||||
17 | Jennifer | Banana | |||||
Sheet1 |