#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default BackFill Zeros

I have data that looks like this 123 but I need it to be back filled with
zeros so it looks like this 00123. I there a function that does that in a
formula? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default BackFill Zeros

Try this:

With
A1: (a numeric value)

You can either....

Use a custom number format:
Select A1
From the Excel main menu:
<format<cells<number tab
Category: custom
Type: 00000
click the [OK] button

OR
Use this formula...
B1: =TEXT(A1,"00000")

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"dallin" wrote:

I have data that looks like this 123 but I need it to be back filled with
zeros so it looks like this 00123. I there a function that does that in a
formula? Thanks.

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
Macro Help replacing dropped zeros [email protected] Excel Discussion (Misc queries) 5 September 2nd 06 06:08 PM
Keep Lead Zeros Laury Excel Discussion (Misc queries) 6 April 13th 06 04:28 PM
Spliting a number with leading zeros haitch2 Excel Discussion (Misc queries) 7 September 30th 05 12:09 AM
Creating formulas that allow the solutions to start with zeros. mevans Excel Discussion (Misc queries) 2 July 20th 05 05:00 PM
How do I force leading zeros in an Excel cell? EricKei Excel Discussion (Misc queries) 2 June 15th 05 08:28 PM


All times are GMT +1. The time now is 06:14 AM.

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"