Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jorge
 
Posts: n/a
Default how to count unique values in excel based on criteria

Hi

I need to count the number of unique text values stored in column A based on
the contents of column B. Column B contains groups of values of different
sizes (# rows) for each group I need to count the number of unique
corresponding values stored in column A. These are all text based.

Any suggestions on how to do this?

Thanks,
Jorge
  #2   Report Post  
Gary Brown
 
Posts: n/a
Default

I think the CountIf function is what you're looking for.
HTH,
Gary Brown


"Jorge" wrote:

Hi

I need to count the number of unique text values stored in column A based on
the contents of column B. Column B contains groups of values of different
sizes (# rows) for each group I need to count the number of unique
corresponding values stored in column A. These are all text based.

Any suggestions on how to do this?

Thanks,
Jorge

  #3   Report Post  
Domenic
 
Posts: n/a
Default

With a list of unique names from Column B in another column, let's say
Column C...

D1, copied down:

=SUM(IF(FREQUENCY(IF(($A$1:$A$100<"")*($B$1:$B$10 0=C1),MATCH($A$1:$A$100
,$A$1:$A$100,0)),ROW(INDIRECT("1:"&ROWS($A$1:$A$10 0))))0,1,0))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Is this what you're looking for?

Hope this helps!

In article ,
"Jorge" wrote:

Hi

I need to count the number of unique text values stored in column A based on
the contents of column B. Column B contains groups of values of different
sizes (# rows) for each group I need to count the number of unique
corresponding values stored in column A. These are all text based.

Any suggestions on how to do this?

Thanks,
Jorge

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 Unique in Pivot Table Nelson Excel Discussion (Misc queries) 6 April 10th 05 10:05 PM
Can an excel cell automatically change fill colors based on values John Clark Excel Discussion (Misc queries) 1 February 5th 05 05:21 PM
Missing values in Excel Line Chart mw55309 Charts and Charting in Excel 1 January 19th 05 12:10 PM
project values based on other values Gabriele Excel Discussion (Misc queries) 1 January 7th 05 09:27 AM
Selecting data from a list based on entered values GrantM Excel Discussion (Misc queries) 1 December 20th 04 10:59 AM


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