A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Thanks Katrina,
Came to this forum from an old link (www.microsoft.com/office/community/en-us/default.mspx) which then redirected me to here via https://answers.microsoft.com/en-us/msoffice. Apparently things have changed. Is there a description somewhere of what happened and what's what for future questions?
As far as this question, after some more web searching (including *"table_array element"*in the search helped, without that i kept getting answers about array formulas) and fiddling about, i came up with this solution that works.
For Group 7 = VLOOKUP(5,A2:OFFSET(A2,MATCH(10,A2:A30,0),0),2,0)
For Group 8 = VLOOKUP(5,A6:OFFSET(A6,MATCH(10,A6:A36,0),0),2,0)
The first table_array element (A2, A7) in both the VLOOKUP and MATCH functions and the 2nd in the Match function (A30, A36) is relative and changes automatically as you move down the sheet.
Interestingly, unless I am mistaken, in this configuration, even though, using group 8 as an example;
MATCH(10,A6:A36,0) resolves to 9 and so
OFFSET(A6,MATCH(10,A6:A36,0) or OFFSET(A6,9,0) resolves to 10
Thus the expected resulting VLOOKUP formula would be
VLOOKUP(5,A6:10,0),2,0)
which would result in an error, but it actually calculates using A16 instead of 10 or
VLOOKUP(5,A6:A16,0),2,0)
Somehow Excel knows that the intent in this context is for OFFSET to provide the resulting cell location and not the value in the resulting cell.