#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 122
Default Leading Zeroes

I was wondering how to include "000" at the beginning of a data value,
because the data set I am creating includes ID numbers. Excel wipes out the
zeroes once I put them in the cell. For example, I would like to have it
written as 000112233 instead of "112233."

Thank you for your help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default Leading Zeroes

Format the cells as Text.
Right-click, Format Cells, Number Tab.
Select Text.

HTH,
Paul

"melissa" wrote in message
...
I was wondering how to include "000" at the beginning of a data value,
because the data set I am creating includes ID numbers. Excel wipes out
the
zeroes once I put them in the cell. For example, I would like to have it
written as 000112233 instead of "112233."

Thank you for your help.



  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Leading Zeroes

Either pre-format the cell as TEXT, or type a leading apostrophe before the
zeros....it won't show, but formats that cell as TEXT.

hth
Vaya con Dios,
Chuck, CABGx3



"melissa" wrote:

I was wondering how to include "000" at the beginning of a data value,
because the data set I am creating includes ID numbers. Excel wipes out the
zeroes once I put them in the cell. For example, I would like to have it
written as 000112233 instead of "112233."

Thank you for your help.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 182
Default Leading Zeroes

Hello, melissa!
You wrote on Wed, 11 Oct 2006 11:15:03 -0700:

m I was wondering how to include "000" at the beginning of a
m data value, because the data set I am creating includes ID
m numbers. Excel wipes out the zeroes once I put them in the
m cell. For example, I would like to have it written as
m 000112233 instead of "112233."

m Thank you for your help.

If the result is to be a fixed length, use a custom font with
that number of zeroes. For example, if 112233 is to be
000112233, the custom font would be 000000000. The numbers will
still be numbers not text.

James Silverton
Potomac, Maryland

E-mail, with obvious alterations:
not.jim.silverton.at.comcast.not

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
Leading zeroes get dropped when converted to text Jason Grunert Excel Discussion (Misc queries) 8 August 4th 06 09:42 PM
how to keep leading zeroes when saving in xls in csv format Joe Excel Discussion (Misc queries) 2 October 5th 05 06:42 PM
spreadsheet dropping leading zeroes when exporting from SQL Serve. RPurgahn Excel Worksheet Functions 0 June 29th 05 02:08 PM
CSV leading zeroes Tim_nol Excel Discussion (Misc queries) 2 December 28th 04 08:19 PM
single quote 10-digit number that has leading zeroes & then conca. lorelei739 Excel Worksheet Functions 1 November 5th 04 12:02 AM


All times are GMT +1. The time now is 05:45 PM.

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

About Us

"It's about Microsoft Excel"