Sumif multi criteria and delete

vip2612

New Member
Joined
Aug 3, 2017
Messages
6
Hi,
My data are
A B C D E
1 Type Person Product Total Status
2 AB Peter A 700 1
3 AN Sam B 800 2
4 AB John J 700 3
5 SG Luck A 400 1
6 AN Jam B 500 2

i want when the which row have same A and C (Row 3 and 6) and the status is 2,it will sum D and delete row 6,status is keep row 3 ,it mean 1.
the data i wan when run marco is

A B C D
1 Type Person Product Total
2 AB Peter A 700
3 AN Sam B 1200
4 AB John J 700
5 SG Luck A 400
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,225,750
Messages
6,186,809
Members
453,374
Latest member
Descant40

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