![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Location: Aberdeen, Scotland, UK
Posts: 35
|
Is there a way within a Vlookup or Hlookup to reference the offset column/row to another cell. Therfore when the cell changes the lookup values change?
Thanks |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
|
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Feb 2002
Location: Aberdeen, Scotland, UK
Posts: 35
|
No. I have a Hlookup like this:
=HLOOKUP($a$1,MyDataRange,2,FALSE) Which looks up for value in A1, in the range "MyDataRange" and returns the value from offset row 2. I want the formula to look at some other cell to determine which offset row to look at. e.g. if in cell a30 i have the 2 changes to 4, the Hlookup would now look up offset row 4. |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Stringt: Your latest post is empty. Please try again. |
|
|
|
|
|
#5 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
=HLOOKUP($A$1,MyDataRange,A30,FALSE) where A30 houses a row number. Aladin |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|