+ Reply to Thread
Results 1 to 3 of 3

Remove data without disrupting previous calculations

  1. #1
    Registered User
    Join Date
    04-06-2016
    Location
    Sweden
    MS-Off Ver
    2016
    Posts
    89

    Remove data without disrupting previous calculations

    So this is a workbook made for understanding how to figure it out, the real WB contains a whole year worth of weeks.

    The problem is in WORK, there's a row called "budget hours", which checks how many hours the place "has" in DATA.

    -But when person 2 quits, like this on the 20/4 - how do I stop him from being calculated from there on? I still need the "budget hours" to be correct from the time before 20/4.

    ie. before the 20/4 they had 22,20 hours, but now that he's not there they only have 14,80 - but if I delete his hours from DATA, all previous calculations are messed up.

    Any solution, almost no matter what would be appreciated!

    http://www.excelforum.com/attachment...1&d=1460467671
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Remove data without disrupting previous calculations

    Try the formula below to see if it does what you're looking for:

    =SUMPRODUCT(--(O$3:O$22>0),(Data!D$7:D$26))

    Paste it in O26 then fill right to S26. Repeat the process for your other weeks, but you'll need to make sure the columns are correctly aligned. The formula should only calculate the budgeted hours for workers whose output for the day in 'WORK' is not blank. It should allow you to leave a terminated employee blank in 'WORK' and have only the post-termination budgeted hours adjust accordingly.

  3. #3
    Registered User
    Join Date
    04-06-2016
    Location
    Sweden
    MS-Off Ver
    2016
    Posts
    89

    Re: Remove data without disrupting previous calculations

    I don't understand it - but it works! ty

+ 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. [SOLVED] Remove only the previous 0
    By chief_abound in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-22-2015, 10:47 AM
  2. Replies: 1
    Last Post: 06-19-2015, 12:46 AM
  3. Create Userform to Edit, View, Remove and Find next/ previous data
    By Faridwahidi in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-17-2015, 11:00 PM
  4. Add series to middle of data range without disrupting chart format
    By tourvulture in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-12-2014, 08:38 PM
  5. [SOLVED] Incorrect spelling disrupting Vlookup
    By DublinMeUp in forum Excel General
    Replies: 6
    Last Post: 05-12-2012, 03:49 PM
  6. Copy formulaes to next column and make the previous data static(remove the formulaes)
    By deeps1403 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-05-2011, 03:16 AM
  7. Remove Decimal from Calculations
    By Jake in forum Excel General
    Replies: 2
    Last Post: 01-26-2005, 10:07 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