Saving to Year To Date

Robert Wyatt

Board Regular
Joined
Jul 15, 2012
Messages
84
Office Version
  1. 2019
Platform
  1. Windows
I trying to figure out how to get amounts under this period to transfer over to year to date Not sure how to do this I have a ytd sheet made up but don't know how to get it to save and transfer then keep adding eacch bi-weekly totals together can some one please help?




Time Keeper In The Works 02-03-2023.xlsm
IJ
1431.36
15514.80
16376.00
17-
18-
19-
20-
21-
22$ 922.16
PayStub
Cell Formulas
RangeFormula
I14:I21I14=ROUND(H14*G14,2)
I22I22=SUM(I14:I21)
 
Okay, and will your summarized data always be A32:I40, and Net Pay in I41?
How do you name your sheets? With the Date of the End of the Biweekly Time Period? can you give some examples?
When I save it to file I save it as Next Pay Period Number.
 
Upvote 0

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Can you give an example of the last two or three sheet names you have called the pay periods?

Are you comfortable with cutting and pasting into a table? You already have the monthly summary in a column/flat file format a cut and past of the summary data into a table, and then building your visualizations is easier and give you more flexiblility.
 
Upvote 0
Okay, and will your summarized data always be A32:I40, and Net Pay in I41?
How do you name your sheets? With the Date of the End of the Biweekly Time Period? can you give some examples?
I use Save Next pay period with new name it all ways put the next pay period number on it.
 
Upvote 0
I'm asking for an example of what it looks like, not how you save.
Is it "PP20230125" or "PayDate Jan 25 2022"
But that is moot if you are comfortable with the second part of my last post.
 
Upvote 0
I'm asking for an example of what it looks like, not how you save.
Is it "PP20230125" or "PayDate Jan 25 2022"
But that is moot if you are comfortable with the second part of my last post.
it would look like this Pay Period 1 01-01-2023
 
Upvote 0
Robert, what version of excel do you use?
 
Upvote 0
Excel Office 2019

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
up dated
 
Upvote 0
Okay Here is a solution. It will require some work on your part
The solution will involve you copying and pasting information that is calculated below your paystub replica into a summary worksheet that has a table of the paystub line items. Below are the paystub replication and the summary worksheet.

