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

VLOOKUP AND INDEX

Paulo Delgado

New Member
Hello Everyone!

Hope you are all well!

Can someone help me with the file attached and explain me why the function that i have made doesn't work properly??

Thanks in advace.
Paulo
 

Attachments

  • testes.xlsx
    9.4 KB · Views: 10
Hello!

Sorry, my mistake!

I would like to search numbers in those 4 different tables and when i select the 3 drop down menu with different options it should return a number that correspond in the tables.

I'm not sure if i was clear.

Thank you
Paulo
 
Change your formula :

From this >>

=INDEX((B4:D5,G4:I5,B9:D10,G9:I10),VLOOKUP(C12,N2:O3,2),VLOOKUP(D12,L7:M9,2),VLOOKUP(B12,L2:M5,2))

Into this >>

=INDEX((B4:D5,G4:I5,B9:D10,G9:I10),VLOOKUP(C12,N2:O3,2,0),VLOOKUP(D12,L7:M9,2,0),VLOOKUP(B12,L2:M5,2,0))

or,

=INDEX((B4:D5,G4:I5,B9:D10,G9:I10),MATCH(C12,N2:N3,0),MATCH(D12,L7:L9,0),MATCH(B12,L2:L5,0))

Regards
 
Last edited:
Change your formula :

From this >>

=INDEX((B4:D5,G4:I5,B9:D10,G9:I10),VLOOKUP(C12,N2:O3,2),VLOOKUP(D12,L7:M9,2),VLOOKUP(B12,L2:M5,2))

Into this >>

=INDEX((B4:D5,G4:I5,B9:D10,G9:I10),VLOOKUP(C12,N2:O3,2,0),VLOOKUP(D12,L7:M9,2,0),VLOOKUP(B12,L2:M5,2,0))

or,

=INDEX((B4:D5,G4:I5,B9:D10,G9:I10),MATCH(C12,N2:N3,0),MATCH(D12,L7:L9,0),MATCH(B12,L2:L5,0))

Regards
Hello Bosco!

Perfect!

Now works correctly!

Thank you very much!

Best regards,
 
Back
Top