HELP! get rid of the 0!

nathan663

Board Regular
Joined
Dec 3, 2008
Messages
153
I have a problem, i have two lists. One list is a list of numbers (all of which are 6 digits) the second list contains 7 digit numbers (all of these numbers start with 0) I am trying to do a vlookup but with this 0, i will not find anything, how can i make a new list from the 7 digit numbers but without the first digit in each number (ie get rid of the 0.)

Please note i some numbers may be 0000234. I only want to get rid of the first 0.

Regards

Nathan Gallichan
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Use this formula =MID(B3,FIND("0",B3,1)+1,15) .........where consideringyour data in b3.........here 15 is max digits.......you may change as per requirement
 
Upvote 0
Hi Nathan663,

If this is straighforward vlookup (always looking up 6 digits) then use the following:

=VLOOKUP(RIGHT(A1,6),Sheet2!$A:$B,2,0)
 
Upvote 0

Forum statistics

Threads
1,203,171
Messages
6,053,878
Members
444,692
Latest member
Queendom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top