+ Reply to Thread
Results 1 to 6 of 6

Time overlap %

  1. #1
    Registered User
    Join Date
    09-04-2014
    Location
    The Netherlands
    MS-Off Ver
    2010
    Posts
    4

    Time overlap %

    Hi there,

    Since I'm new to this forum, a short introduction seems to be in place: I'm Stefan, living in The Netherlands, working with Excel on a regular basis, but nothing fancy so far...
    I've encountered a problem which is illustrated in the uploaded example.
    This is the (example)case:
    Lets assume that person A makes a living out of talking. He talks all day long. Sometimes with only 1 person, sometimes with multiple persons, sometimes with non.
    Lets also assume that this person costs €0,3/minute. If he talks face-to-face with only one person, that person has to pay him €0,3/minute. But as soon as a secon person joins the conversation, both have to pay him 50% of €0,3/minute. If a third person joins, they all have to pay an equal share of 33,33%, and so one. From the moment one person leaves the conversation, the pay-rate changes.
    For further illustration, see example file.

    Limitations: In the example file, everything is processed in blocks of 10 minutes. In the real file, this is not the case. Also, in the example file all dates are nicely sorted, in the real file, this is not the case as well. Last but not least: I only have the start and end date and time of the persons talking te person A. The available information is marked in yellow.

    The big question: Is there af formula that calculates the cost per person?

    Time overlap calculation.xlsx


    Should you have any questions or is something not clear, please let me know!
    Kind regards from The Netherlands,
    Stefan
    Last edited by sfire184; 09-04-2014 at 07:16 AM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Time overlap %

    I think you are better off if you add your data verticaly.

    Use a helpcolumn to determine if another person is add to that conversation.

    In a second helpcolumn you can add (or make a formula) to add the %.

    After that you should be able to count the cost.

    P.s. you used merged cells in your file.

    My advice, don't use merge cells, you get in trouble with it sooner or later.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    09-04-2014
    Location
    The Netherlands
    MS-Off Ver
    2010
    Posts
    4

    Re: Time overlap %

    Thank you for your reply.

    You are absolutely right, don't use merge cells when processing a lott of data
    The merged cells are only to illustrate this example and make it visible. In the 'real' file, I only have the data in the yellow columns.
    Based on these yellow columns, I have no idea how to calculate the weighted percentage, based on the criteria described in my orriginal post.
    Transponing the data marked yellow (vertical to horizontal) is not an option, since I have more than 16384 entries (Max nr. of columns in Excel I thought)

  4. #4
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: Time overlap %

    Your colouring and hardcoded cost-formula doesn't seem to be based on the start- and end times in yellow. Example: In formula and table, Person 1 participates from 08:00 to 09:30, while "end time" in yellow is 08:30. Something I have misunderstood?
    If not, what is correct?

  5. #5
    Registered User
    Join Date
    09-04-2014
    Location
    The Netherlands
    MS-Off Ver
    2010
    Posts
    4

    Re: Time overlap %

    Correct.
    If seems that I have imported the wrong data set for my English example.
    Here is an update with the correct times.

    Time overlap calculation (correct times).xlsx

  6. #6
    Registered User
    Join Date
    09-04-2014
    Location
    The Netherlands
    MS-Off Ver
    2010
    Posts
    4

    Re: Time overlap %

    --Kick--

    Does anyone have an idea how I can solve this problem?


    Regards,
    Stefan

+ 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] Overlap between two time ranges
    By LondonJames in forum Excel General
    Replies: 11
    Last Post: 07-12-2019, 02:18 AM
  2. [SOLVED] determine total overlap time when there are gaps in overlap (4 date ranges)
    By miriambender in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-12-2014, 11:58 PM
  3. Date + time overlap checking
    By zRc55 in forum Excel General
    Replies: 21
    Last Post: 09-27-2013, 01:34 AM
  4. Replies: 0
    Last Post: 08-14-2013, 11:21 AM
  5. Chart start time for overlap
    By Mothman in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-04-2010, 09:20 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