View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips Bob Phillips is offline
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