Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 83
Default counting unique values of text

Hi,
Column A is referencing unique text values from another spreadsheet which is
where the "FALSE" comes from. How do I count how many A's are in column B
but only refer to unique names in column A? The other problem is, this is a
template, so column A is going to change completely. So is it possible to
count the number of A's in column B that don't equal "FALSE" in column A?

col. A col. B
Jim A
FALSE A
Pam B
David A
FALSE A

I've seen similar threads but I couldn't find any that involved text.
Please help!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default counting unique values of text

Try this array formula** :

=COUNT(1/FREQUENCY(IF(ISTEXT(A2:A6)*(B2:B6="A"),MATCH(A2:A6 ,A2:A6,0)),ROW(A2:A6)-MIN(ROW(A2:A6))+1))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

--
Biff
Microsoft Excel MVP


"jake" wrote in message
...
Hi,
Column A is referencing unique text values from another spreadsheet which
is
where the "FALSE" comes from. How do I count how many A's are in column B
but only refer to unique names in column A? The other problem is, this is
a
template, so column A is going to change completely. So is it possible to
count the number of A's in column B that don't equal "FALSE" in column A?

col. A col. B
Jim A
FALSE A
Pam B
David A
FALSE A

I've seen similar threads but I couldn't find any that involved text.
Please help!!



  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default counting unique values of text

For this:
.. count the number of A's in column B that don't equal "FALSE" in column A?


Try: =SUMPRODUCT((A1:A5<FALSE)*(B1:B5="A"))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 83
Default counting unique values of text

You are some kind of sorcerer!! Perfect, thank you.

"Max" wrote:

For this:
.. count the number of A's in column B that don't equal "FALSE" in column A?


Try: =SUMPRODUCT((A1:A5<FALSE)*(B1:B5="A"))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---

  #5   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default counting unique values of text

Glad it worked ok for you.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,000 Files:370 Subscribers:66
xdemechanik
---
"jake" wrote in message
...
You are some kind of sorcerer!! Perfect, thank you.



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
Counting unique values blswes Excel Worksheet Functions 4 August 14th 08 06:50 PM
Counting unique values Dean Excel Discussion (Misc queries) 2 June 17th 08 11:22 AM
counting unique items(values or text) guneet_ahuja Excel Worksheet Functions 11 August 22nd 06 07:52 AM
Counting Unique Values RJL0323 Excel Worksheet Functions 27 February 19th 06 09:12 PM
Counting Unique Values carl Excel Worksheet Functions 9 July 25th 05 12:44 PM


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