+ Reply to Thread
Results 1 to 8 of 8

Bi-Weekly Sum Data

  1. #1
    Registered User
    Join Date
    05-14-2018
    Location
    Reno
    MS-Off Ver
    2016
    Posts
    3

    Bi-Weekly Sum Data

    I'm using this for tracking PTO time within a payroll period. (Sunday 12/24/17 - Saturday 1/6/18 is the first payroll period, then 1/7/18 thru 1/20/18 is the second period and so on).
    Column A is Staff ID
    Column B is Date of PTO use
    Column D is Hours used.

    I would like to figure out a way to do a sum after every payperiod and have a total of all hours used.
    My current sheet is from 12/24/17 thru todays date.
    Not everydate is listed on each sheet - only the days when PTO hours are used.
    There are no zero's in the hours used.
    I have the sheet separated by staff ID (all staff #40 are together, all staff #551 are together - etc.)

    I'd love someone to point me in the right direction. Not sure if this can be done with just formuals? or VBA? - Thank you!

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Bi-Weekly Sum Data

    This can be done easily with formula's please provide an example of how your data is setup
    sumifs formula wiht begin data and enddate should be no issue to build based on your layout..

  3. #3
    Registered User
    Join Date
    05-14-2018
    Location
    Reno
    MS-Off Ver
    2016
    Posts
    3

    Re: Bi-Weekly Sum Data

    Staff Entry
    Date Hrs/Units

    40
    40 12/27/17 2.10
    40 01/03/18 3.00
    40 01/05/18 1.50
    40 01/08/18 1.00
    40 01/09/18 1.00
    40 01/10/18 1.00
    40 01/10/18 1.40
    40 01/11/18 2.00
    40 01/12/18 4.00
    40 01/15/18 4.00
    40 01/16/18 2.00
    40 01/24/18 2.50
    40 01/25/18 2.00
    40 01/30/18 1.50
    40 02/01/18 3.50
    40 02/02/18 0.50
    40 02/08/18 2.50
    40 02/14/18 1.50
    40 02/15/18 2.00
    40 02/21/18 1.00
    40 02/23/18 4.00
    40 02/26/18 1.50
    40 03/09/18 1.40
    40 03/16/18 2.00
    40 03/19/18 0.70
    40 03/28/18 1.70
    40 03/30/18 2.30

  4. #4
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Bi-Weekly Sum Data

    I kind off meant an excel exampe but this worked too this time

    I changed some of the example data to apply to staffnumber 45 to prove the formula works on all changing dimensions.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-14-2018
    Location
    Reno
    MS-Off Ver
    2016
    Posts
    3

    Re: Bi-Weekly Sum Data

    Thank you! That is awesome.
    I'll study up on SUMIFS. I'm following most of your formula - but not the end-from the quote marks to the end. - can you put that into words for me?
    ">="&$G3,$B$2:$B$28,"<="&$H3

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

    Re: Bi-Weekly Sum Data

    That segment of the formula could be read: [the dates in column B that are] greater than or equal to the date in cell G3 and the dates in column B that are less than or equal to the date in cell H3.
    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.

  7. #7
    Registered User
    Join Date
    08-28-2018
    Location
    west virginia
    MS-Off Ver
    365
    Posts
    1

    Re: Bi-Weekly Sum Data

    I am looking for something similar. I have to keep track of employees total hours accumulated by pay period. They are only allowed to work a total of 1,000 hours in a one year timeframe, starting from their hire date. I need it to keep rolling over into the next year.
    So, first column, the pay period (which is bi-weekly)..
    Second column would be where I manually enter the number of hours they worked for that pay period..
    Third column would be the total number of hours they worked that same time frame during the year before..
    Fourth column would be the total number of hours they have left to work out of 1000 (or how many they've worked so far, one year from that date).
    Any help is appreciated. If you have an excel sheet you could attach, that'd be perfect!

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

    Re: Bi-Weekly Sum Data

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.
    If you feel this thread is particularly relevant to your need, provide a link to this thread in your new thread or, since you have less than 10 posts, include the title and original poster of this thread in the text of your new thread.
    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Let us know if you have any questions about (or problems with) starting a new thread.

+ 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. Formula to convert monthly data into weekly data - help needed
    By dobrica3 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-12-2016, 10:00 AM
  2. [SOLVED] Converting daily data into weekly and making the weekly number a cumulative return
    By Duchess1 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-28-2015, 10:23 AM
  3. Displaying weekly data without having to change charts data series.
    By LeapingLizard in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-25-2015, 05:14 PM
  4. [SOLVED] Copy Data from different sheets weekly into a master list with data of the whole year
    By ec4excel in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-12-2014, 10:37 AM
  5. Replies: 1
    Last Post: 03-21-2013, 10:45 PM
  6. Replies: 2
    Last Post: 02-03-2012, 02:58 AM
  7. Replies: 1
    Last Post: 04-17-2009, 04:57 AM

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