Excel Offset with match / Address / Cell

Anonymous
2023-11-06T17:20:50+00:00

Hi,
if I want to use offset but do not know the row / column number how can I retrieve the

cell reference for my starting point in offiset,

I have tried the following ;

CELL("address",INDEX($A$1:$A$13,MATCH(E3,$A$1:$A$13,0),1) ) = $A$4

But when I use this in offset I get an error, so I'm doing something wrong or I have to try a different approach .

Richard

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2023-11-06T20:32:47+00:00

    Hi Richard

    Could you please, give us more details of your scenario, and what you want to achieve?

    What's the formula for?

    Regards

    Jeovany

    0 comments No comments
  2. Anonymous
    2023-11-06T21:13:07+00:00

    After some thoughts

    The CELL() function returns a cell address as a Text value, hence the error. To convert it to a reference we need to wrap it with the INDIRECT() function.

    Following the details in your picture, here is a working formula

    =OFFSET(INDIRECT(CELL("address",INDEX($A$1:$A$13,MATCH(D1,$A$1:$A$13,0),1))),1,1,1,1)

    Image

    Note:

    If your goal is to return the value one row below, one column next to the matching criteria (cell B5 in the picture above) then you might consider NOT using volatile functions like OFFSET(), CELL(), and INDIRECT()

    Here is an alternative formula for equal result =INDEX($B$1:$B$13,MATCH(D1,$A$1:$A$13,0)+1)

    Image

    I hope this helps you and gives a solution to your problem

    Do let me know if you need more help

    Regards

    Jeovany

    1 person found this answer helpful.
    0 comments No comments