HLOOKUP - Relative cell reference in row index number



Hi. I'm using an HLOOKUP where the row index number is a formula which refers
to a cell in the same row as the lookup function. This is then applied to the
whole column. It seems that, whether or not I use $, the cell references in
the formula are absolute which means that when I sort the worksheet by
another column the HLOOKUP uses the wrong cell reference. Is there any way
around this?

The whole lookup function is the following:

so the formula for the row index number is

Thanks in advance for any help you can give!

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question