+ Reply to Thread
Results 1 to 5 of 5

Formulas to Create Time Duration Sequence by Selections

  1. #1
    Forum Contributor
    Join Date
    02-26-2023
    Location
    Lousianna
    MS-Off Ver
    Microsoft 365
    Posts
    937

    Formulas to Create Time Duration Sequence by Selections

    Hello,

    Is there a way to fill columns X and Z by selections made in cells V4, V7, and V10.

    I have manually entered for Start at 12:00 am, End at 11:59 pm, with duration of 15 minutes.

    Thank you for your help
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,300

    Re: Formulas to Create Time Duration Sequence by Selections

    in X4

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    in Z4

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,372

    Re: Formulas to Create Time Duration Sequence by Selections

    Remove ALL expected results first, then in X4:

    =SEQUENCE(ROUNDUP((V7-V4)/(V10/24/60),0),,V4,V10/24/60)

    and in Z4:

    =SEQUENCE(ROUNDUP((V7-V4)/(V10/24/60),0),,V10/60/24,V10/60/24)
    Attached Files Attached Files
    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.

  4. #4
    Forum Contributor
    Join Date
    02-26-2023
    Location
    Lousianna
    MS-Off Ver
    Microsoft 365
    Posts
    937

    Re: Formulas to Create Time Duration Sequence by Selections

    Thank you both @JohnTopley and @AliGW. 2 great methods with expected results.


  5. #5
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,372

    Re: Formulas to Create Time Duration Sequence by Selections

    You're welcome.

+ 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] Using SEQUENCE Array Formulas - Varying Repeating Sequence
    By takoyaki in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-29-2022, 06:43 AM
  2. Time Duration as VALUE in Logical Formulas
    By mynameispaper in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-12-2017, 10:49 PM
  3. Replies: 1
    Last Post: 04-06-2016, 11:21 AM
  4. creating a custom pattern/sequence based on input freq./duration and priority
    By akamenov88 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-30-2015, 05:00 PM
  5. Replies: 2
    Last Post: 07-14-2015, 02:12 PM
  6. [SOLVED] How to create a real time report with on/off time and duration?
    By Why123 in forum Excel General
    Replies: 7
    Last Post: 11-21-2013, 02:01 AM
  7. Calculate finish time given start time, working hours and job duration
    By swanseaexcel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2012, 03:00 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