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

Multiple Vlookup

i have also got same formula but if i add more column in C Grade in column D Qyt then how will get that data
 
This is my original file i have data in column A,B,C i want from other data is in column H i want Doc ref & page from main data
 

Attachments

Hi,

Refer attached file

Just coping the fomula to adjacent cell will not work since you have two different criterias.

You need to change the column number each time
 

Attachments

Hello Abhijeet,

Try something like this Array Formula in I4, then copy down & across. To remove error values use a conditional formatting with background font color.

=IF(COUNTIF($H$3:$H3,$H3)=1,INDEX($A:$B,SMALL(IF($C$3:$C$8=$H3,ROW($C$3:$C$8)),COUNTIF($I$2:I$2,I$2)),MATCH(I$2,$A$2:$B$2,0)),"")
 
...vlook up for multiple values and bring them adjacent to the vlookup value

Hello Sathish,

You could use VLOOKUP as Array Formula with help of IF to return multiple values

=VLOOKUP($A2,IF(ISNA(MATCH(Database1!$B$2:$B$7,$A2:A2,0)),Database1!$A$2:$B$7),2,0)
 
Back
Top