Formula Help Please

Chris McNAmee

New Member
Joined
Jan 30, 2019
Messages
7
Hi,
Hoping someone can help me with formula. I need to total pay components in one column be cost centre but the totals need to appear in a different worksheet I only want to pick up certain pay components though eg salary, Overtime etc Thinking I need an Index Match and Sumif or Sum product? any help would be appreciated.
Thanks,
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hi,

SUMIFS is usually the best for sum with criteria, have you got some sample data you could post?
 
Upvote 0
I have some sample data but i'm unable to post the image or attached anything

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody></tbody>
 
Upvote 0
Sheet 1
ABCDEFGH
Cost CentreCost Centre DescriptionDivision DescriptionML4 DescriptionSalaryOvertime & Penalties
HoursAmountHoursAmount
0000CorporateOtherOther
0001Adelaide Bank GroupOtherOther
0002Integration CostsOtherOther

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
Sheet2
ABCD
Cost CentrePay Component Code DescriptionPay Component Code Total
0000Bonus - Superable - Corporate Funded402.1 $ 621.00
0000First Aid Allow411 $ 100.47
0000Govt Paid Parental Bonus412 $ 184,541.34
0000Uniform Repayment802.1 $ 16,076.31

<colgroup><col><col><col span="2"></colgroup><tbody>
</tbody>
 
Upvote 0
So total of Column D sheet 2 with cost centre code as criteria, where do you want the result to be on sheet 1?
 
Upvote 0
Can you use this?


Book1
ABCDEFGH
1Pay Component Code
2402.1
3
4Cost CentreCost Centre DescriptionDivision DescriptionML4 DescriptionSalaryOvertime & Penalties
5HoursAmountHoursAmount
60000CorporateOtherOther$621.00
70001Adelaide Bank GroupOtherOther$0.00
80002Integration CostsOtherOther$0.00
Sheet1
Cell Formulas
RangeFormula
F6=SUMIFS(Sheet2!$D$2:$D$5,Sheet2!$A$2:$A$5,Sheet1!A6,Sheet2!$C$2:$C$5,$A$2)
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,249
Members
449,075
Latest member
staticfluids

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