compare and copy just unmatched values with subtraction

Alaa mg

Active Member
Joined
May 29, 2021
Messages
378
Office Version
  1. 2019
I have sheet1 contains items for column B and sheet2 contains items from column B: D if the values for sheet2 in columns E,F are not the same thing or one of them is wrong with comparison columns C,D for sheet1 then should copy and put next to similar cell also subtract column K from l and show in column M after subtract column C FROM k and D from I and if the same things in values then should show hyphen . also if there is new item in sheet1 but is not existed in sheet2 then should highlight by red in column B for sheet1 .
the result from column G:M in sheet1.
(6).xlsx
ABCDEFGHIJKLM
1ITEMIDMONTH1MONTH2ITEMIDTTRMTRMONTH1MONTH2BALANCE
21MT ASGL-VEN SD-112101------
32C-ZER MN/100 TR1213002------
43BB 2000MN TT GH9003------
54TRM 2000MN TT GH0164------
65BD 234 NH GG80905BD234 NHGG220-18
76BR 111/33M ER HJ70906BR111/33MR HJ410-6
88VB 145** SS TF HJK0457------
99DEWR 1222** SS TF HJK34308DEWR1222**SS TF HJK05-5
1011DAS 1223** SS TF HJK036
sheet1
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,224,785
Messages
6,180,945
Members
453,007
Latest member
anaysha1

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