LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,073
Default Can somebody explain to me how Bob Phillips' unique record counter works?

While browsing the forum for useful tips I spotted this formula posted
by Bob Phillips On Sept 21. It counts the number of unique records in a
list (A2:A20 in the example):
=SUMPRODUCT((A2:A20<"")/COUNTIF(A2:A20,A2:A20&""))

I found this formula very interesting and I just had to try it out. It
works, but I can't for the life of me understand how it works.
I've read the SUMPRODUCT Help file but that hasn't helped me.
COUNTIF Help file didn't help either. I can't see how A2:A20&"" works
as the Criterion for the COUNTIF part of the formula.
Can anybody help me understand Bob's incredible formula?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unique Record retrieval. Aligahk06 Excel Discussion (Misc queries) 2 September 16th 09 11:41 AM
Copy Unique Record Kim Excel Discussion (Misc queries) 2 August 27th 09 07:35 PM
Attempting to sort unique/only count first record in each unique g MJW[_2_] Excel Discussion (Misc queries) 3 August 10th 07 02:56 PM
Display unique record BBTMAMA Excel Discussion (Misc queries) 3 September 11th 05 03:40 PM
How can I update an MS Access table record from within Execl works David Canfield Excel Discussion (Misc queries) 0 January 14th 05 08:51 PM


All times are GMT +1. The time now is 09:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"