Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm trying to get the cell address, not the contents, of a cell referenced
using VLOOKUP. I've tried '=CELL("address", VLOOKUP(5,Table,2,false)', but I'm getting a formula error. EXCEL 2003. Thanks. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way:
=CELL("address",OFFSET(Table,MATCH(5,OFFSET(Table, ,,,1),FALSE)-1,1)) If you define Table to just be the first column of your table: =CELL("address",OFFSET(Table,MATCH(5,Table,FALSE)-1,1)) VLOOKUP returns a value, not a range reference. In article , "tfleischny" wrote: I'm trying to get the cell address, not the contents, of a cell referenced using VLOOKUP. I've tried '=CELL("address", VLOOKUP(5,Table,2,false)', but I'm getting a formula error. EXCEL 2003. Thanks. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Another way
=CELL("address",INDEX(Table,MATCH(7.5,INDEX(Table, ,1),0),2)) -- Regards, Peo Sjoblom "JE McGimpsey" wrote in message ... One way: =CELL("address",OFFSET(Table,MATCH(5,OFFSET(Table, ,,,1),FALSE)-1,1)) If you define Table to just be the first column of your table: =CELL("address",OFFSET(Table,MATCH(5,Table,FALSE)-1,1)) VLOOKUP returns a value, not a range reference. In article , "tfleischny" wrote: I'm trying to get the cell address, not the contents, of a cell referenced using VLOOKUP. I've tried '=CELL("address", VLOOKUP(5,Table,2,false)', but I'm getting a formula error. EXCEL 2003. Thanks. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Oops! 7.5 should of course be 5
-- Regards, Peo Sjoblom "Peo Sjoblom" wrote in message ... Another way =CELL("address",INDEX(Table,MATCH(7.5,INDEX(Table, ,1),0),2)) -- Regards, Peo Sjoblom "JE McGimpsey" wrote in message ... One way: =CELL("address",OFFSET(Table,MATCH(5,OFFSET(Table, ,,,1),FALSE)-1,1)) If you define Table to just be the first column of your table: =CELL("address",OFFSET(Table,MATCH(5,Table,FALSE)-1,1)) VLOOKUP returns a value, not a range reference. In article , "tfleischny" wrote: I'm trying to get the cell address, not the contents, of a cell referenced using VLOOKUP. I've tried '=CELL("address", VLOOKUP(5,Table,2,false)', but I'm getting a formula error. EXCEL 2003. Thanks. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In article ,
"Peo Sjoblom" wrote: Another way =CELL("address",INDEX(Table,MATCH(7.5,INDEX(Table, ,1),0),2)) Well, OK, if you want to be *efficient* about it...<g Had OFFSET stuck in my head, obviously...Thanks for the correction! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I format a cell reference to move as source changes | Excel Worksheet Functions | |||
Using a cell reference of a sheet in Vlookup | Excel Worksheet Functions | |||
Possible Lookup Table | Excel Worksheet Functions | |||
How do I find the contents of a cell using the "ADDRESS" function. | Excel Worksheet Functions | |||
name of another worksheet in cell for reference | Excel Worksheet Functions |