ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   BackFill Zeros (https://www.excelbanter.com/excel-worksheet-functions/116889-backfill-zeros.html)

dallin

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.

Ron Coderre

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.



All times are GMT +1. The time now is 05:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com