+ Reply to Thread
Results 1 to 13 of 13

Projecting Rest Of Year Based Off Last 5 Pay Periods

  1. #1
    Registered User
    Join Date
    05-04-2012
    Location
    Nebraska
    MS-Off Ver
    Excel 2003
    Posts
    70

    Projecting Rest Of Year Based Off Last 5 Pay Periods

    I am struggling to figure out a formula that accurately projects work hours the rest of year based off the last 5 pay periods. My pay periods are in column I through column AH. The pay periods yet to come are blank with all previous entires with at least a 0 entered in them. In column F I have the actual total for the year so far and column G is where I am looking to have the projected number. So I guess I need the formula to average the last 5 pay periods and then see how many cells are still blank and then multiply the average by that number and add it to the actual total. Make sense? I hope so

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Projecting Rest Of Year Based Off Last 5 Pay Periods

    Here you are. Formula in G2, which can be copid down, as needed. I have left the intermediate steps in F, so that you can see what I did. F3 to F8 can be deleted once you see what's in them.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Projecting Rest Of Year Based Off Last 5 Pay Periods

    On second thoughts... use this. The first veersion falls over if there are fewer than 5 pay periods elapsed. This will work with any number (>0, obviously...).
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-04-2012
    Location
    Nebraska
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Projecting Rest Of Year Based Off Last 5 Pay Periods

    Glenn,
    Thanks for the reply. I would need a change to the formula though however. The issue is that I don't want anything entered in pay periods that have not happened yet, those cells are blank. I notice in your formula if I have them blank it will not calculate correctly. There may exist pay periods with a 0 obviously if the employee did not work, but I don't want to confuse managers with 0's in future pay periods. Is this a simple fix?

    By the way that formula you created is crazy! I'm having trouble deciphering what it's doing, but whatever it's doing is working

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Projecting Rest Of Year Based Off Last 5 Pay Periods

    Hi. I was convinced that your original post said that future PPs would have a 0 in them. I must learn to take time to read these posts more carefully! Actually, it simplifies things, a bit. Have a go & see if you can break it. If you succeed... I'll certainly have another go to get it right for you...
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-04-2012
    Location
    Nebraska
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Projecting Rest Of Year Based Off Last 5 Pay Periods

    Glenn,
    You are the man! I have one more tough one for you . I have attached another version with the look my sheet will have. I also need to measure another period based off when the employee starts, We need to measure 26 pay periods from that day. As you can see in column H I have this figured out, but in the NEW column I need to measure the same way you helped me with the previous one. I think this is a simple change but wanted to make sure I didn't mess it up. You will notice that the conditional formatting on row 7 changes visually what constitutes one full year for the employee. It uses a black bar at the beginning and then extends the white area further over nn the right side of the sheet.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-04-2012
    Location
    Nebraska
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Projecting Rest Of Year Based Off Last 5 Pay Periods

    Sorry I messed up and used V2 as the base, your new formula is not in there. Just copy and paste your new formula in there (and shift I2 to J2)

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Projecting Rest Of Year Based Off Last 5 Pay Periods

    Just about to board a plane... Back here tomorrow.

  9. #9
    Registered User
    Join Date
    05-04-2012
    Location
    Nebraska
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Projecting Rest Of Year Based Off Last 5 Pay Periods

    Not an issue, thanks Glenn.

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Projecting Rest Of Year Based Off Last 5 Pay Periods

    There were a couple of minor errors in the formulas in H, which was preventing them from giving the right answer 9or if they did give the right answer, it was a coincidence!!). they're fixed. can you check them over to make sure. before I go any further with this, some Qs.

    1. What time period do you want the formulas in G to cover. Currently they stop in column AI (26 PPs). But ou have added more PPs on to the end (cols AJ to BG)

    2. H5 says "average" PP hours. it isn't an average. Should it be? I assume that it shouldn't - but I just want to check.

    3. Out to what point (date, column??) do you want the "new start" projections to go to?
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    05-04-2012
    Location
    Nebraska
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: Projecting Rest Of Year Based Off Last 5 Pay Periods

    Hey Glenn,
    thanks again for your help.
    1. I want everyone's standard period to measure up to AI, this column will capture anyone that was already employed for the first pay period.
    2. You are correct. The original version of this measured it based off the average and compared it to a full time equivalent of 80 hours per pay period.
    3. This is the hard part. I need the formula to measure 26 pay periods starting from the first full pay period the employee begins in. so basically it starts after the "black bar" and measures out 26 pay periods. I needed to put all those pay periods in case someone started during the last pay period of the year and still needed to measure 26 pay periods from there.

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Projecting Rest Of Year Based Off Last 5 Pay Periods

    OK.. It's clear. Leave it with me for a while.

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Projecting Rest Of Year Based Off Last 5 Pay Periods

    OK. Latest version. I've changed it a bit and now have a "one-formula-fits-all" solution for you to fiddle with. it sets up a dynamic start and finish range, depending on when entries start to appear in your range. The helper columns are there mainly to prevent the formula becoming incomprehensibly long. They can be hidden.

    Try to break it...

    Excel is more addictive than crack cocaine...
    Attached Files Attached Files

+ 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. Calculate drivers hours and rest periods
    By fastcar in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-06-2017, 09:45 PM
  2. Projecting new auto loans staggered through the year, each year.
    By guruexcel in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-30-2013, 10:32 PM
  3. Charts with year and separate annual periods
    By toplisek in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 06-08-2013, 01:45 PM
  4. Dynamically calculate first and last pay periods for year
    By crspycrtr in forum Excel General
    Replies: 3
    Last Post: 10-18-2011, 03:50 PM
  5. worksheet projecting month to year service contract amounts
    By John in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-21-2005, 04:05 PM

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