Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Count number of textual values in a row


Hi everyone,

I am getting a little confused...infact...I am really struggling....

What I am trying to do is count the number of textual values in a row
(omitting any duplicates and counting them as one value)?

For example.

ABCD-1234
<<Blank Row
ABCD-1234
ABCD-1234
<<Blank Row
<<Blank Row
ABCD-1235
CB1234567
ABCD-1236
ABCD-1236

In the above example, I would expect the result to be 4.

Any help would be most appreciate, genuinely.

Thanks,
Steve (confused)


--
c99sg1
------------------------------------------------------------------------
c99sg1's Profile: http://www.excelforum.com/member.php...o&userid=36207
View this thread: http://www.excelforum.com/showthread...hreadid=559932

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Count number of textual values in a row

=SUMPRODUCT((A2:A200<"")/COUNTIF(A2:A200,A2:A200&""))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"c99sg1" wrote in
message ...

Hi everyone,

I am getting a little confused...infact...I am really struggling....

What I am trying to do is count the number of textual values in a row
(omitting any duplicates and counting them as one value)?

For example.

ABCD-1234
<<Blank Row
ABCD-1234
ABCD-1234
<<Blank Row
<<Blank Row
ABCD-1235
CB1234567
ABCD-1236
ABCD-1236

In the above example, I would expect the result to be 4.

Any help would be most appreciate, genuinely.

Thanks,
Steve (confused)


--
c99sg1
------------------------------------------------------------------------
c99sg1's Profile:

http://www.excelforum.com/member.php...o&userid=36207
View this thread: http://www.excelforum.com/showthread...hreadid=559932



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 number of values between plus signs in addition calc CRH Excel Discussion (Misc queries) 5 December 2nd 05 11:56 PM
Count Intervals of 2 Consecutive Values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 6 November 29th 05 03:27 PM
Count unique values and create list based on these values vipa2000 Excel Worksheet Functions 7 August 5th 05 01:17 AM
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
Count number of values in a cell nyc_doc Excel Worksheet Functions 3 July 31st 05 12:34 AM


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