Use of "Custom" number

  • Thread starter Thread starter Julia Easter
  • Start date Start date
J

Julia Easter

Hi I have a column in Excel that needs to be converted as
follows, I think I can do this using "Format" - "Cells" -
"Custom Number" but am not sure what to type in so it
keeps the first character as text followed by 5 digits
(adding a zero to the end)

Account number:-

A4578
B6789
C6892
E8900

The account numbers need to become 6 digit (zero at the
end) but retain the starting letter

HELP!
Ta
Julia
 
Julia,

You can use a formula. If your Account numbers start in A1, then in B1, use
the formula

=LEFT(A1 & "00000",6)

Copy down to match, then copy and paste special values, and get rid of your
original data.

HTH,
Bernie
MS Excel MVP
 
Hi
if you have different characters at the beginning this is NOT possible
with a custom format. This would require VBA (an event procedure)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top