Count numbers within text

  • Thread starter Thread starter LiAD
  • Start date Start date
L

LiAD

I am trying to get a formula that will count the number of numbers within a
text string.

Example

320,J,KLY - i would like the function to return 3
,32,T,J,KLYU - I would like the function to return 2
1234,h,KlY - i am looking for 4

Anyone know if this is possible?

Thanks
 
Here is a similar version without the volatile function...

=SUMPRODUCT(--ISNUMBER(--MID(A1,ROW($1:$999),1)))

It will work as long as the cell contains less than 1000 characters.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top