Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7917729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T15:14:57+00:00 2026-06-03T15:14:57+00:00

I have time represented by a decimal number that I need to convert to

  • 0

I have time represented by a decimal number that I need to convert to minutes and seconds in Excel using VBA.

Example:
The number before the decimal point gives the minutes as 0.197683577 (0 minutes)
and the number multiplied by 60 gives the seconds = 0.197683577*60 = 11.86101462 (12 seconds)
= 0:12

I know I could do this by copying and pasting into text format and separating the number to the left and right using text to columns of the decimal point and then add “:” in between but there must be a way to calculate this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T15:14:59+00:00Added an answer on June 3, 2026 at 3:14 pm

    The VBA function didn’t work for me but I found a workaround within Excel:

    =TRUNC(W11/60)&":"&IF(ROUND(((W11/60-TRUNC(W11/60))*60),0)=0,"00",ROUND(((W11/60-TRUNC(W11/60))*60),0))`
    

    Where W11 is time in the form of a decimal number like 900.3201306.
    The result is in minutes 15:00

    Basically, you take the truncated decimal minutes minus the decimal minutes+seconds to give you seconds only. Then you take the decimal seconds * 60 to give you seconds+milliseconds. Round this to give you seconds. If seconds are 0 then write “00” to get the correct format. Then add the truncated minutes plus the seconds.

    This formula seems to be working.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a time represented as a floating-point number (in seconds). I need a
I have a time represented as the number of seconds elapsed since midnight, January
I have time series data that I am currently storing in a dictionary where
In My application have time consuming process.There fore i try to do that operation
I need to learn RegEx but don't have time to figure this out right
Example, I have time zone is : Europe/London or America/Los_Angeles In Perl, I can
I have noticed that lazy sequences in Clojure seem to be represented internally as
I have a small database that I need help designing. I have a VB.NET
I have two double values that are truncated to two decimal spots. Each one
I have a fractional epoch timestamp, represented as double , that I would like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.