Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need 7 digit number with differnt number of leading zeros malycom Excel Discussion (Misc queries) 10 July 30th 09 04:02 PM
How to copy a number into a text cell, keeping leading zeros? Basher Bates Charts and Charting in Excel 2 February 23rd 08 03:26 PM
leading zeros when uploading a number from text file mc01234 Excel Discussion (Misc queries) 1 May 18th 06 08:47 PM
zero supress leading zeros when chg format from text to number HeatherO Excel Worksheet Functions 4 February 27th 05 11:11 PM
Force a Number to be Formatted as Text (keep leading 0's) Tom Ogilvy Excel Programming 1 July 27th 04 07:29 PM


All times are GMT +1. The time now is 12:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"