+ Reply to Thread
Results 1 to 10 of 10

Time overlapping In Excel version 2016

  1. #1
    Registered User
    Join Date
    09-06-2016
    Location
    Pe RSA
    MS-Off Ver
    2016
    Posts
    4

    Cool Time overlapping In Excel version 2016

    Hello, I'm currently working on a spreadsheet that calculates the amount of time people spend doing something but I'm struggling with the calculation because of time overlap. In the attached spreadsheet you'll see multiple names with times, every name is a mixture of paint that is being mixed and to the right of the name the time from start to end on each mix. But some of the mixes overlap each other and I need to be disregard the time spent on overlap.

    So eg. David 9:00 - 10:00 (This is 60 minutes)
    eg.2 David 9:10 - 10:05 (Only 5 minutes will be added)

    I only add 5 minutes in eg.2 Because the person was already busy from 9:00, and basically ended at 10:05.
    I hope I'm being clear with my examples. I would really like to find some kind of formula that can help me with this, as I have been doing it manually with pen and paper which could end up being Inaccurate and very time consuming.

    I need the formula under Total Hours.

    TS -Time started
    TE -Time ended.
    Thank you! :D

    -Edit- I have Tried a Min and Max formula, the way I use it will not work in this scenario, let me explain.
    eg.1 David does one mixture of paint from 9:00 - 10:00
    David does another mixture of paint from 9:00 - 10:05
    David does his 3rd mixture from 12:00 - 14:00
    Max would be 14:00, Min would be 9:00. Saying he spent 5 hours mixing is false, as there was a break in time from 10:05 until 12:00.

    Really need help guys, hope this edit helps a little.
    Attached Files Attached Files
    Last edited by RayRay10k; 09-06-2016 at 06:18 AM.

  2. #2
    Registered User
    Join Date
    01-30-2014
    Location
    Brazil
    MS-Off Ver
    Excel 2016
    Posts
    46

    Re: Time overlapping In Excel version 2016

    Hello my friend, see if this fits your situation.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-06-2016
    Location
    Pe RSA
    MS-Off Ver
    2016
    Posts
    4
    Quote Originally Posted by lucasar View Post
    Hello my friend, see if this fits your situation.


    Not funny!

  4. #4
    Registered User
    Join Date
    01-30-2014
    Location
    Brazil
    MS-Off Ver
    Excel 2016
    Posts
    46

    Re: Time overlapping In Excel version 2016

    Quote Originally Posted by RayRay10k View Post


    Not funny!
    Why? It works, right?
    Sorry, just tried to help.

  5. #5
    Registered User
    Join Date
    09-02-2013
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2013
    Posts
    44

    Re: Time overlapping In Excel version 2016

    Will this do the work for you?

    I had to add one column to manage to sum the hours, but I'll think it will fit you allright anyhow


    The formula in the "Hours" column you could just keep copying down if you have more timestamps. The Sumif formula for adding the totalt hours I figured you probably know how to use so I didn't write it for all the names
    Attached Files Attached Files
    Last edited by anghicole; 09-06-2016 at 01:03 PM. Reason: Updating more information

  6. #6
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Time overlapping In Excel version 2016

    Hi,

    There probably is a formula guru out there that can condense this, but I had to use a couple of helper columns.

    One column to determine time worked. The other to determine if there is an overlap in time and return the difference.

    Also, are "Solid" and "Basecoats" hour overlapping? If so, I had to combine them into one set of data. See sheet "Combined"

    In the "Combined" sheet, it is sorted by name and start time.

    I hope this is helpful. Let me know if you have any questions.

    Cheers
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    09-06-2016
    Location
    Pe RSA
    MS-Off Ver
    2016
    Posts
    4

    Re: Time overlapping In Excel version 2016

    Quote Originally Posted by anghicole View Post
    Will this do the work for you?

    I had to add one column to manage to sum the hours, but I'll think it will fit you allright anyhow


    The formula in the "Hours" column you could just keep copying down if you have more timestamps. The Sumif formula for adding the totalt hours I figured you probably know how to use so I didn't write it for all the names
    Hello, Thank you so much for you assistance. This is very close to what I am looking for but not quite what I need. The hours you worked out are all correct, however my objective is to calculate precisely the amount of hours someone has spent working. In your spreadsheet the overlapping time was not deducted and all the times you calculated were added together including the overlap. I have attached your spreadsheet and made an edit to explain what I mean.

    I don't think im being clear enough on my issue, so ill try examples again :D

    eg.1 Power mixes 1 Job of paint from 9:10 - 11:00 am.
    Power mixes ANOTHER Job of paint while mixing the first, from 9:10 - 11:00.
    How long has power been mixing paint for? 110 Minutes.Which is 1,83 Hours.
    The attached spreadsheet Calculates 2 mixtures done at the same time and adds them twice instead of "DETECTING" the overlap. Power has not been working 220 minutes just because the mixtures were done at the same time, he was working for 110, but completed both those mixtures within That time.

    It sounds really confusing but if its not specific enough please tell me so I can try make it more clear.
    This spreadsheet is on the right track and very close to what I need to reach my goal
    Thank you so much for your efforts, I hope you can get back to me soon.
    Attached Files Attached Files

  8. #8
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Time overlapping In Excel version 2016

    OK. I think I have it.

    Instead of trying to identify all the different times worked on each project, I went with determining total time from very first time to the last time per person. Then subtract any gaps in time.
    Hope this makes since and work for you.

    Column E is the helper column that identifies gaps in the time table.

    This crazy formula determines the difference between the earliest and latest time, the subtracts the gaps in time.

    Please Login or Register  to view this content.
    Hope this is helpful.

    Cheers
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: Time overlapping In Excel version 2016

    You could use this code, I hope that it can help you:
    Please Login or Register  to view this content.
    Regards,
    Antonio
    Last edited by antoka05; 09-23-2016 at 04:57 AM.

  10. #10
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: Time overlapping In Excel version 2016

    This is the file with the code that I didn't remember to add earlier.

    Regards,
    Antonio
    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. PowerPivot in 2016 Excel version
    By beginner_excel in forum Excel General
    Replies: 2
    Last Post: 06-27-2016, 08:15 AM
  2. 2147417848 Method Default of Object Range Failed (Excel version 2016)
    By omagoodness in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-10-2016, 05:13 PM
  3. Replies: 0
    Last Post: 01-09-2016, 02:02 PM
  4. [SOLVED] Implement office 2016 version
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-02-2015, 01:32 PM
  5. Hi - I love the new Version of Excel 2016
    By pcpitstop in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-07-2015, 06:05 PM
  6. How to use excel to find out overlapping time period?
    By maheshdd in forum Excel General
    Replies: 0
    Last Post: 03-25-2014, 07:57 AM
  7. Counting Overlapping Time & Non-Overlapping Time
    By I_need_help1 in forum Excel General
    Replies: 4
    Last Post: 02-08-2011, 02:36 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