#1   Report Post  
Posted to microsoft.public.excel.misc
cj21
 
Posts: n/a
Default Format Problem


I have a list of products e.g

Product
123
1453
14547
23
234

I want a zero to go at the begiining of each product e.g

Product
0123
01453
014547
023
0234

I have done this through the format option then custom 0#######

However looking at the display in the top to the right of the fx sign
the numbers don't have there zeros is it possible to make them keep
there zero's.

Chris


--
cj21
------------------------------------------------------------------------
cj21's Profile: http://www.excelforum.com/member.php...o&userid=25673
View this thread: http://www.excelforum.com/showthread...hreadid=527565

  #2   Report Post  
Posted to microsoft.public.excel.misc
Kevin B
 
Posts: n/a
Default Format Problem

Why don't you just format the column as a Text Format and enter in the zero
as part of the data entry. Formatting a number only changes the appearance
of the number, not its actual value.


--
Kevin Backmann


"cj21" wrote:


I have a list of products e.g

Product
123
1453
14547
23
234

I want a zero to go at the begiining of each product e.g

Product
0123
01453
014547
023
0234

I have done this through the format option then custom 0#######

However looking at the display in the top to the right of the fx sign
the numbers don't have there zeros is it possible to make them keep
there zero's.

Chris


--
cj21
------------------------------------------------------------------------
cj21's Profile: http://www.excelforum.com/member.php...o&userid=25673
View this thread: http://www.excelforum.com/showthread...hreadid=527565


  #3   Report Post  
Posted to microsoft.public.excel.misc
robert111
 
Posts: n/a
Default Format Problem


you could convert your numbers to text then concatenate a text zero onto
each of them....


--
robert111
------------------------------------------------------------------------
robert111's Profile: http://www.excelforum.com/member.php...o&userid=31996
View this thread: http://www.excelforum.com/showthread...hreadid=527565

  #4   Report Post  
Posted to microsoft.public.excel.misc
cj21
 
Posts: n/a
Default Format Problem


not really sure how to do this, could you send an example.

thanks for the help

chris


--
cj21
------------------------------------------------------------------------
cj21's Profile: http://www.excelforum.com/member.php...o&userid=25673
View this thread: http://www.excelforum.com/showthread...hreadid=527565

  #5   Report Post  
Posted to microsoft.public.excel.misc
cj21
 
Posts: n/a
Default Format Problem


Problem is guys in reality my dataset has over 10000 entries, inputting
will take to long

chris


--
cj21
------------------------------------------------------------------------
cj21's Profile: http://www.excelforum.com/member.php...o&userid=25673
View this thread: http://www.excelforum.com/showthread...hreadid=527565



  #6   Report Post  
Posted to microsoft.public.excel.misc
gjcase
 
Posts: n/a
Default Format Problem


Then Robert111's answer is your best bet; if your numbers are in column
A, ann a column with ="0"&A1 & copy it down to get what you are after.
You can then copy & Paste Special/values to put these back into column
A. Keep in mind these will be text, not numbers. If you want numbers,
then your current solution is your best bet, i.e., format the numbers to
look the way you want. After all, 0535=535, right?

---GJC


--
gjcase
------------------------------------------------------------------------
gjcase's Profile: http://www.excelforum.com/member.php...o&userid=26061
View this thread: http://www.excelforum.com/showthread...hreadid=527565

  #7   Report Post  
Posted to microsoft.public.excel.misc
cj21
 
Posts: n/a
Default Format Problem


Thanks guys this has been reallly usefull. Could you check out my other
problem about the zeros. Whenever i apply a formula to my data it works
for the products that begin with a zero and then for the others it does
not work for some reason.

chris


--
cj21
------------------------------------------------------------------------
cj21's Profile: http://www.excelforum.com/member.php...o&userid=25673
View this thread: http://www.excelforum.com/showthread...hreadid=527565

  #8   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld
 
Posts: n/a
Default Format Problem

On Wed, 29 Mar 2006 07:36:41 -0600, cj21
wrote:


I have a list of products e.g

Product
123
1453
14547
23
234

I want a zero to go at the begiining of each product e.g

Product
0123
01453
014547
023
0234

I have done this through the format option then custom 0#######

However looking at the display in the top to the right of the fx sign
the numbers don't have there zeros is it possible to make them keep
there zero's.


No, not if you want to store them as "numbers". In the display next to the Fx
sign is the actual contents of the cell. Formatting does not apply here.

You would have to convert them to TEXT in order to have that location appear
the way you describe.
--ron
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
Problem displaying recordsets in Excel Format David Alexander Excel Discussion (Misc queries) 2 February 27th 06 04:52 PM
Format cell problem Winnie Excel Discussion (Misc queries) 1 February 16th 06 11:40 AM
Date conditioning format problem [email protected] Excel Discussion (Misc queries) 1 November 1st 05 09:37 AM
date format problem Nigel Excel Discussion (Misc queries) 7 May 11th 05 12:57 PM
Problem with txt format Nuno Excel Discussion (Misc queries) 1 January 18th 05 04:11 PM


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