SUM with multiple match

Ahmed Fawad

Board Regular
Joined
Mar 1, 2011
Messages
63
Office Version
  1. 2016
Platform
  1. Windows
DateHeadSubHeadDescriptionAmount
01-NovSecurityPaid to Mr. X10,000.00
04-NovSalaryOctKhalid15,000.00
05-NovSecurityUtilityElectricity Bill189,141.00
05-NovSecurityDemand Note Electricity4,000.00
05-NovStorePeel Skin (10280 KG)97,670.00
06-NovSecurityLineman Transformer1,500.00
17-NovMisc.Ex Supervisor3,000.00
19-NovSecurityBrooder50,000.00
21-NovSalaryOctDilshad Supervisor5,000.00
21-NovStoreFeed 200 bags600,000.00
22-NovStoreScrew Drivers2800.00


I need to calculate the total amount paid in Salary's head from the above table by names in the description.
i.e.

NameDesignationSalary
Dilshad SupervisorSupervisor5000
KhalidWatchman15000



TIA
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Excel Formula:
=SUMIFS(F2:F12,D2:D12,A16,B2:B12,"Salary")
 
Upvote 0
How about
+Fluff v2.xlsm
ABCDEFGHIJK
1DateHeadSubHeadDescriptionAmountNameDesignationSalary
201-NovSecurityPaid to Mr. X10,000.00Dilshad SupervisorSupervisor5000
304-NovSalaryOctKhalid15,000.00KhalidWatchman15000
405-NovSecurityUtilityElectricity Bill189,141.00
505-NovSecurityDemand Note Electricity4,000.00
605-NovStorePeel Skin (10280 KG)97,670.00
706-NovSecurityLineman Transformer1,500.00
817-NovMisc.Ex Supervisor3,000.00
919-NovSecurityBrooder50,000.00
1021-NovSalaryOctDilshad Supervisor5,000.00
1121-NovStoreFeed 200 bags600,000.00
1222-NovStoreScrew Drivers2800
13
14
Master
Cell Formulas
RangeFormula
K2:K3K2=SUMIFS(F:F,B:B,K$1,D:D,I2)
 
Upvote 0
Solution

Forum statistics

Threads
1,215,727
Messages
6,126,512
Members
449,316
Latest member
sravya

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