Vlookup Help

JLouis

Active Member
Joined
Jan 1, 2004
Messages
295
Office Version
  1. 365
Platform
  1. Windows
I am trying to lookup a value in a separate workbook whose value contains a forward slash. The lookup value is "Total Disc / Coup" and the lookup doesn't work with the forward slash in it.

Here's formula:
=VLOOKUP("Total Disc / Coup",'C:\FH276 QB WEEKLY 2017\Royalty\[report.xls]sheet1'!$A$1:$N$50,14,FALSE)

Thanks for any assistance.
 
BTW, I went to my laptop and was able to do as you say across two workbooks without problem. I am exporting the sheet off the internet in xls format. Would that affect the behavior of the worksheet?

Perhaps, I don't know...

Does this help?

=VLOOKUP(SUBSTITUTE("Total Disc / Coup"," ",CHAR(180)),'C:\FH276 QB WEEKLY 2017\Royalty\[report.xls]sheet1'!$A$1:$N$50,14,FALSE)
 
Upvote 0

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Aladin, I really appreciate you spending time on this.

The formula returned a #N/A error code. I also took the file from the internet, Report.xls, and saved it as an xlsx file without success. The next thing I'm going to try is to move the exact files I'm using on my PC to the laptop and report the results. I'm using Excel 365 on both computers. I'm wondering if it's a setting or something.
 
Upvote 0
Found out there is another coup / disc entry on this spreadsheet and my formula was reading the wrong entry. Everything works. I apologize for not doing my due diligence before posting and will make sure I do in the future. I have accomplished a lot over the years using this site as a resource.

Thanks again.
 
Upvote 0
Found out there is another coup / disc entry on this spreadsheet and my formula was reading the wrong entry. Everything works. I apologize for not doing my due diligence before posting and will make sure I do in the future. I have accomplished a lot over the years using this site as a resource.

Thanks again.

No problem. Great that it's resolved. Thanks for the update.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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