ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Count data in cells (https://www.excelbanter.com/excel-worksheet-functions/29581-count-data-cells.html)

DD

Count data in cells
 
If I enter the following into one cell what formula do I use so it recognize
it?

628.9,v14.0,v15.08

I want it to equal 3

RagDyeR

One way:

=LEN(A1)-LEN(SUBSTITUTE(A1,",",""))+1
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"DD" wrote in message
...
If I enter the following into one cell what formula do I use so it recognize
it?

628.9,v14.0,v15.08

I want it to equal 3



dd

It worked...Thanks for your help

"RagDyeR" wrote:

One way:

=LEN(A1)-LEN(SUBSTITUTE(A1,",",""))+1
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"DD" wrote in message
...
If I enter the following into one cell what formula do I use so it recognize
it?

628.9,v14.0,v15.08

I want it to equal 3




RagDyer

Thanks for the feed-back.

--
Regards,

RD
--------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit!
-------------------------------------------------------------------

"dd" wrote in message
...
It worked...Thanks for your help

"RagDyeR" wrote:

One way:

=LEN(A1)-LEN(SUBSTITUTE(A1,",",""))+1
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"DD" wrote in message
...
If I enter the following into one cell what formula do I use so it

recognize
it?

628.9,v14.0,v15.08

I want it to equal 3







All times are GMT +1. The time now is 12:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com