ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Counting decimals (https://www.excelbanter.com/excel-discussion-misc-queries/256495-counting-decimals.html)

backmara

Counting decimals
 
Hi,

Counting decimals:
1.234 -- 3
11.2 -- 1
1.34 -- 2

How I do that?


Mike H

Counting decimals
 
Hi,

=LEN(A1)-FIND(".",A1)
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"backmara" wrote:

Hi,

Counting decimals:
1.234 -- 3
11.2 -- 1
1.34 -- 2

How I do that?


Jacob Skaria

Counting decimals
 
Try
=IF(MOD(A1,1),LEN(MOD(A1,1))-2,0)

--
Jacob


"backmara" wrote:

Hi,

Counting decimals:
1.234 -- 3
11.2 -- 1
1.34 -- 2

How I do that?


מיכאל (מיקי) אבידן

Counting decimals
 
One should check his previous posts/Questions - could be somebody found a few
moments, of his precious time, to present the answer.
Micky


"backmara" wrote:

Hi,

Counting decimals:
1.234 -- 3
11.2 -- 1
1.34 -- 2

How I do that?



All times are GMT +1. The time now is 09:06 AM.

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