Use Text as a VLOOKUP Table Array in Excel
Question details
Use a named range or worksheet reference stored in a cell as the table array for VLOOKUP.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A lookup formula needs to read its table reference from a text value in another cell.
- Observed behavior
- INDIRECT can resolve a valid text reference for VLOOKUP, although a dynamic named range may return a #REF! error and require further investigation.
Check that the lookup value appears in the first column of the intended table and that the table has at least four columns. Confirm that A1 contains the exact named range or a complete reference such as 'Sheet 1'!A1:D100.
Use INDIRECT to resolve the VLOOKUP table array
Use this formula when A1 contains a valid named range or worksheet reference as text.
In cell A1, enter a named range such as PriceTable or a worksheet range such as 'Sheet 1'!A1:D100.
Select the result cell and enter =VLOOKUP("Min Sell Price",INDIRECT(A1),4,FALSE).
Press Enter. Excel searches the first column of the resolved table and returns the matching value from its fourth column; FALSE requires an exact match.

Troubleshoot a named range that returns #REF!
Use these checks if INDIRECT cannot resolve the name, especially when the name refers to a dynamic range.
Use a Text-Based VLOOKUP Table in WPS Spreadsheet
In WPS Spreadsheet, combine VLOOKUP and INDIRECT to use a table reference stored as text. Check that the reference resolves before using it in your lookup.
- 1. Open your workbook: Open WPS Spreadsheet and use Open to select your Excel workbook.
- 2. Enter a reference: In A1, type a valid named range or a worksheet range such as 'Sheet 1'!A1:D100.
- 3. Add the formula: Select the result cell and enter =VLOOKUP("Min Sell Price",INDIRECT(A1),4,FALSE).
- 4. Verify and save: Press Enter and check the returned value. Use File > Save As to save the workbook in XLSX format if needed.

Frequently Asked Questions
What should I put in A1 for INDIRECT?
Enter a valid named range, such as PriceTable, or a complete worksheet range, such as 'Sheet 1'!A1:D100. INDIRECT reads that text as a reference.
Why does VLOOKUP return #N/A?
With FALSE as the last argument, VLOOKUP requires an exact match. Check that the lookup value exists in the first column of the resolved table and that its text or number type matches the source.
Why does INDIRECT return #REF! for my named range?
Check the name's spelling, scope, and Refers to formula under Formulas > Name Manager. Test =ROWS(INDIRECT(A1)) separately, and open the source workbook if the reference is external.
Can I use a dynamic named range directly instead?
Yes. If the name resolves directly but fails through INDIRECT, try a formula such as =VLOOKUP("Min Sell Price",PriceTable,4,FALSE), replacing PriceTable with your dynamic range name.




