ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Creating cell references with variable values to use in Vlookup (https://www.excelbanter.com/excel-discussion-misc-queries/60335-creating-cell-references-variable-values-use-vlookup.html)

jackebro

Creating cell references with variable values to use in Vlookup
 

I would like to create cell references within a Vlookup statements using
variable data within a cell to access a coresponding worksheet within
the same work book eg worksheets would be Monday Tuesday Wednesday and
the worksheet that would be calling the data would have a column with
the same values


--
jackebro
------------------------------------------------------------------------
jackebro's Profile: http://www.excelforum.com/member.php...o&userid=29628
View this thread: http://www.excelforum.com/showthread...hreadid=493383


Peo Sjoblom

Creating cell references with variable values to use in Vlookup
 
With worksheet name in D1

=VLOOKUP(A1,INDIRECT("'"&D1&"'!A1:B50"),2,0)

adapt to fit accordingly


--

Regards,

Peo Sjoblom

"jackebro" wrote in
message ...

I would like to create cell references within a Vlookup statements using
variable data within a cell to access a coresponding worksheet within
the same work book eg worksheets would be Monday Tuesday Wednesday and
the worksheet that would be calling the data would have a column with
the same values


--
jackebro
------------------------------------------------------------------------
jackebro's Profile:

http://www.excelforum.com/member.php...o&userid=29628
View this thread: http://www.excelforum.com/showthread...hreadid=493383




jackebro

Creating cell references with variable values to use in Vlookup
 

thanks Peo Sjoblom works perfectly


--
jackebro
------------------------------------------------------------------------
jackebro's Profile: http://www.excelforum.com/member.php...o&userid=29628
View this thread: http://www.excelforum.com/showthread...hreadid=493383



All times are GMT +1. The time now is 04:40 AM.

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