Add leading zeros to IDs

Make every ID in column A six characters long, like 000123, and keep the zeros.

Changes data. A backup copy and an undo point are turned on.

What it does, step by step

  1. Pad A2:A1000 to 6 characters

Use it in MacroRoni: open the Starter gallery, search for "Add leading zeros to IDs", check the steps, and adjust the sheet and ranges to fit your workbook. Preview the result before you run it.

Get MacroRoni free

More text & ids macros