+ Reply to Thread
Results 1 to 6 of 6

Changing Time to a Specific 30 minutes duration

  1. #1
    Registered User
    Join Date
    05-22-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    47

    Question Changing Time to a Specific 30 minutes duration

    Just wondering and need help if there is any way you can convert a specific time for example 12:11 AM the result will be 12:00 AM and 12:40 AM will result to 12:30 AM.

    anything between XX:00 AM/PM to XX:29 AM/PM will result to XX:00 AM/PM
    anything between XX:30 AM/PM to XX:59 AM/PM will result to XX:30 AM/PM
    Last edited by Locust; 09-21-2017 at 09:48 AM.

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

    Re: Changing Time to a Specific 30 minutes duration

    Hi Locust,

    You are looking for the MRound() function. See it at:
    https://exceljet.net/formula/round-t...est-15-minutes
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Changing Time to a Specific 30 minutes duration

    Try

    =FLOOR(A3,"00:30")

  4. #4
    Registered User
    Join Date
    05-22-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Changing Time to a Specific 30 minutes duration

    Thanks but having issues still if time is 12:15 it falls under 12:30 but should fall under 12:00. Appreciate the help Sir!

  5. #5
    Registered User
    Join Date
    05-22-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Changing Time to a Specific 30 minutes duration

    Quote Originally Posted by 63falcondude View Post
    Try

    =FLOOR(A3,"00:30")
    This works for me thank you so much!

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Changing Time to a Specific 30 minutes duration

    Happy to help. Thanks for the rep!

+ 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] Calculate OVERTIME DURATION in specific time frame
    By Intalzky in forum Excel General
    Replies: 4
    Last Post: 02-10-2017, 05:18 PM
  2. Replies: 1
    Last Post: 04-06-2016, 11:21 AM
  3. [SOLVED] How to calculate time duration in minutes using different formats
    By joeydcaro in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-14-2015, 06:48 AM
  4. How to lock an excel table based on a specific time duration using vb codes
    By souharda in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-14-2014, 02:58 AM
  5. [SOLVED] Creating a gap function between 2 time stamps and changing that to minutes
    By bigern87 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-11-2012, 04:58 PM
  6. duration calculator (in minutes)
    By opg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2008, 01:39 PM
  7. Duration of time for two dates in days, hours and minutes
    By sgrimm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2006, 09:39 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