Formula to subtract pay periods each payday

Robert Wyatt

Board Regular
Joined
Jul 15, 2012
Messages
84
Office Version
  1. 2019
Platform
  1. Windows
I'm retired and have to watch my yearly income due to I can't go over 21,240.00 a year or they will take 3.00 dollars for every dollar I'm over from my social security check. Is there a formula in Excel that I can use that will subtract pay periods from the remainder of periods to go? I get paid bi-weekly that is 26 pay periods for the year. Right now I have it fixed up as if I was doing payroll year to date. but not sure it will be the same. I need it to subtract each pay period from 21,240.00 so I can keep track of how much I have left before going over the yearly limit.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
would something like this help:

Mr excel questions 53.xlsm
ABCD
1PayperiodPayYTDAmt To Earn Before Penalty
2184884820392
32915176319477
43617238018860
54828320818032
65904411217128
76857496916271
87949591815322
98842676014480
109678743813802
1110980841812822
1211961937911861
13129151029410946
14136601095410286
1514866118209420
1615782126028638
1716684132867954
1817692139787262
1918640146186622
2019888155065734
2120711162175023
2221898171154125
2322650177653475
2423736185012739
2524805193061934
262599620302938
272673521037203
RobertWyatt
Cell Formulas
RangeFormula
C2:C27C2=SUM($B$2:B2)
D2:D27D2=21240-C2
 
Upvote 0
Happy to have helped you find a solution.
Best Wishes!
 
Upvote 0
I know I mark this as work, but I have a question how come it keeps showing an error when it post's about three times? How can I correct it?
 
Upvote 0
I know I mark this as work, but I have a question how come it keeps showing an error when it post's about three times? How can I correct it?
Robert, I'm not sure what the error is. Can you post a mini worksheet using xl2bb with the underlying data and the formulas that have the errors?
 
Upvote 0
Asked to here is the program you helped me out with but it keeps having Eorros in the YTD Figures




Blank Payroll Keeper.xlsm
ABCDE
1Allowed Annually:$21,240.00
2Multiplied By 26 Pay Periods:$13,017.01
3Amount To Earn Before Penatly's:$8,222.99
4
5
6Pay PeriodPay DatePayYTDAmount Before Penalty
7101/05/23$840.98$840.98$20,399.02
8201/19/23$807.48$1,648.46$19,591.54
9302/02/23$819.00$2,467.46$18,772.54
10402/16/23$840.98$3,308.44$17,931.56
11503/02/23$840.46$4,148.90$17,091.10
12603/16/23$798.50$4,947.39$16,292.61
13703/30/23$805.64$5,753.03$15,486.97
14804/13/23$798.50$6,551.53$14,688.47
15904/27/23$798.50$7,350.03$13,889.97
161005/11/23$798.50$8,148.53$13,091.47
171105/25/23$798.50$8,947.02$12,292.98
181206/08/23$850.00$9,797.02$11,442.98
191306/22/23$824.50$10,621.52$10,618.48
201407/06/23$798.50$11,420.01$9,819.99
211507/20/23$798.50$12,218.51$9,021.49
221608/03/23$798.50$13,017.01$8,222.99
Social Security Register
Cell Formulas
RangeFormula
E2E2=SUM(C7:C32)
E3E3=SUM(E1-E2)
D7:D22D7=IF(ISBLANK(C7)," ",SUM($C$7:C7))
E7:E22E7=IF(ISBLANK(C7)," ",SUM(21240-D7))
 
Upvote 0
I don't see any errors in your example.
What cell(s) has an Error Value?
 
Upvote 0
Cell D8:D21 say: The formula in this cell refers to a range that has an additional number adjacent to it. from cell D8:D21 each time I add a new entry it error's the next cell as well.
 
Upvote 0
Try

Book2
ABCDEF
1Allowed Annually:21240
2Multiplied By 26 Pay Periods:13017.01
3Amount To Earn Before Penatly's:8222.993
4
5
6Pay PeriodPay DatePayYTDAmount Before Penalty
7144931840.98840.9820399.02
8244945807.481648.4619591.54
93449598192467.4618772.54
10444973840.983308.4417931.56
11544987840.4574148.89717091.1
12645001798.4974947.39416292.61
13745015805.64055753.03515486.97
14845029798.4976551.53214688.47
15945043798.4977350.02913889.97
161045057798.4978148.52613091.47
171145071798.4978947.02312292.98
181245085849.9979797.0211442.98
191345099824.49710621.5210618.48
201445113798.49711420.019819.987
211545127798.49712218.519021.49
221645141798.49713017.018222.993
23
Sheet2
Cell Formulas
RangeFormula
E2E2=SUM(C7:C32)
E3E3=SUM(E1-E2)
D7:D22D7=IF(C7="","",SUM(D6,C7))
E7:E22E7=IF(C7="","",SUM(21240-D7))
 
Last edited:
Upvote 0
Solution

Forum statistics

Threads
1,215,102
Messages
6,123,097
Members
449,096
Latest member
provoking

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