Vlookup exclude first character

rkr786

New Member
Joined
May 31, 2015
Messages
7
Hi all

i HAVE 2 SPREADSHEETS.

1 IS: EH_Cr main where in cell I16 I want a vlookup formula that checks if the barcode in E16 is present in the other spreadsheet EH_SRM1155501.202.CSV, column I. The only issue is, column I has an apostrophe in front of the numbers. How can I write a vlookup substitute formula to say exlcude the apostrophe/first character?

Thank you!

EH_SRM1155501.202.csv
A
5'20171605
EH_SRM1155501.202
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
SORRY Not sure what happened above here are images of both files.....
 

Attachments

  • EH_CR MAIN.png
    EH_CR MAIN.png
    53.5 KB · Views: 7
  • EH_SRM11.png
    EH_SRM11.png
    68.9 KB · Views: 7
Upvote 0
How can I write a vlookup substitute formula to say exlcude the apostrophe/first character?

How about instead, adding the apostrophe to the lookup value.

i.e. =VLOOKUP("'"&E16,...and the rest of your formula...)
 
Upvote 0
How about instead, adding the apostrophe to the lookup value.

i.e. =VLOOKUP("'"&E16,...and the rest of your formula...)
hI FormR I dont think that worked: =VLOOKUP("'"&[EH_SRM1155501.202.csv]SRM1155501.202!$I$16,E:E,1,FALSE)
 
Upvote 0
Shouldn't it be?

=VLOOKUP("'"&E16,[EH_SRM1155501.202.csv]SRM1155501.202!$I$I,1,FALSE)
 
Upvote 0
Solution

Forum statistics

Threads
1,214,520
Messages
6,120,013
Members
448,935
Latest member
ijat

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