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

Lasantha

Member
Dear All,

Kindly look into the attached template. Is it possible to lookup only claims which comment equal to "AAA" to B column.

thank you.
 

Attachments

  • Temp.xlsx
    8.1 KB · Views: 8
is that that you want to put comment "AAA" in column B only against those claims (in column A) which have comment "AAA" under column K ?
 
In B2 and pull down =IF(INDEX($J$2:$K$9,MATCH("AAA",$K$2:$K$9,0),1)=$A2,"AAA","")
hi,

thanks for reply. this is perfectly working when one claims has comment "AAA", but there can be more "AAA" with other claims IDs as well. kindly look into the attached template.

Could you please give me another formula.

thanks for your time.
 

Attachments

  • Temp.xlsx
    9.4 KB · Views: 5
Why not look up the comment by claim number and then test
= IF( VLOOKUP(claim, Table1, 2) = "AAA", "AAA", "" )

[Note: I prefer XLOOKUP and output via dynamic array but that is specific to Excel 365]
 

Attachments

  • Temp (3).xlsx
    11.2 KB · Views: 3
Back
Top