ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   VLOOKUP using a tab name to reference the lookup range (https://www.excelbanter.com/excel-discussion-misc-queries/151283-vlookup-using-tab-name-reference-lookup-range.html)

timmulla

VLOOKUP using a tab name to reference the lookup range
 

--
Regards,

timmulla

bj

VLOOKUP using a tab name to reference the lookup range
 
I don't know what you are asking.
what do you want to do?

"timmulla" wrote:


--
Regards,

timmulla


Dave Peterson

VLOOKUP using a tab name to reference the lookup range
 
Maybe something like this...

With the worksheet name in A1 of the worksheet with the formula:

=vlookup(a2,"'" & $a$1 & "'!a:e",5,false)





timmulla wrote:

--
Regards,

timmulla


--

Dave Peterson

Dave Peterson

VLOOKUP using a tab name to reference the lookup range
 
Oops! I had a typo:

=vlookup(a2,indirect("'" & $a$1 & "'!a:e"),5,false)

timmulla wrote:

--
Regards,

timmulla


--

Dave Peterson


All times are GMT +1. The time now is 06:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com