• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Look up unique range

Hi,

Do you have any formula or method to look up unique range?
Please see attached file for my specific question.

Thank for quick reply,
Chanthan
 

Attachments

  • Vlook up.xlsx
    9.7 KB · Views: 10
Hi,

Nice one...

Just put the below in I4 and drag it down..to be acknowledged with CTRL + SHIFT + ENTER


INDEX($C$2:$C$33,MATCH(SMALL(IFERROR(1/(LOOKUP(ROW($A$2:$A$33),ROW($A$2:$A$33)/($A$2:$A$33<>""),$A$2:$A$33)=$G$2)*ROW($C$2:$C$33),""),ROW(A1)),ROW($C$2:$C$33),0))


Attached file for reference
 

Attachments

  • Vlook up_KIM.xlsx
    9.9 KB · Views: 9
Hi,

Nice one...

Just put the below in I4 and drag it down..to be acknowledged with CTRL + SHIFT + ENTER


INDEX($C$2:$C$33,MATCH(SMALL(IFERROR(1/(LOOKUP(ROW($A$2:$A$33),ROW($A$2:$A$33)/($A$2:$A$33<>""),$A$2:$A$33)=$G$2)*ROW($C$2:$C$33),""),ROW(A1)),ROW($C$2:$C$33),0))


Attached file for reference
I got it.

Thank again,
Chanthan
 
Good one @Asheesh

Here is another try.

First define two names

start =MATCH($G$2,$A$2:$A$33,0)
end =MATCH(1,INDEX($B$2:$B$33,start+1):$B$33,0)+start

Now select a bunch of cells starting I4 and type,
=INDEX($C$2:$C$33,start):INDEX($C$2:$C$33,end)

and press CTRL+Shift+Enter

You should see the results.

See attached file.
 

Attachments

  • Vlook up.xlsx
    10 KB · Views: 8
Good one @Asheesh

Here is another try.

First define two names

start =MATCH($G$2,$A$2:$A$33,0)
end =MATCH(1,INDEX($B$2:$B$33,start+1):$B$33,0)+start

Now select a bunch of cells starting I4 and type,
=INDEX($C$2:$C$33,start):INDEX($C$2:$C$33,end)

and press CTRL+Shift+Enter

You should see the results.

See attached file.
But I don't know why I cannot edit on column I and the formula does not work in other cell. Also, I cannot drag it down too.

Thank
 
But I don't know why I cannot edit on column I and the formula does not work in other cell. Also, I cannot drag it down too.

Thank


You haven't understood the @r1c1 replay thus same issue faced. It is a multi cell array formula so you can't simply drag/edit/delete the same.
 
Back
Top