Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Convert column of 4-5 digit whole numbers to 6?

1543 becomes 001543
17626 becomes 017626

This column has thousands of numbers and will convert to text if I have to
but I would like to have the cell display and store them as 6 digit numbers
with a leading zero or two. I am uploading these numbers to an application
that sees 1543 as 001543.

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,081
Default Convert column of 4-5 digit whole numbers to 6?

Well, professor, to have Excel DISPLAY and STORE them with leading zeroes,
you'll have to convert them to text values with the formula:

=text(value,"000000")

Copy that formula down for each cell in your range, then select all the
formulas and Copy then, without changing the selection, use Edit-Paste
special- Values. Be sure to format the range as text.


"Professor_Higgins" wrote:

1543 becomes 001543
17626 becomes 017626

This column has thousands of numbers and will convert to text if I have to
but I would like to have the cell display and store them as 6 digit numbers
with a leading zero or two. I am uploading these numbers to an application
that sees 1543 as 001543.

Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Convert column of 4-5 digit whole numbers to 6?

Thank you, Mr. Carey:

Sorry, I don't seem to understand this piece:
"Copy that formula down for each cell in your range"

I do appreciate the help! I play a great game of tennis though :-).



"Duke Carey" wrote:

Well, professor, to have Excel DISPLAY and STORE them with leading zeroes,
you'll have to convert them to text values with the formula:

=text(value,"000000")

Copy that formula down for each cell in your range, then select all the
formulas and Copy then, without changing the selection, use Edit-Paste
special- Values. Be sure to format the range as text.


"Professor_Higgins" wrote:

1543 becomes 001543
17626 becomes 017626

This column has thousands of numbers and will convert to text if I have to
but I would like to have the cell display and store them as 6 digit numbers
with a leading zero or two. I am uploading these numbers to an application
that sees 1543 as 001543.

Thank you.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Convert column of 4-5 digit whole numbers to 6?

This question was answered to the OP's satisfaction in a duplicate posting
to the programming newsgroup.

Rick


"Duke Carey" wrote in message
...
Well, professor, to have Excel DISPLAY and STORE them with leading zeroes,
you'll have to convert them to text values with the formula:

=text(value,"000000")

Copy that formula down for each cell in your range, then select all the
formulas and Copy then, without changing the selection, use Edit-Paste
special- Values. Be sure to format the range as text.


"Professor_Higgins" wrote:

1543 becomes 001543
17626 becomes 017626

This column has thousands of numbers and will convert to text if I have
to
but I would like to have the cell display and store them as 6 digit
numbers
with a leading zero or two. I am uploading these numbers to an
application
that sees 1543 as 001543.

Thank you.


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 EXCEL FORMULA TO CONVERT 13 DIGIT ISBN TO 10 DIGIT ISBN Don_Quixote60 Excel Discussion (Misc queries) 7 April 1st 07 10:58 PM
Convert 2 digit month to 4 digit years and months BB Excel Worksheet Functions 2 September 17th 06 09:33 PM
using the same function to convert a column of numbers guatdoc Excel Worksheet Functions 1 November 9th 05 09:17 AM
How do you display 16 digit numbers in excel ? (it keeps convert. CiaraF Excel Discussion (Misc queries) 3 March 30th 05 06:38 PM
16 DIGIT NUMBERS IN CELL WITHOUT LAST DIGIT BEING A ZERO jnkell Excel Worksheet Functions 2 December 18th 04 07:13 PM


All times are GMT +1. The time now is 02:02 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"