Hello, I need to count the number of times the letter C appears in a range of cells but i need to excelude the duplicate values out of that count.
Let me explain this better:
<tbody>
</tbody>
in this table the letter "A" shows 2 times on diferent columns, so the person worked 2 days. The letter "B" shows 2 times but I need it to count as one time so it shows as the person worked different shifts in that day.
so, if I have this:
<tbody>
</tbody>
I need the person as letter "B" to show as working 2 days (count it as 2 times) and not count the letter 4 times.
This is based on a COUNTIF formula.
If there a way to do this with a simple formula or vba?
Best regards,
eLy
Let me explain this better:
day1 | day2 | day3 | day4 | day5 | day6 | day7 | day8 | ||
08:00 | 16:00 | a | a | b | |||||
16:00 | 24:00 | b |
<tbody>
</tbody>
in this table the letter "A" shows 2 times on diferent columns, so the person worked 2 days. The letter "B" shows 2 times but I need it to count as one time so it shows as the person worked different shifts in that day.
so, if I have this:
day1 | day2 | day3 | day4 | day5 | day6 | day7 | day8 | ||
08:00 | 16:00 | a | a | b | b | ||||
16:00 | 24:00 | b | b |
<tbody>
</tbody>
I need the person as letter "B" to show as working 2 days (count it as 2 times) and not count the letter 4 times.
This is based on a COUNTIF formula.
If there a way to do this with a simple formula or vba?
Best regards,
eLy
Last edited: