+ Reply to Thread
Results 1 to 7 of 7

Accruing months of payroll

  1. #1
    Registered User
    Join Date
    08-01-2013
    Location
    Omaha, NE
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (16.0.14228.20216) 64-bit , Version 2107
    Posts
    7

    Accruing months of payroll

    Trying to figure out how to accrue data for multiple months. Data consists of thousands of lines each with a different pay date for employees. For instance I show up on 26 different lines for data pulled for an entire year (paid bi-weekly). I need to show what my payroll (and everyone else's) is each month using an accrual calculation. I can easily accrue one month at a time but I cant accrue all 12 months since a pay date can applies to two months accrual calculation. I cant find any examples of this anywhere. Pivot table would be ideal. I just dont know how to go about accomplishing that. Any resource would help. I have attached a sample of data with an accrual tab that has the calculations for each pay period. On the first tab is what Id like the pivot table to give me (bottom right).
    Attached Files Attached Files
    Last edited by tonynelson33; 08-30-2021 at 05:23 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Accruing months of payroll

    Hi and welcome to the forum.
    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.

    To upload a file click the Go Advanced button at the foot of your post, look underneath the post area for the Manage Attachments section and take it from there.

    Is Excel 2013 really your latest version or do you have later versions which will have more functionality?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    08-01-2013
    Location
    Omaha, NE
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (16.0.14228.20216) 64-bit , Version 2107
    Posts
    7

    Re: Accruing months of payroll

    I updated appropriately.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Accruing months of payroll

    This proposal employs four added columns to the data.
    The first column is populated using: =EOMONTH(D2,-1)+1
    The second column is populated using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The third column is populated using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The fourth column is populated using: =SUMPRODUCT((B$2:B2=B2)*(MONTH(C$2:C2)=MONTH(C2)))
    On Sheet1 the pivot table has a calculated field called Pay which has the formula: ='Gross Pay'+'Fut. Acc.' -'Prior Acc.'
    Note that Fut. Acc. and Prior Acc. are new columns from the Data sheet.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Accruing months of payroll

    Quote Originally Posted by tonynelson33 View Post
    I updated appropriately.
    Thanks,

    Information about exactly which version would have been better.

  6. #6
    Registered User
    Join Date
    08-01-2013
    Location
    Omaha, NE
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (16.0.14228.20216) 64-bit , Version 2107
    Posts
    7

    Re: Accruing months of payroll

    Wow...thanks so much. In this picture below you can see I was somewhat close but the disconnect for me was your First Day column to support a pivot table and the calculated field. I also dont use aggregate or row formulas much so my attempt using 3 columns (fractional, prior, current) was a tad excessive. Unsure how this will process 100,000 rows of data but we will see. This is great!

    Attachment 746031

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Accruing months of payroll

    You're Welcome and thank you for the feedback. If the method works with the 100k rows of data then please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post.
    Attempting to view the attachment results in: "Invalid Attachment specified. If you followed a valid link, please notify the administrator"
    BTW, I was in your fair city in June, had a great time and hope to get back next year.
    I hope that you have a blessed day.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 9
    Last Post: 07-26-2019, 03:55 PM
  2. [SOLVED] Daily Accruing Interest
    By marshak in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-08-2019, 08:58 PM
  3. Date of Hire and accruing vacation
    By DallasARM in forum Excel General
    Replies: 5
    Last Post: 11-05-2014, 02:32 PM
  4. [SOLVED] Payroll Start and End Dates, need Payroll Period fix
    By colarguns in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-12-2014, 08:03 PM
  5. Non Accruing vacation/sick time
    By dzitoicihomes in forum Excel General
    Replies: 4
    Last Post: 06-27-2014, 02:02 PM
  6. [SOLVED] Adding payroll stubs payroll calculator
    By Sable in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-05-2006, 12:40 PM
  7. accruing interest
    By scarnohan in forum Excel General
    Replies: 1
    Last Post: 02-04-2006, 11:45 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1