Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Is there any formula which can give cell address of occurence of a
vlookup formula. Thxs |
#2
![]() |
|||
|
|||
![]()
wrote...
Is there any formula which can give cell address of occurence of a vlookup formula. If VLOOKUP(x,Range,n) evaluates to a cell in Range, then CELL("Address",INDEX(Range,MATCH(x,INDEX(Range,0,1 )),n)) gives its address. |
#3
![]() |
|||
|
|||
![]() q 2.00 y 2.00 q 2.00 x 1.00 q 3.00 r 3.00 s 3.00 t 3.00 u 3.00 v 3.00 Range = A1:B10 y 2.00 ok address $B$10 - wrong address with proposed formula Harlan, Thxs a lot for your reply - but I'm getting a incorrect address (should have been B2) Could you pls help Harlan Grove wrote: wrote... Is there any formula which can give cell address of occurence of a vlookup formula. If VLOOKUP(x,Range,n) evaluates to a cell in Range, then CELL("Address",INDEX(Range,MATCH(x,INDEX(Range,0,1 )),n)) gives its address. |
#4
![]() |
|||
|
|||
![]()
Thxs a lot Ron!
But can you pls explain to me step by step the reasoning behind the formula as I'm not used to complex formula with index & match. Hope to hear from u again Ron Rosenfeld wrote: On 25 Oct 2005 02:49:29 -0700, wrote: q 2.00 y 2.00 q 2.00 x 1.00 q 3.00 r 3.00 s 3.00 t 3.00 u 3.00 v 3.00 Range = A1:B10 y 2.00 ok address $B$10 - wrong address with proposed formula Harlan, Thxs a lot for your reply - but I'm getting a incorrect address (should have been B2) Could you pls help The MATCH portion of Harlan's formula assumes that Column 1 of Range is sorted in ascending order. Since yours obviously is not sorted that way, his formula should have read: CELL("Address",INDEX(Range,MATCH(x,INDEX(Range,0,1 ),0),n)) or, in your instance: =CELL("Address",INDEX($A$1:$B$10,MATCH("y",INDEX($ A$1:$B$10,0,1),0),2)) --ron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need Vlookup to work with formula in reference cell | Excel Discussion (Misc queries) | |||
adding a formula in a cell but when cell = 0 cell is blank | Excel Worksheet Functions | |||
How do I obtain the address of a cell using the vlookup function? | Excel Worksheet Functions | |||
numbers being entered show in formula bar but not in cell? | Excel Discussion (Misc queries) | |||
How can I write an if-then formula for 0 or less than 0 in cell t. | Excel Worksheet Functions |