ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   starts with decimal point only if number is like 0.###... (https://www.excelbanter.com/excel-worksheet-functions/158264-starts-decimal-point-only-if-number-like-0-a.html)

markx

starts with decimal point only if number is like 0.###...
 
Hi All,

Do you know what should be the number formatting if I want to achieve this:

..151843 instead of 0.151843 (=beginning zero falls out)
but
1.182 stays the same (=if the number begins with something else than 0. than
we keep it as it is)

Thanks for your help on this!
Rgds,
Mark



Mike H

starts with decimal point only if number is like 0.###...
 
Hi,

Maybe a custom format of

..00

Mike

"markx" wrote:

Hi All,

Do you know what should be the number formatting if I want to achieve this:

..151843 instead of 0.151843 (=beginning zero falls out)
but
1.182 stays the same (=if the number begins with something else than 0. than
we keep it as it is)

Thanks for your help on this!
Rgds,
Mark




Mike H

starts with decimal point only if number is like 0.###...
 
or even

..#######

Mike

"markx" wrote:

Hi All,

Do you know what should be the number formatting if I want to achieve this:

..151843 instead of 0.151843 (=beginning zero falls out)
but
1.182 stays the same (=if the number begins with something else than 0. than
we keep it as it is)

Thanks for your help on this!
Rgds,
Mark




Lori

starts with decimal point only if number is like 0.###...
 
[=1]General;[<=0]General;.##########


"markx" wrote:

Hi All,

Do you know what should be the number formatting if I want to achieve this:

..151843 instead of 0.151843 (=beginning zero falls out)
but
1.182 stays the same (=if the number begins with something else than 0. than
we keep it as it is)

Thanks for your help on this!
Rgds,
Mark





All times are GMT +1. The time now is 02:55 PM.

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