View Single Post
  #2   Report Post  
Domenic
 
Posts: n/a
Default

If by 'significant digits' you mean digits that do not equal zero, try...

=SUM(IF(ISNUMBER(MID(A2,ROW(INDIRECT("1:"&LEN(A2)) ),1)+0),IF(MID(A2,ROW(I
NDIRECT("1:"&LEN(A2))),1)+00,1)))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
"Chace" wrote:

Is there a function I can used to return the # of significant digits of a
cell value.
ie. If cell A2 = 1.042, I want cell B2 to equal 3

Thanks,
Chace