+ Reply to Thread
Results 1 to 2 of 2

Running Total that Feeds from Overwritten Cell

  1. #1
    Registered User
    Join Date
    06-06-2017
    Location
    Philadelphia, PA
    MS-Off Ver
    Office 365
    Posts
    1

    Running Total that Feeds from Overwritten Cell

    Hi Everyone,
    I've tried a few macros as well as formula combinations and am coming up empty handed.
    Hoping someone can help me out.

    Essentially I record hours for a few employees on a weekly timesheet. On any given day an employee can be tagged to a single job with the potential to work multiple jobs in one week.
    What I am trying to do is keep a running total of how many labor hours are being allocated to each of these jobs as well as keeping a running total of yearly hours for each employee.

    The tricky part is that I need to have one "Master timesheet" that I fill out each week. This means that data is being recorded on the same file each week and the data from the week before is constantly being overwritten and then saved as a new weekly file. (as opposed to one ongoing list of hours)

    So for example, if i have employees Mike & Todd working on jobs "A""B""C" and "D" is there a way that I can have their hours both tallied by employee as well as job even when the data is being overwritten?
    To add one more layer of complexity i also need these hours to be broken out into ST, OT, and DT as well as position code which I record on the "Master Timesheet" in separate cells.

    I'm attaching an excerpt as an example of what the "Master timesheet" looks like as well as how I am currently keeping track of Job and Employee hours manually. I'd like the timesheet to feed into these two other reports weather it be in one worksheet/workbook or any other format that you come up with.

    I'm also very open to any other alternative solutions. (I've come up with a few myself, however they feel quite "clunky" for lack of a better term)

    Any insight you could provide is much appreciated.
    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Running Total that Feeds from Overwritten Cell

    Took a look at your workbook.
    To achieve what you want will need a change in your approach anyway.
    The change would involve a table in which all details are stored.
    Depending on your appetite for vba you could use this table as your master time sheet and fill the other forms from there. This would be a vba-less solution.
    Alternatively you could have some vba in the Worksheet_change event which stores date entired in you current mater sheet into the table or reads data back from it into the master sheet.
    Personally I think that the latter solution would be nicer and stay closer to yur current approach.
    Doing without that table and exchanging data directly between the master timesheet and the other forms wouldn't be reliable.
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

+ 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. Running total in one cell
    By dsdonroad in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-31-2016, 09:35 AM
  2. [SOLVED] running total then clear cell?
    By royaldex in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-14-2014, 12:22 PM
  3. running total cell macro
    By kpfeif in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-22-2014, 10:30 AM
  4. Replies: 2
    Last Post: 05-23-2012, 08:12 PM
  5. How to set up running total in cell?
    By emspilot in forum Excel General
    Replies: 1
    Last Post: 09-01-2010, 03:54 AM
  6. Keeping a running total in a cell
    By hri1428 in forum Excel General
    Replies: 1
    Last Post: 09-18-2008, 01:48 PM
  7. A running total using one input cell
    By threedeesix in forum Excel General
    Replies: 2
    Last Post: 02-25-2007, 02:29 AM

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