Share via

INDIRECT with Index Match

Anonymous
2018-03-12T01:53:42+00:00

Hello,

Previously I have used INDIRECT HLOOKUP. However, in this task it is looking up the value in the row above. Therefore I am trying to use the INDEX/MATCH.

This works when testing on the same worksheet.

=INDEX(A$2:Z$2,MATCH(D3,A3:Z3,0))

I now need to combine that with  INDIRECT to search a different worksheet.

=INDIRECT("'"&E$5&"'!$W$2")

I am having difficulty combining these formula.

Refer to cell E5 in the current sheet to find the worksheet name, then INDEX/MATCH the lookup value D3 (in the current sheet) to Match A3:Z3 and return the value in the cell above from the INDIRECT sheet.

Formula will sit in Sheet10.

Sheet10 extracts tsheet_names into cell E5.

Sheet10 has lookup value (petty cash) in cell D3.

Indirectly lookup the worksheet and return the result in the corresponding cell in row 2.

Thank you for any advice.

Andy

(room usage cash sales)

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

0 additional answers

Sort by: Most helpful