This next step is not necessary, but it will help ensure you're date and replica paystub are matching:
(If you don't want this, then delete cell E55, and remove conditional formatting from cells B55:E55.)
You'll need to copy this custom function into a module in your VBA editor.
Press ALT-11, Open the Project Explorer (if it is not already open from the menu or Cntl-R),
Find VBA Project ("your workbook name"), right click, Click the arrow beside "Insert" then MODULE.
You should see a Module open under that line in the Project Explorer pane.
Select that module, double click or Press F7, it will take you to the code window for that module.
Paste this into the Module:
Function ThisSheetName() As Variant
Dim sn As Variant
sn = ActiveSheet.Name
ThisSheetName = sn
End Function

If you have more than 8 possible line items you'll need to update the formulas that feed the "copy" grid area AND move that entire section so it will not be affected by new rows.

In the summary worksheet you must convert your data to a TABLE (Cntrl T).
Paste the data onto the summary worksheet in the first row under the table.
The format of the pasted data should match the table's formatting.

You can now make pivot tables and all other summarizations based on all of your data.

Mr Excel Questions2.xlsm
ABCDEFGHIJ
13EarningsRateHoursThis PeriodYTD
14Taxable Tip Hours3231.36
15Stand In Hours1534.32514.8
16Regular Hours11.7532376
17Overtime Pay Rate17.63--
18PTO Hours11.75--
19Trainning---
20Holiday Pay---
21Incentive---
22TOTAL GROSS PAY:890.8
23Per TaxesThis PeriodYTD
24Dental Insurance21
25Health Insurance31
26401K92.22
27TOTAL PRE TAXES:144.22
28FEDERAL WITHHOLDINGSThis PeriodYTD
29Federal Income Tax Withholding60.66
30Louisiana State Income Tax Withholdings19.3
31Medicare Tax Withholdings12.62
32Social Security Tax Withholdings53.95
33TOTAL FEDERAL AND STATE WITHHOLDING:146.53
34AFTER TAXES DeductionsThis PeriodYTD
35Universal Life Insruance14.79
36402 K Loan #9108.56
37402 K Loan #8174.31
38TOTAL AFTER TAXES DEDUCTIONS:297.66
39 NET PAY: This Period YTD
40Total Net Pay302.39
41Other Benefits & Information This Period YTD
42PTO Hours Available
43
44Pay SummaryThis PeriodYTD
45Earnings890.8
46Pre-Tax Deductions144.22
47Federal Taxable Wages749.72
48Social Security Taxable Wages838.8
49Medicare (HI) Taxable Wages838.8
50State Taxable Wages749.72
51Total Taxes146.53
52After-Tax Deductions297.66
53Net Pay302.39
54PayPeriod as a Date
55 
56
57Copy this section as values into the summary workbook in the first row under the table:
58With Some More Recent, Non 365 VersionsWith 365
59    
60
61
62
63
64
65
66
67
68
69
70
Pay Period 1 01-01-2023
Cell Formulas
RangeFormula
I22I22=SUM(I14:I21)
I27,I38I27=SUM(I24:I26)
I33I33=SUM(I29:I32)
I40I40=ROUND(I22-I14-I27-I33-I38,2)
I45I45=ROUND(I22,2)
I46I46=ROUND(I27,2)
I47I47=ROUND(I45-0*159.6-10%*I45-I24-I25,2)
I48I48=ROUND(I22-I24-I25,2)
I49I49=ROUND(I22-I24-I25,2)
I50I50=ROUND(I45-0*159.6-10%*I45-I24-I25,2)
I51I51=ROUND(I33,2)
I52I52=ROUND(I38,2)
I53I53=ROUND(I45-I14-I46-I51-I52,2)
E55E55=IF(A55<>"",IF(ISNUMBER(A55)=FALSE, "Please enter a valid date",IF(TEXT(MONTH(A55),"00")&"-"&TEXT(DAY(A55),"00")&"-"&TEXT(YEAR(A55),"0000")=RIGHT(ThisSheetName(),10),"","The Date in the Worksheet Name Does Not Match.")),"")
A59A59=IF(OR(ISBLANK(A55),A55=""),"",TRANSPOSE(MMULT($A$55,TRANSPOSE(ROW(B59#)^0))))
B59B59=IF(OR(ISBLANK(A55),A55=""),"",$A$45:$A$52)
C59C59=IF(OR(ISBLANK(A55),A55=""),"",$I$45:$I$52)
E59E59=IF(OR(ISBLANK(A55),A55=""),"",HSTACK(TRANSPOSE(MMULT($A$55,TRANSPOSE(ROW(B59#)^0))),$A$45:$A$52,$I$45:$I$52))



Mr Excel Questions2.xlsm
ABC
1Line ItemPay PeriodAmount
2After-Tax Deductions11/20/2022250
3Earnings11/20/2022950
4Federal Taxable Wages11/20/2022950
5Medicare (HI) Taxable Wages11/20/2022950
6Pre-Tax Deductions11/20/2022175
7Social Security Taxable Wages11/20/2022950
8State Taxable Wages11/20/2022950
9Total Taxes11/20/2022150
10After-Tax Deductions12/4/2022275
11Earnings12/4/2022750
12Federal Taxable Wages12/4/2022750
13Medicare (HI) Taxable Wages12/4/2022750
14Pre-Tax Deductions12/4/2022150
15Social Security Taxable Wages12/4/2022750
16State Taxable Wages12/4/2022750
17Total Taxes12/4/2022165
18After-Tax Deductions12/18/2022295
19Earnings12/18/20221100
20Federal Taxable Wages12/18/20221100
21Medicare (HI) Taxable Wages12/18/20221100
22Pre-Tax Deductions12/18/2022165
23Social Security Taxable Wages12/18/20221100
24State Taxable Wages12/18/20221100
25Total Taxes12/18/2022170
26After-Tax Deductions1/1/2023297.66
27Earnings1/1/2023922.16
28Federal Taxable Wages1/1/2023777.94
29Medicare (HI) Taxable Wages1/1/2023870.16
30Pre-Tax Deductions1/1/2023144.22
31Social Security Taxable Wages1/1/2023870.16
32State Taxable Wages1/1/2023777.94
33Total Taxes1/1/2023146.53
34
35
36
37
38
PayPeriodSummary
 
Upvote 0

Forum statistics

Threads
1,215,053
Messages
6,122,888
Members
449,097
Latest member
dbomb1414

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