ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Refer to a named range indirectly (https://www.excelbanter.com/excel-worksheet-functions/230643-refer-named-range-indirectly.html)

tberkom

Refer to a named range indirectly
 
I'm looking to refer to a named range in a VLOOKUP formula that gets its
value from another cell. In other words, the cell contains a text value that
matches a named range in the workbook and I would like to capture that named
range in a VLOOKUP formula by reference to the cell that contains the named
range value. Hope that is clear enough...

Ashish Mathur[_2_]

Refer to a named range indirectly
 
Hi,

Nestle the named range in the indirect() function I.e.
=vlookup(look_value,indirect(name),col_index,0)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"tberkom" wrote in message
...
I'm looking to refer to a named range in a VLOOKUP formula that gets its
value from another cell. In other words, the cell contains a text value
that
matches a named range in the workbook and I would like to capture that
named
range in a VLOOKUP formula by reference to the cell that contains the
named
range value. Hope that is clear enough...




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

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