how to match the list data from different excel sheets

Occasional Contributor

Hi, I am new to excel and I looked everywhere for the following Q&A but I couldn't find any, unless I missed smh.

I have list data and I want to place a result for certain matchFig.1Fig.1

 Fig.1 data is extracted from Fig.2 and removed duplicates. I added column, C a result that should show. So that I can use this data in fig.1. This will help me if the data is huge.  Can anyone help me out pls. Any formula or functions or any sort to help me will be great. Thanks 



7 Replies


Why not upload a sample Excel file instead of image as images are difficult to work with?

@Subodh_Tiwari_sktneer Hi thank you for response. I have uploaded the file. It would be great if there's anyway to work using formulae or any insight for future, when I am working with thousands of rows. As that will help me a lot for future reference.  

best response confirmed by Krishck (Occasional Contributor)

Hi @Krishck


If you want to get the result value from the table sheet into the Sales Orders sheet then if you have XLOOKUP you can type this into cell D2 of the Sales Order Sheet


=XLOOKUP(B2&C2, table!$A$2:$A$12 & table!$B$2:$B$12, table!$C$2:$C$12)

My other tip would be turn the table of lookup values on the table sheet into a proper Table by clicking in the data and pressing Ctrl t before you then add the formula

Suggested solution attached


XLOOKUP is not backwards compatible with older versions of Excel



If you don't have XLOOKUP then here's the solution using INDEX MATCH



Thank you this has solved my problem. If I have two worksheets in same workbook, and I am comparing sales orders from previous quarter and see how many new orders are available. Can I still use XLOOKUP or VLOOKUP for that data? Due to work rules, I am unable to post the actual worksheets.

Maybe, or maybe a COUNTIFS. I'd suggest posting a new thread. I'm signing off for today