counting the number of attributes/numbers in a cell

M

Mortir

Is there a way I could count how many numbers are in a cell:

example:

in cell A1 I have a number: 50153,25 > now id like to count how many
numers are in the cell so the result should be 7 (the numers are
5015325 =7 numbers)

Is there a way to do this? tnx for your help
 
O

OssieMac

If the number is in cell A1 then

=LEN(A1)

Even though the number is formatted with a comma, the actual length is still
only the number of numerals because the comma is only a formatting character
and is not counted.
 
O

OssieMac

Have had another look and I have misinterpreted. Try the following instead
where the number is in cell A1

=LEN(TRIM(REPLACE(A1,FIND(",",A1,1),1,"")))
 
M

Mortir

Have had another look and I have misinterpreted. Try the following instead
where the number is in cell A1

=LEN(TRIM(REPLACE(A1,FIND(",",A1,1),1,"")))

--
Regards,

OssieMac






- Show quoted text -

WoW!! Great, works perfect. Tnx very much!!!
 

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

Top