Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Counting Unique Text Fields

I am trying to count a text list with many duplicates. I am just trying to
count these unique text fields. I tried using =SUM(1/COUNTIF(B1:B17,B1:B17))
but this just seems to count numbers and not text.

Is there an easy way to do this?
--
MWALL
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Counting Unique Text Fields

Try this:

=SUMPRODUCT((B1:B17<"")/COUNTIF(B1:B17,B1:B17&""))


Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"MWall" wrote:

I am trying to count a text list with many duplicates. I am just trying to
count these unique text fields. I tried using =SUM(1/COUNTIF(B1:B17,B1:B17))
but this just seems to count numbers and not text.

Is there an easy way to do this?
--
MWALL

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Counting Unique Text Fields

Hi Ron,

I tried this on one of my worksheets and it dragged it to a crawl every time
it went through a computation :(

"Ron Coderre" wrote:

Try this:

=SUMPRODUCT((B1:B17<"")/COUNTIF(B1:B17,B1:B17&""))


Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"MWall" wrote:

I am trying to count a text list with many duplicates. I am just trying to
count these unique text fields. I tried using =SUM(1/COUNTIF(B1:B17,B1:B17))
but this just seems to count numbers and not text.

Is there an easy way to do this?
--
MWALL

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Counting Unique Text Fields

I suspect that the formula you posted:
=SUMPRODUCT((B1:B17<"")/COUNTIF(B1:B17,B1:B17&""))
didn't cause the problem, unless it was copied hundreds (thousands?) of
times or it referenced a large range. Is that true?

--------------------------

Regards,

Ron
Microsoft MVP (Excel)

(XL2003, Win XP)



"LouP" wrote in message
...
Hi Ron,

I tried this on one of my worksheets and it dragged it to a crawl every
time
it went through a computation :(

"Ron Coderre" wrote:

Try this:

=SUMPRODUCT((B1:B17<"")/COUNTIF(B1:B17,B1:B17&""))


Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"MWall" wrote:

I am trying to count a text list with many duplicates. I am just
trying to
count these unique text fields. I tried using
=SUM(1/COUNTIF(B1:B17,B1:B17))
but this just seems to count numbers and not text.

Is there an easy way to do this?
--
MWALL



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
Help Counting Conditional Text Fields Rodman Excel Discussion (Misc queries) 2 January 25th 07 09:40 PM
counting unique items(values or text) guneet_ahuja Excel Worksheet Functions 11 August 22nd 06 07:52 AM
Counting Unique text entries in a sheet with a condition Mike Excel Worksheet Functions 5 October 4th 05 11:56 AM
counting unique instances of text in a list WadeSansing Excel Worksheet Functions 5 June 1st 05 06:57 PM
Counting every unique text string in a column doctor rick Excel Worksheet Functions 2 December 15th 04 07:36 AM


All times are GMT +1. The time now is 02:07 AM.

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"