I know of formulas like XLOOKUP, VLOOKUP and INDEX-MATCH but I've always only used these for retrieving values based on one specific row and one specific column.
What if I want to retrieve a value based on multiple rows/columns though?
Take this simple scenario for example:
There are these five black rows containing codewords and below each black row are white rows of numbers.
However, the codeword I want to search for (eg. A3) may lie in any of these five rows.
How can I write a formula to search as such?
I was thinking of doing something like a nested XLOOKUP, but then it'd be super long. And if possible, I'm hoping for the formula to be dynamic based on the month.
So if I'm searching for the value of criteria code H1 in April, the formula will search for H1 in the row 10, and the two immediate rows below and above (row 7 & row 13)
Is there a simper way to do this?
What if I want to retrieve a value based on multiple rows/columns though?
Take this simple scenario for example:
There are these five black rows containing codewords and below each black row are white rows of numbers.
However, the codeword I want to search for (eg. A3) may lie in any of these five rows.
How can I write a formula to search as such?
I was thinking of doing something like a nested XLOOKUP, but then it'd be super long. And if possible, I'm hoping for the formula to be dynamic based on the month.
So if I'm searching for the value of criteria code H1 in April, the formula will search for H1 in the row 10, and the two immediate rows below and above (row 7 & row 13)
Is there a simper way to do this?