Originally Posted by
NBVC
See attached...
If I understood you correctly, formula in J1 would be:
=INDEX($A$1:$G$12,MATCH(H1,XYZ,0),$I$1)
and formula in K1 would be:
=INDEX($A$1:$G$12,MATCH(H1,XYZ,0),$I$1+1)
these will extract the numbers in the row that the input in H1 is found in and at the column number indicated by I1 and the column next to that...
Also, I added a data validation to I1 that would force users to enter an even number only... as I think this makes sense.. you don't want them to enter 1, 3, 5, 7, etc in I1, do you? To see the validation test, select I1 and go to Data|Validation.
Bookmarks