A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Format Cols



 
 
Thread Tools Display Modes
  #1  
Old April 28th, 2005, 11:58 PM
Brent E
external usenet poster
 
Posts: n/a
Default Format Cols

I've got an Excel workbook that contains many license numbers and I need to
format the column so that if a license number has several 0s in front, they
aren't automatically truncated by Excel. I tried general, number, and text
formats but they truncate leading 0s. Any ideas? Thanks.
  #2  
Old April 29th, 2005, 12:42 AM
CLR
external usenet poster
 
Posts: n/a
Default

TEXT formatting should work fine........

Highlight the column, Right-click . FormatCells NumberTab select TEXT
OK........then enter your numbers with the leading zeros.....and all the
rest of the numbers........they will be all left-justified.

If you are copying something to the column, then use "PasteSpecial Values"
to prevent the formatting being changed during copying.....

Vaya con Dios,
Chuck, CABGx3


"Brent E" wrote in message
...
I've got an Excel workbook that contains many license numbers and I need

to
format the column so that if a license number has several 0s in front,

they
aren't automatically truncated by Excel. I tried general, number, and text
formats but they truncate leading 0s. Any ideas? Thanks.



  #3  
Old April 29th, 2005, 02:46 AM
Max
external usenet poster
 
Posts: n/a
Default

And if you want it as numbers but displaying the leading zeros,
try selecting the col, then:
Format Cells Custom
Enter in the "Type:" box: 000000 (say)

Now if you enter:
99, it'll appear as: 000099
999 will appear as: 000999
and so on

Adapt to suit (the number of zeros in "Type" box)
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik atyahoodotcom
----
"Brent E" wrote in message
...
I've got an Excel workbook that contains many license numbers and I need

to
format the column so that if a license number has several 0s in front,

they
aren't automatically truncated by Excel. I tried general, number, and text
formats but they truncate leading 0s. Any ideas? Thanks.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't format cell - have tried unlocking and unprotecting griffin General Discussion 1 April 5th, 2005 02:11 AM
How to format cells in Excel for time in format mm:ss.00 Very Timely Worksheet Functions 0 March 30th, 2005 07:35 AM
why does currency format change to number format? Cassie General Discussion 3 March 18th, 2005 06:57 PM
Changing the Date Format xtian_princess Worksheet Functions 1 September 8th, 2004 02:54 PM
Any way of forcing Plain Text Format universally? Astra General Discussions 0 June 4th, 2004 09:34 AM


All times are GMT +1. The time now is 10:46 PM.


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