K
Kevin Stecyk
Hi TippyToe,
Here is an older CompuServe message which address your question.
Topic: Counting different value Msg #335156
To: Fiona Condon [received] 2 replies
From: Bill Manville 5:45 p.m. on 11-Aug-1999
Hi Fiona
<<
Is there a function that will count the number of different values in a
range? For example, if the range contained the values apples, oranges,
bananas, apples, oranges, bananas, apples, apples, apples, it would return 3
because there are 3 different fruit.
If List is the range,
=SUM(1/COUNTIF(List,List))
entered as an array formula with Ctrl+Shift+Enter
with acknowledgement to David Hager (I think) for a most ingenious solution.
Bill Manville
Oxford, England
Bill Manville was correct, David Hagar is the original creator of the
solution.
Best regards,
Kevin
Here is an older CompuServe message which address your question.
Topic: Counting different value Msg #335156
To: Fiona Condon [received] 2 replies
From: Bill Manville 5:45 p.m. on 11-Aug-1999
Hi Fiona
<<
Is there a function that will count the number of different values in a
range? For example, if the range contained the values apples, oranges,
bananas, apples, oranges, bananas, apples, apples, apples, it would return 3
because there are 3 different fruit.
If List is the range,
=SUM(1/COUNTIF(List,List))
entered as an array formula with Ctrl+Shift+Enter
with acknowledgement to David Hager (I think) for a most ingenious solution.
Bill Manville
Oxford, England
Bill Manville was correct, David Hagar is the original creator of the
solution.
Best regards,
Kevin