If number in cell does not equal 6 digits, add zeros to the left

K

kza40381

I have 3 tables in Excel that I would like to join in Access by using a
numeric field. Unfortunately, in one table, the number reflected always has
6 digits. They ensure this by putting zeros to the left, i.e.,

Subject #
000001
000050
000128

The other two tables, which use the same subject # field, do not include the
zeros. Can someone help me with a formula that either deletes these zeros or
add zeros to the other tables?

Thank you!!
 
K

kza40381

Hi Dennis! Thank you so much for this. I actually kept searching and found
this buried under another subject heading, however, when I went immediately
back to my question, I couldn't find it. Thank you for taking the time. I
love this site..it helps me so much.
 

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

Top