ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Number to text with leading zero (https://www.excelbanter.com/excel-programming/305631-number-text-leading-zero.html)

German[_5_]

Number to text with leading zero
 
Hi,

I need to change a to digit format cell to text.

the thing is the numbers are like this:
First Digit 0, next a 1-9 Number ej. 01,02,03...09

However, when i convert to text, the leading zero disappears.

How can I avoid that.

thanks



Frank Kabel

Number to text with leading zero
 
Hi
try
=TEXT(A1,"00")

--
Regards
Frank Kabel
Frankfurt, Germany


German wrote:
Hi,

I need to change a to digit format cell to text.

the thing is the numbers are like this:
First Digit 0, next a 1-9 Number ej. 01,02,03...09

However, when i convert to text, the leading zero disappears.

How can I avoid that.

thanks


German[_5_]

Number to text with leading zero
 
thanks Frank!

"Frank Kabel" wrote:

Hi
try
=TEXT(A1,"00")

--
Regards
Frank Kabel
Frankfurt, Germany


German wrote:
Hi,

I need to change a to digit format cell to text.

the thing is the numbers are like this:
First Digit 0, next a 1-9 Number ej. 01,02,03...09

However, when i convert to text, the leading zero disappears.

How can I avoid that.

thanks




All times are GMT +1. The time now is 05:02 AM.

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