LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Michele
 
Posts: n/a
Default Preceding a number by zeros, that is still a number

I get send spreadsheets with supplier numbers on them, i.e. 256. i wish to
change these to 0000256, as all our account numbers contain 7 digits.
I know i can do this by either putting a ' before the number or changing the
cell to text, however i wish to change all numbers in a click.
I discovered i could do this by using the format cell custom function. This
indeed changes all my supplier codes to a 7 digit number. However this number
i.e. 0000256 is displayed as 256 in the formula bar, which does not help me
as i need to use these supplier number against other sheets using vlookup. as
it is not seen as a number, or seen as the number 256, vlookup does not
recognise it as 0000256 but as 256 so i cannot use the function.
Please help
 
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
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
How do I get the zeros to show up in the beginning of a number? cmreisner Excel Discussion (Misc queries) 6 September 15th 05 12:59 PM
Number of labels on X-axis one more than number of values on Y-axi Gudrun Charts and Charting in Excel 5 August 26th 05 01:55 PM
Maximum number of rows? Allan Bach Excel Discussion (Misc queries) 5 April 14th 05 12:37 PM
duplicate number Daniell Excel Discussion (Misc queries) 1 March 16th 05 07:02 PM


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