R
rgoubet
Hi,
I found an old post answering exactly the question I had (how to count
the number of different values in a range). However, I don't understand
how it works:
What does Ctrl+Shift+Enter do? Why doesn't the formula work when I use
Enter? What's the logic behind the formula itself?
Thanks!
Raph
I found an old post answering exactly the question I had (how to count
the number of different values in a range). However, I don't understand
how it works:
Assuming your data is in A1:A10, and there are no blanks, the
following array formula (from David Hager) will count the number of
unique items:
=SUM(1/COUNTIF(A1:A10,A1:A10))
Use Ctrl+Shift+Enter instead of Enter.
What does Ctrl+Shift+Enter do? Why doesn't the formula work when I use
Enter? What's the logic behind the formula itself?
Thanks!
Raph