Is there a formula to count unique entries in a range of cells, and possible ignore certain predefined entries
I would like to create a formula to accomplish a task, I am not sure how to do it.
Basically, I will have cells A1-A31, with 1 corresponding with a day of the month.
Each cell A1-A31 will contain HEX data, in the form of a name (ie: John Smith) I would like another cell such as A5 to count the unique entries within the range of A1-A31.
If I can be pointed in the right direction, I can figure out for corresponding cells.
Basically it will look like this (plus other calculations, I already achieved)
DATE NAME TOTAL_CASES
1 John Smith 1
2 John Smith 1
3 Roxy Jones 2
4 Huang Nguyen 3
5 Huang Nguyen 3
6 Bradly Katz 4
7 Linda Schutlz 5
8 off 5 <--- possible addition step of ignoring "off"
9 Julie Dawgie 6
Additionally, if there is a way to count the "unique entries" in the given range, it it possible to IGNORE an item, such as the word "off" and/or "vacation?