#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default Count only once

Hi

Is there an option to count a record only once. What i mean is if the word
is repeated in the list it only counts it once. Exampl

London
London
Brimingham
Manchester
London

This would give a count of 3 (only including the London once)

Not sure if this is possible

Any help greatly appreciated

rexmann







  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Count only once

One way:

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

(Adjust the range to match.)

rexmann wrote:

Hi

Is there an option to count a record only once. What i mean is if the word
is repeated in the list it only counts it once. Exampl

London
London
Brimingham
Manchester
London

This would give a count of 3 (only including the London once)

Not sure if this is possible

Any help greatly appreciated

rexmann


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Count only once

See:
Counting Distinct Entries In A Range
in:
http://www.cpearson.com/excel/Duplicates.aspx
--
Gary''s Student - gsnu200790


"rexmann" wrote:

Hi

Is there an option to count a record only once. What i mean is if the word
is repeated in the list it only counts it once. Exampl

London
London
Brimingham
Manchester
London

This would give a count of 3 (only including the London once)

Not sure if this is possible

Any help greatly appreciated

rexmann







  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default Count only once

Cheers Both

nice one, thank you very much

Rexmann

"Gary''s Student" wrote:

See:
Counting Distinct Entries In A Range
in:
http://www.cpearson.com/excel/Duplicates.aspx
--
Gary''s Student - gsnu200790


"rexmann" wrote:

Hi

Is there an option to count a record only once. What i mean is if the word
is repeated in the list it only counts it once. Exampl

London
London
Brimingham
Manchester
London

This would give a count of 3 (only including the London once)

Not sure if this is possible

Any help greatly appreciated

rexmann







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
Count Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel 2000, count, sort a list & count totals? sunslight Excel Worksheet Functions 1 April 9th 07 05:46 PM
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
Count Intervals of 2 Numeric values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 12 September 24th 05 10:58 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


All times are GMT +1. The time now is 05:25 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"