#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 172
Default Count Question

I have a worksheet that has a list of customers on column B. How do I count
how many total customers I have? Some of the customers are on there more than
once so I just want to count the number of customers not including the
duplicates.
This should be simple but I can't seem to figure it out.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Count Question

say from B1 thru B100 with no blanks:

=SUM(1/COUNTIF(B1:B100,B1:B100)) entered with CNTRL-SHFT-ENTER
--
Gary''s Student - gsnu200740


"Secret Squirrel" wrote:

I have a worksheet that has a list of customers on column B. How do I count
how many total customers I have? Some of the customers are on there more than
once so I just want to count the number of customers not including the
duplicates.
This should be simple but I can't seem to figure it out.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 172
Default Count Question

Thanks Gary!

"Gary''s Student" wrote:

say from B1 thru B100 with no blanks:

=SUM(1/COUNTIF(B1:B100,B1:B100)) entered with CNTRL-SHFT-ENTER
--
Gary''s Student - gsnu200740


"Secret Squirrel" wrote:

I have a worksheet that has a list of customers on column B. How do I count
how many total customers I have? Some of the customers are on there more than
once so I just want to count the number of customers not including the
duplicates.
This should be simple but I can't seem to figure it out.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Count Question

Thank Pearson:

http://www.cpearson.com/excel/Duplicates.aspx


--
Gary''s Student - gsnu200740


"Secret Squirrel" wrote:

Thanks Gary!

"Gary''s Student" wrote:

say from B1 thru B100 with no blanks:

=SUM(1/COUNTIF(B1:B100,B1:B100)) entered with CNTRL-SHFT-ENTER
--
Gary''s Student - gsnu200740


"Secret Squirrel" wrote:

I have a worksheet that has a list of customers on column B. How do I count
how many total customers I have? Some of the customers are on there more than
once so I just want to count the number of customers not including the
duplicates.
This should be simple but I can't seem to figure it out.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Count Question

Here's another one that accounts for empty cells (not counted as a unique):

=SUMPRODUCT((A1:A10<"")/COUNTIF(A1:A10,A1:A10&""))

--
Biff
Microsoft Excel MVP


"Secret Squirrel" wrote in
message ...
I have a worksheet that has a list of customers on column B. How do I count
how many total customers I have? Some of the customers are on there more
than
once so I just want to count the number of customers not including the
duplicates.
This should be simple but I can't seem to figure it out.



Reply
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
Day Count Question [email protected] Excel Discussion (Misc queries) 0 June 21st 07 04:52 PM
Count() question new2XL Excel Discussion (Misc queries) 3 June 7th 06 07:05 PM
{=COUNT(IF(etc))} question Ben Karlin Excel Discussion (Misc queries) 2 May 26th 06 11:46 PM
Count Question Grant Excel Worksheet Functions 2 December 9th 05 04:51 PM
Count If question Denise Excel Discussion (Misc queries) 3 August 16th 05 09:37 PM


All times are GMT +1. The time now is 09:06 AM.

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

About Us

"It's about Microsoft Excel"