VLOOKUP with table array/sheet wildcards

MarginalDPS

New Member
Joined
Aug 10, 2016
Messages
3
Hello all,

I'm certain this is out there somewhere, but I've done a lot of searching and can't seem to find a solution for this VLOOKUP question. Although, there's also a strong possibility that I'm misunderstanding the available information...

I'm trying to do a VLOOKUP using a specific lookup value on one sheet, and I need for it to search a range of cells in another sheet that doesn't always have the same name.

=VLOOKUP(A2,"*"&ExportedData_&"*"!A:E,5,FALSE)

I imagine (hope) there is a painfully simple answer.

Thank you!
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Try:
Code:
=VLOOKUP("*"&A2&"*",ExportedData_!A:E,5,FALSE)
 
Upvote 0
Try:
Code:
=VLOOKUP("*"&A2&"*",ExportedData_!A:E,5,FALSE)

Thank you so much for the suggestion, AhoyNC! Unfortunately it's a no go. The ExportedData tab name is always followed by a random set of numbers (Ex: ExportedData_233422, ExportedData_9457827, ExportedData_2973334, etc.). So I think it needs to account for that inconsistency.
 
Upvote 0
You could have the lookup value in A1 and the sheet name in B1 using this:

=VLOOKUP(A1,INDIRECT("'"&B1&"'!A:E"),5,0)
 
Upvote 0

Forum statistics

Threads
1,215,558
Messages
6,125,507
Members
449,236
Latest member
Afua

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