Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JN JN is offline
external usenet poster
 
Posts: 29
Default retrieve & count text

I have a column with text and blank cells. I need a formula that will not
only retrieve the names of the unique text values but also give me a count
how many times they appeared. Example:

Col A
[blank]
Apples
Pears
[blank]
Apples
Oranges

Apples 2
Pears 1
Oranges 1

It could be in 2 different columns...

Thanks in advance!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default retrieve & count text

Have a look in Help at COUNTIF then come back if you need more.
best wishes
--
Bernard Liengme
www.stfx.ca/people/bliengme
remove CAPS in email address


"JN" wrote in message
...
I have a column with text and blank cells. I need a formula that will not
only retrieve the names of the unique text values but also give me a count
how many times they appeared. Example:

Col A
[blank]
Apples
Pears
[blank]
Apples
Oranges

Apples 2
Pears 1
Oranges 1

It could be in 2 different columns...

Thanks in advance!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JN JN is offline
external usenet poster
 
Posts: 29
Default retrieve & count text

I can only get that statement to work if I already know the text I'm looking
for. Col A will change constantly and is user defined.

"Bernard Liengme" wrote:

Have a look in Help at COUNTIF then come back if you need more.
best wishes
--
Bernard Liengme
www.stfx.ca/people/bliengme
remove CAPS in email address


"JN" wrote in message
...
I have a column with text and blank cells. I need a formula that will not
only retrieve the names of the unique text values but also give me a count
how many times they appeared. Example:

Col A
[blank]
Apples
Pears
[blank]
Apples
Oranges

Apples 2
Pears 1
Oranges 1

It could be in 2 different columns...

Thanks in advance!




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default retrieve & count text

On Fri, 24 Aug 2007 12:28:03 -0700, JN wrote:

I have a column with text and blank cells. I need a formula that will not
only retrieve the names of the unique text values but also give me a count
how many times they appeared. Example:

Col A
[blank]
Apples
Pears
[blank]
Apples
Oranges

Apples 2
Pears 1
Oranges 1

It could be in 2 different columns...

Thanks in advance!


Although not a formula, you could use a pivot table to list both the unique
entries and their count.

You could also use the advanced filter to list the unique entries, and countif
to get the count.

You could also sort your data, then use the subtotals wizard to get a count of
each item.
--ron
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JN JN is offline
external usenet poster
 
Posts: 29
Default retrieve & count text

Absolutely perfect! Thank you Thank you Thank you!

"Ron Rosenfeld" wrote:

On Fri, 24 Aug 2007 12:28:03 -0700, JN wrote:

I have a column with text and blank cells. I need a formula that will not
only retrieve the names of the unique text values but also give me a count
how many times they appeared. Example:

Col A
[blank]
Apples
Pears
[blank]
Apples
Oranges

Apples 2
Pears 1
Oranges 1

It could be in 2 different columns...

Thanks in advance!


Although not a formula, you could use a pivot table to list both the unique
entries and their count.

You could also use the advanced filter to list the unique entries, and countif
to get the count.

You could also sort your data, then use the subtotals wizard to get a count of
each item.
--ron



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default retrieve & count text

On Tue, 28 Aug 2007 08:58:02 -0700, JN wrote:

Absolutely perfect! Thank you Thank you Thank you!


You're welcome. Glad to help. Which suggestion did you wind up using?
--ron
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
How to retrieve certain text from string? Eric Excel Discussion (Misc queries) 5 December 3rd 06 07:48 PM
How to retrieve certain text from string? Eric Excel Worksheet Functions 2 December 3rd 06 02:06 PM
How do I retrieve the text string from the right of a cell JWG Excel Worksheet Functions 4 June 9th 06 03:28 AM
Text retrieve in a list-like WS yadaaa New Users to Excel 2 June 6th 06 10:42 AM
retrieve text from merged cells Eric Excel Worksheet Functions 3 July 9th 05 09:17 AM


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