+ Reply to Thread
Results 1 to 4 of 4

Combining Overlapping Dates between Unique ID & Identify Overlapping with Other Date Range

  1. #1
    Registered User
    Join Date
    09-22-2021
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    1

    Question Combining Overlapping Dates between Unique ID & Identify Overlapping with Other Date Range

    I have a large spreadsheet in Google Sheet with headers with unique Machine Equipment IDs in A, start date in C, and end date in D. There are multiple rows per Machine Equipment ID and the start and end dates overlap. Why it cannot be overlap because one Machine can be rental by one client only. No possibilities on one Machine by two or more client in one time.

    I need to find any gaps in the date ranges for each Machine Equipment ID.

    Also, I need to calculate the utilization in this year only. From first January 2021 until today(23 Sept 2021) is 265 days.

    Let say :

    Machine EB27-45D was actually used in 2021 on

    11 Jan 2021 to 10 June 2021 = 150 days

    18 June 2021 to 1 July 2021 = 13 days

    23 Aug 2021 to 1 Sept 2021 = 9 days

    13 Sept 2021 to 13 Sept 2021 = 1 day

    150 + 13 + 9 + 1 = 173 days

    So for Machine ID EB27-45D utilization is (173/265)*100 = 65.28%

    ZPeCE.png


    I used the excel formula overlapping data range "First Jan until today" and "end date - start date" where cell R20 = MAX(MIN(Q20,D20)-MAX(P20,C20)+1,0)

    But I realized there's another overlapping date between the same Machine Equipment ID



    Elztb.png

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

    Re: Combining Overlapping Dates between Unique ID & Identify Overlapping with Other Date R

    Hello bihaequipinc and Welcome to Excel Forum.
    I may be easier to help if we could see an Excel sample of the file from which the screenshots in post #1 were produced.
    Instructions for uploading an Excel file are given in the "HOW TO ATTACH YOUR SAMPLE WORKBOOK" banner at the top of the page.
    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.

  3. #3
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: Combining Overlapping Dates between Unique ID & Identify Overlapping with Other Date R

    this is a cross posting!

    https://stackoverflow.com/questions/...-overlapping-w

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Combining Overlapping Dates between Unique ID & Identify Overlapping with Other Date R

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. As you are new I will provide it for you this time: https://stackoverflow.com/questions/...-overlapping-w)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Identify overlapping events by time/date
    By Excel_NoneTheWiser in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-10-2021, 03:55 PM
  2. How do I identify overlapping date/times
    By jaar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-28-2020, 04:05 PM
  3. [SOLVED] identify duplicate in a range or overlapping with cirteria
    By shuaibfarouk in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-01-2017, 05:32 AM
  4. [SOLVED] Help in combining rows where dates are consecutive or overlapping
    By Chrispelletier in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-14-2017, 05:10 PM
  5. Create Unique Overlapping Date Ranges from List of Dates
    By dbs105 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-11-2015, 08:03 PM
  6. Identify and count overlapping date/time entries on a call log
    By Andrew989 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-23-2012, 12:24 PM
  7. [SOLVED] Identifying Overlapping Dates within a range
    By Tremain in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-09-2005, 06:06 PM

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