+ 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
    44

    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
    14,940

    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
    2016
    Posts
    5,872

    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
    44

    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
    44

    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
    2016
    Posts
    5,872

    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)

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