+ Reply to Thread
Results 1 to 4 of 4

challenge - complicated time calc

  1. #1
    Registered User
    Join Date
    07-04-2016
    Location
    london
    MS-Off Ver
    2013
    Posts
    3

    Red face challenge - complicated time calc

    Hi,

    I have two times, a start and end time.
    These times can be on the same day on starting one day, finishing the next day.

    For any time BETWEEN these start and end dates; I need to calc two things:

    1. time between 7pm and midnight.
    2. time between midnight and 7am.


    eg. start = 7pm end 8pm - 1 hour
    start 10pm finish 2am - 2 hours upto midnight, 2 hours upto 7am
    start start 3am finish 10am - 0 hours to midnight, 4 hours upto 7am.

    its complicated.. i've tried a few functions but keep failing

    any guru's up for the challenge?!

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: challenge - complicated time calc

    Try:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    07-04-2016
    Location
    london
    MS-Off Ver
    2013
    Posts
    3

    Re: challenge - complicated time calc

    totally correct - thanks very much!

    what a legend
    Last edited by bobthebuilder123; 07-05-2016 at 10:31 PM.

  4. #4
    Registered User
    Join Date
    07-04-2016
    Location
    london
    MS-Off Ver
    2013
    Posts
    3

    Re: challenge - complicated time calc

    totally correct - thanks very much!

    what a legend
    Last edited by bobthebuilder123; 07-05-2016 at 10:31 PM.

+ 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. Time Problem Challenge
    By architfly in forum Excel General
    Replies: 5
    Last Post: 09-14-2015, 03:08 PM
  2. Challenge summing time (mm:ss) values?
    By Mr Davo in forum Excel General
    Replies: 3
    Last Post: 12-16-2014, 08:38 PM
  3. Complicated formula with circular ref (this will be a challenge!) :P
    By neowok in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-04-2013, 10:40 AM
  4. [SOLVED] A Challenge: Complicated SUM(IF( Array Formula
    By Skeet112 in forum Excel General
    Replies: 8
    Last Post: 04-10-2012, 01:04 PM
  5. Time Calc
    By omletto in forum Excel General
    Replies: 2
    Last Post: 03-16-2011, 01:59 PM
  6. Weird calc behavior - Guru challenge?
    By JuergenL in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2006, 03:35 PM
  7. Complicated Challenge
    By lee6553 in forum Excel General
    Replies: 7
    Last Post: 07-21-2005, 10:05 AM

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