+ Reply to Thread
Results 1 to 7 of 7

Expressing time elapsed as falling between a specific interval

  1. #1
    Registered User
    Join Date
    03-17-2015
    Location
    Canada
    MS-Off Ver
    Windows 7
    Posts
    3

    Expressing time elapsed as falling between a specific interval

    Hi

    I know how to calculate time elapsed in hours using simple formulas in Excel, but it would be exceedingly helpful to be able to express the time elapsed as falling in specific intervals, i.e. <1 hour, 1-6 hours, 6-24 hours and > 24 hours. Is there an easy way to do this?

    thanks !

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,937

    Re: Expressing time elapsed as falling between a specific interval

    Sure - use a nested IF - for a starting time in A2 and a end time in B2:

    =IF(B2-A2<1/24,"< 1 hour",IF(B2-A2<=6/24,"1-6 hours",IF(B2-A2<=1,"6-24 hours",">24 hours")))
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Expressing time elapsed as falling between a specific interval

    Sure. I'd use a table to interpret the values and then look them up.
    Attached Files Attached Files
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,366

    Re: Expressing time elapsed as falling between a specific interval

    Another approach, please find the file attach

    see u
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-17-2015
    Location
    Canada
    MS-Off Ver
    Windows 7
    Posts
    3

    Re: Expressing time elapsed as falling between a specific interval

    Awesome, thanks ! I tried and modified it and it worked like a charm!

  6. #6
    Registered User
    Join Date
    03-17-2015
    Location
    Canada
    MS-Off Ver
    Windows 7
    Posts
    3

    Re: Expressing time elapsed as falling between a specific interval

    Thanks! I really appreciate the help!

  7. #7
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Expressing time elapsed as falling between a specific interval

    Cool. Glad we could help out.

+ 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] How to count days from the list in specific interval of time?
    By Kardanas in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-07-2012, 05:26 AM
  2. interval in specific time
    By pan_arshad in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-18-2012, 04:19 AM
  3. Replies: 0
    Last Post: 04-23-2012, 10:06 AM
  4. Using Module to Break Time Elapsed into two categories based on Interval
    By staplegunz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2011, 09:45 PM
  5. Replies: 2
    Last Post: 04-27-2011, 08:21 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