PC Review


Reply
Thread Tools Rate Thread

Count of values within a cell?

 
 
jeff.fry@gmail.com
Guest
Posts: n/a
 
      11th Nov 2006
Hi,

I have a spreadsheet containing a row with data something like:
A | B
____________
1 | 1111
2 | 1112, 1113, 1114
3 |
4 | 1115

If I were to do a COUNTA(B:B) I would see a count of 3. What I'd *like*
to find is a way to see a count of all numbers in that row (in this
case, a count of 5).

Any suggestions?

Thanks!
Jeff

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      11th Nov 2006
=SUMPRODUCT(--(B1:B100<>""),(LEN(B1:B100)-LEN(SUBSTITUTE(B1:B100,",",""))+1)
)

--
HTH

Bob Phillips

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

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I have a spreadsheet containing a row with data something like:
> A | B
> ____________
> 1 | 1111
> 2 | 1112, 1113, 1114
> 3 |
> 4 | 1115
>
> If I were to do a COUNTA(B:B) I would see a count of 3. What I'd *like*
> to find is a way to see a count of all numbers in that row (in this
> case, a count of 5).
>
> Any suggestions?
>
> Thanks!
> Jeff
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count of numerical values within a cell Sasikiran Microsoft Excel Misc 5 6th May 2010 03:19 PM
How to count the number of 'values' in a cell Sandih Microsoft Excel Worksheet Functions 1 11th Jul 2006 09:00 AM
Count values in a cell =?Utf-8?B?TWFyZ2FyaXRhIEN1cmJlbG8=?= Microsoft Excel Worksheet Functions 2 15th Aug 2005 06:02 PM
Count values in a cell terrydunne Microsoft Excel Discussion 4 18th Jul 2005 07:52 PM
Count values bigger than cell =?Utf-8?B?TWljb3Mz?= Microsoft Excel Misc 5 23rd Jun 2005 01:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:37 PM.