Help with a calculation formula

Susan T

New Member
Joined
Apr 8, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I need to create a spreadsheet which calculates maternity pay and am struggling.
The criteria are@
Date leave started
Weekly pay
8 weeks full pay
18 weeks half pay + 151.20
13 weeks 151.20
Can anyone help?
 

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
This is not that hard but what is the result you want? Pay for a particular week? Total pay since leave started?
 
Upvote 0
Good questions,,,and welcome to the MrExcel board, Susan. Another thing to clarify, please...if maternity leave begins on, say, a Wednesday. Does the first week of maternity pay mean Wednesday-Friday...a short week (assuming a Mon-Fri work week), or does it mean something else, like Wednesday through Tuesday of the following week?
 
Upvote 0
Good questions,,,and welcome to the MrExcel board, Susan. Another thing to clarify, please...if maternity leave begins on, say, a Wednesday. Does the first week of maternity pay mean Wednesday-Friday...a short week (assuming a Mon-Fri work week), or does it mean something else, like Wednesday through Tuesday of the following week?
Thanks KIrk. It will always be Monday to Friday. I dont know of that helps! Ive really managed to confuse myself!
 
Upvote 0
Hi SusanT,

There are two things to be aware of. Let's assume weekly pay is $200:
(1). Mathematically 18 * 200/2 + 151.20 will do the multiplication first and addition last so you'll only get a single payment of 151.20. To get around this you can use parentheses which makes the items in parentheses happen first and I'm guessing the 151.20 should be paid each of the 18 weeks so it should be stated as 18 * (200/2 + 151.20).
(2). My example will assume Maternity Leave begins on a Monday. If it begins, for example, Wednesday then the first week should only pay a portion, (three fifths for the Wednesday, Thursday, Friday) and the first and last Monday to Friday weeks for each of the three rules would contain parts of the previous rule (Monday and Tuesday) plus parts of the new rule (Wednesday, Thursday, Friday).

My example shows the calculation in two ways.
Cells E2 to H2 show the total pay for each of the three rules and the grand total over the 8+18+13=39 weeks.
The other cells show how the calculation looks for each week so if you enter Maternity Leave on Monday 6 April 2020 then for that week commencing 6 April 2020 you'll get full pay $200, through the last week commencing Monday 28 December 2020 when you'll get $151.20.


Book1
ABCDEFGHIJKLMNOPQRST
1Date leave started06-Apr-20ABCTotal
2Weekly pay$200.00$1,600.00$4,521.601965.6$8,087.20
3
48 weeks full payTotal6-Apr13-Apr20-Apr27-Apr4-May11-May18-May25-May
5Total 8 weeks full pay$1,600.00$200.00$200.00$200.00$200.00$200.00$200.00$200.00$200.00
6
718 weeks half pay + 151.20Total1-Jun8-Jun15-Jun22-Jun29-Jun6-Jul13-Jul20-Jul27-Jul3-Aug10-Aug17-Aug24-Aug31-Aug7-Sep14-Sep21-Sep28-Sep
8Total 18 weeks half pay + 151.20$4,521.60$251.20$251.20$251.20$251.20$251.20$251.20$251.20$251.20$251.20$251.20$251.20$251.20$251.20$251.20$251.20$251.20$251.20$251.20
9
1013 weeks 151.20Total5-Oct12-Oct19-Oct26-Oct2-Nov9-Nov16-Nov23-Nov30-Nov7-Dec14-Dec21-Dec28-Dec
11Total 13 weeks 151.20$1,965.60$151.20$151.20$151.20$151.20$151.20$151.20$151.20$151.20$151.20$151.20$151.20$151.20$151.20
12
13Grand total$8,087.20
Sheet1
Cell Formulas
RangeFormula
E2E2=B2*8
F2F2=18*((B2/2)+(151.2))
G2G2=13*151.2
H2H2=SUM(E2:G2)
C4C4=B1
D10:O10,D7:T7,D4:J4D4=C4+7
B5B5=SUM(C5:J5)
C5:J5C5=$B$2
C7C7=J4+7
B8B8=SUM(C8:T8)
C8:T8C8=($B$2/2)+(151.2)
C10C10=T7+7
B11B11=SUM(C11:O11)
B13B13=SUM(B5:B11)
 
Upvote 0

Forum statistics

Threads
1,215,737
Messages
6,126,575
Members
449,318
Latest member
Son Raphon

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