+ Reply to Thread
Results 1 to 3 of 3

Ever-elusive time to decimal formula

  1. #1
    Forum Contributor
    Join Date
    11-04-2015
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2010
    Posts
    114

    Ever-elusive time to decimal formula

    Downloaded some data from a database. Output is a time format that I need in decimal format in order to work with.

    Typical formulas I know did not work.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,437

    Re: Ever-elusive time to decimal formula

    The underlying values in column D represent "days," so I tried a simple CONVERT() function (or any equivalent) =CONVERT(D2,"day","hr"). If Excel defaults to some kind of time formatting, format with your favorite number format (general or 0.00 or whatever you like).
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    11-04-2015
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2010
    Posts
    114

    Re: Ever-elusive time to decimal formula

    Thanks!
    I learned a new formula too.
    This solved my problem easily and perfectly.

+ 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. Time Difference between 2 dates as a decimal - nested in SUMIFS formula
    By ajwilltravel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-21-2022, 06:37 PM
  2. That elusive ODBCConnection object
    By Sidewinder72 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-23-2020, 05:10 AM
  3. Formula or Condition to convert decimal to time
    By Por2gal in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-02-2020, 05:10 AM
  4. [SOLVED] Convert decimal to 00:00:00 time format. Formula help!
    By simplyxl in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-10-2014, 11:19 AM
  5. [SOLVED] Need a FORMULA to convert a decimal into TIME
    By acsishere in forum Excel General
    Replies: 2
    Last Post: 05-22-2012, 09:21 AM
  6. Replies: 5
    Last Post: 04-29-2010, 03:46 PM
  7. [SOLVED] Elusive Problem with Arrays
    By dgp@dodgeit.com in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-28-2005, 08:06 PM

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