• 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.

Lookup unique value in Table

Umair316

New Member
I am stuck with an excel problem, I’ve got a table with unique values, no repeated values.
What I want is when I lookup for any value of this table I will get the left most value of the table.
I’ve already tried vlookup, Index-match and offset, but nothing worked.
Please see attached example file and see if anyone can crack any code that will help me.
 

Attachments

  • Problem case.xlsx
    8.4 KB · Views: 13
Umair316

Firstly, Welcome to the Chandoo.org Forums

Assuming your lookup value is in H2:
You can use: =INDEX(C6:C13,MIN(IF($D$6:$G$13=H$2,ROW($D$6:$G$13)-ROW($D$6)+1))) Ctrl+Shift+Enter
 
Back
Top