+ Reply to Thread
Results 1 to 8 of 8

Convert Time to hour and mins

  1. #1
    Registered User
    Join Date
    11-06-2023
    Location
    Canada
    MS-Off Ver
    MS365
    Posts
    40

    Convert Time to hour and mins

    Hello again. It's me again.

    Can you give a formula on how I convert the first time interval. I attached the sample file.
    Note: only the first time interval not the second one.

    Result should be like this:

    Hour Convert - Minutes Convert
    12:00 - 30:00
    15:00 - 00:00
    10:00 - 00:00
    8:00 - 00:00

    and so on.


    THANK YOU in advance.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by thealndyn; 04-17-2024 at 01:16 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,897

    Re: Convert Time to hour and mins

    Hi and welcome to the forum

    Pictures are of little value. Honestly, no one wants to re-type your data to try and solve your issue. Additionally, we would only be guessing at how your data was structured, ie. formulas, formatting, etc. Additionally, due to how some browsers behave, many of our members cannot see uploaded pictures/images. Please do not take this route.

    Please attach a sample file that represents what you have. The structure of your attachment should be the same structure as your actual data. Any proprietary information should be changed.

    Include in the attachment any code you're currently using (whether it works or not) and an "After" of what you wish the output to be.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    11-06-2023
    Location
    Canada
    MS-Off Ver
    MS365
    Posts
    40

    Re: Convert Time to hour and mins

    Sorry for that. I attached the sample file. thank you

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,990

    Re: Convert Time to hour and mins

    I don't understand your expected results - what's the logic?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    11-06-2023
    Location
    Canada
    MS-Off Ver
    MS365
    Posts
    40

    Re: Convert Time to hour and mins

    the given example on the column (interval 30 mins), I only want the first TIME which is 00:30
    at the same time, I want to convert the 00 - 12 (12hr format) and the :30 minutes convert. does that make sense?

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,990

    Re: Convert Time to hour and mins

    No. Not at all - sorry. How can 00:30 become 12:00? Utterly baffled ...

  7. #7
    Registered User
    Join Date
    11-06-2023
    Location
    Canada
    MS-Off Ver
    MS365
    Posts
    40

    Re: Convert Time to hour and mins

    Thanks for the help. I figure it out.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,990

    Re: Convert Time to hour and mins

    Please share the solution for everyone's benefit.

+ 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] Convert hours:mins (formatted as date) to hour value
    By Fionn Phelan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-25-2019, 06:45 AM
  2. Replies: 3
    Last Post: 01-22-2016, 01:44 AM
  3. [SOLVED] Need Help to convert a string containing Day, Hour, Mins, Seconds to Minutes
    By aSquared in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-02-2014, 06:43 AM
  4. VBA to convert 12 hour to 24 hour time
    By Krrattner in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2012, 06:59 PM
  5. Replies: 3
    Last Post: 05-22-2012, 03:26 PM
  6. Convert 12 hour to 24 hour time
    By RussellNonBrand in forum Excel General
    Replies: 5
    Last Post: 01-26-2011, 03:01 PM
  7. How to convert numeric value to mins and addimg mins to Hrs.
    By ramana in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-28-2005, 06:05 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