Hi guys,
Correct me if I am wrong but you want to count the number of unique cells (in this case names) within a range.
If so you have the choice of this
CODE
=SUM(IF(FREQUENCY(MATCH(H6:H246,H6:H246,0),MATCH(H6:H246,H6:H246,0))>0,1,0))
(this will fail if any of the cells are blank however)
or an array formula, I am sure know what this are but for anyone who hasn't heard of them I won't go into detail (what Google is for) but to enter them you must type them out in the formula bar and then press Ctrl+Shift+Enter to save them. It will be wrapped in {} if you do it correctly.
This solution gets around the blanks problem
CODE
=SUM(IF(H6:H246<>"",1/COUNTIF(H6:H246,H6:H246)))
I cannot claim credit for these solutions btw, other people who are abit better at writing formula's worked it out before I got there.