I am looking for a formula to help me add up numbers in one column, but only if the text in another column is a unique value.
Here is a simplified example :
I need to be able to count the cooks and the thieves every month, which is no problem with a sum.if function. But I also need the number of different people that work for me each month. It is easy to put the answers here, but too complicated for hundreds of people. And if I can do it, then Excel should be able to do it. I just can't find the logic for a formula.
So in January, the answer would be 3 (Marc, Laura and Peter) and in April 0. What formula could I use to count Marc as 1 in January for example. The numbers will always be 1 or 0 (As a person either is a cook or isn't). I did try to put numbers like 0,5 (Each Marc would count as half a person, but if I add a third category, he would be a third, etc.), but then the sums are off as well. Thanks for your help so far!




