Compare two values in two sheets and find in multiple colummns

FRANGZC

New Member
Joined
Apr 8, 2022
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Lets say that i want to compare two values (C3) in two sheets {Main and secondary}, with the condition to find the same Site (Column A3) and Same Part number (B3) in the Second sheet . Additionally if the results is the exact same would like to set as "Match" if not I need the difference between of these two values Main C3:Second (C3)
 

Attachments

  • MAIN SHEET.PNG
    MAIN SHEET.PNG
    4.7 KB · Views: 5
  • SECOND SHEET.PNG
    SECOND SHEET.PNG
    4.2 KB · Views: 5

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi,

Something like this.
Add Sheet name, change/adjust cell range/references accordingly:

Book3.xlsx
ABCDEFGH
1SECONDMAIN
2VALUE
3001AX14001AX14Match
4001CZ16001BY15-5
5001BY10001CZ151
Sheet1088
Cell Formulas
RangeFormula
H3:H5H3=IF(COUNTIFS(A$3:A$5,E3,B$3:B$5,F3,C$3:C$5,G3),"Match",SUMIFS(C$3:C$5,A$3:A$5,E3,B$3:B$5,F3)-G3)
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,072
Latest member
DW Draft

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top