Ask Your Question
1

Can you define a lookup array in Excel by utilizing a value from a specific cell?

asked 2023-06-20 02:35:08 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-06-20 02:49:01 +0000

david gravatar image

Yes, you can define a lookup array in Excel by utilizing a value from a specific cell using the INDIRECT function.

For example, let's say you have two worksheets in your Excel workbook: Sheet1 and Sheet2. In Sheet1, you have a cell (A1) that contains the text "Sheet2!A1". In Sheet2, you have a table that you want to lookup a value from using the value in cell A1 of Sheet1.

You can define your lookup array in Sheet2 as follows:

=VLOOKUP(INDIRECT(Sheet1!A1),TableArray,ColumnNumber,Range_Lookup)

The INDIRECT function will take the value in cell A1 of Sheet1 ("Sheet2!A1") and convert it into a reference to cell A1 in Sheet2. The VLOOKUP function will then use this reference as the lookup value in your table.

Note that you will need to adjust the TableArray, ColumnNumber, and Range_Lookup arguments of your VLOOKUP function to match your specific needs.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-20 02:35:08 +0000

Seen: 10 times

Last updated: Jun 20 '23