In Google Sheets, one finds the COUNTUNIQUE function. Excel seems to lack a direct counterpart to this function. Does this stand as an incorrect assessment on my part?
https://support.google.com/docs/answer/3093405?hl=en
In Google Sheets, one finds the COUNTUNIQUE function. Excel seems to lack a direct counterpart to this function. Does this stand as an incorrect assessment on my part?
https://support.google.com/docs/answer/3093405?hl=en
No, you are correct. The Excel equivalent would be:
=SUMPRODUCT(1/COUNTIF(Array,Array))
With blanks:
=SUMPRODUCT(1/COUNTIF(Array,Array&""))
Array is simply the array you want to test, and it needs to be tested against itself, so it is repeated.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.
Forum Rules (updated September 2018): please read them here.
How to use the Power Query code you've been given: help here. More about the Power suite here.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks