Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am using the HLOOKUP function to find a value in a table.
I also need to confirm the cell reference. I have tried nesting my HLOOKUP within the OFFSET function, but HLOOKUPs return variables rather than references. Here's my (unsuccessful) formula: =OFFSET(HLOOKUP($A$1,$A$4:$H$13,4,0),0,1) How can I make a 'lookup' return a cell reference? Thanks! Warren |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
p.e. =OFFSET($A$4,1,MATCH($A$1,$A$4:$H$4,0)-1) reads column heading value from cell A1, looks for this header in row 4, and for it's position, and returns according value from row 5. -- Arvi Laanemets ( My real mail address: arvi.laanemets<attarkon.ee ) "warrenb" wrote in message ... I am using the HLOOKUP function to find a value in a table. I also need to confirm the cell reference. I have tried nesting my HLOOKUP within the OFFSET function, but HLOOKUPs return variables rather than references. Here's my (unsuccessful) formula: =OFFSET(HLOOKUP($A$1,$A$4:$H$13,4,0),0,1) How can I make a 'lookup' return a cell reference? Thanks! Warren |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() =INDEX($A$7:$H$7,MATCH(A1,$A$4:$H$4,0)) =CELL("Address",INDEX($A$7:$H$7,MATCH(A1,$A$4:$H$4 ,0))) The first formula is equivalent to the HLOOKUP formula that you have. warrenb wrote: I am using the HLOOKUP function to find a value in a table. I also need to confirm the cell reference. I have tried nesting my HLOOKUP within the OFFSET function, but HLOOKUPs return variables rather than references. Here's my (unsuccessful) formula: =OFFSET(HLOOKUP($A$1,$A$4:$H$13,4,0),0,1) How can I make a 'lookup' return a cell reference? Thanks! Warren |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Avri; just what I was looking for!
"Arvi Laanemets" wrote: Hi p.e. =OFFSET($A$4,1,MATCH($A$1,$A$4:$H$4,0)-1) reads column heading value from cell A1, looks for this header in row 4, and for it's position, and returns according value from row 5. -- Arvi Laanemets ( My real mail address: arvi.laanemets<attarkon.ee ) "warrenb" wrote in message ... I am using the HLOOKUP function to find a value in a table. I also need to confirm the cell reference. I have tried nesting my HLOOKUP within the OFFSET function, but HLOOKUPs return variables rather than references. Here's my (unsuccessful) formula: =OFFSET(HLOOKUP($A$1,$A$4:$H$13,4,0),0,1) How can I make a 'lookup' return a cell reference? Thanks! Warren |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Aladin - This is excellent stuff which I will use lots and lots and
lots...! :o) "Aladin Akyurek" wrote: =INDEX($A$7:$H$7,MATCH(A1,$A$4:$H$4,0)) =CELL("Address",INDEX($A$7:$H$7,MATCH(A1,$A$4:$H$4 ,0))) The first formula is equivalent to the HLOOKUP formula that you have. warrenb wrote: I am using the HLOOKUP function to find a value in a table. I also need to confirm the cell reference. I have tried nesting my HLOOKUP within the OFFSET function, but HLOOKUPs return variables rather than references. Here's my (unsuccessful) formula: =OFFSET(HLOOKUP($A$1,$A$4:$H$13,4,0),0,1) How can I make a 'lookup' return a cell reference? Thanks! Warren |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to include a cell reference that is contained in a cell withi. | Excel Worksheet Functions | |||
How do I leave formula cell blank if 2nd reference cell is empty? | Excel Discussion (Misc queries) | |||
copied formula has correct cell reference, but result of original | Excel Worksheet Functions | |||
Possible Lookup Table | Excel Worksheet Functions | |||
Flexible Cell Reference | Excel Discussion (Misc queries) |