+ Reply to Thread
Results 1 to 4 of 4

Need a formula to divide the minutes of time into intervals

  1. #1
    Registered User
    Join Date
    04-14-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010
    Posts
    37

    Need a formula to divide the minutes of time into intervals

    Is there a formula I can use to divide the minutes of a time into 2 intervals with the result being one of these two (first half or last half)?

    example I have time 9:48:34, I need the result from the formula to read "last half" because the minutes are between :30 & :59.

    But if I have time 9:12:46 then I need the result to read "first half" because the minutes are between :00 & :29.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,825

    Re: Need a formula to divide the minutes of time into intervals

    The MINUTE() function will return the minute part of a date/time value -- assuming these times are stored as actual numbers and not text: https://support.microsoft.com/en-us/...d-a84801a60589 Then you can use an IF() function to perform the decision logic. Something like =IF(MINUTE(time)<30,"first half","last falf")
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Need a formula to divide the minutes of time into intervals

    Hi benji,

    I think you want the Minute() function and then followed by an If(). See the attached where column A is random times and B is the Minute extractor and the C is the If statement.
    Minute Splitter.xlsx

    Looks like MrShorty and I agree on your answer....
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    04-14-2014
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Need a formula to divide the minutes of time into intervals

    This formula worked perfectly! Thank you so much

+ 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] Divide number by minutes
    By ID015 in forum Excel General
    Replies: 6
    Last Post: 08-08-2017, 10:00 AM
  2. [SOLVED] Time interval: extract minutes into other intervals
    By jsr1212 in forum Excel General
    Replies: 16
    Last Post: 04-12-2017, 10:39 AM
  3. A formula for certain time intervals
    By hsalim in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-26-2016, 11:05 AM
  4. Converting Data in Irregular Time Intervals into Regular Time Intervals
    By AlexJT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2011, 02:42 AM
  5. Need to Transpose Irregular Time Intervals into Regular Time Intervals
    By AlexJT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2011, 08:30 PM
  6. [SOLVED] Excel should let me divide and multiply time intervals
    By b.garmon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-24-2006, 06:45 PM
  7. [SOLVED] what is the formula for adding up time intervals?
    By thinkrabbit in forum Excel General
    Replies: 4
    Last Post: 05-24-2006, 02:10 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