Home > database >  Excel formula where if Sheet1 Column A equal Sheet2 Column A AND Sheet1 Column B equals Sheet2 Colum
Excel formula where if Sheet1 Column A equal Sheet2 Column A AND Sheet1 Column B equals Sheet2 Colum

Time:06-30

What I want is if Location and Case Number line up on Sheet1 and Sheet2, add in the Attorney information from Sheet2 to Sheet1. Here's a sample of the kind of data I'm dealing with:

enter image description here

CodePudding user response:

Thanks to u/findwindow, this is solved!

=INDEX(Sheet2!F:F,MATCH(A2&B2,Sheet2!A:A&Sheet2!B:B,0))

In my case, Sheet2 is called Attorneys, and I have headers so I skipped all of row 1.

  • Related