+ Reply to Thread
Results 1 to 7 of 7

Convert time into Decimel

Hybrid View

  1. #1
    Registered User
    Join Date
    02-27-2013
    Location
    KSA
    MS-Off Ver
    2011 MAC & Mac 2015
    Posts
    54

    Convert time into Decimel

    Goodmorning all,

    i need urgent help as im stuck with this.

    to convert time into decemel i believe this is the formula
    =HOUR(Cell Number)+MINUTE(Cell Number)/60

    so,

    lets say if
    A1 : 07:00
    A2 : 08:30

    then
    B1 should be =(A2-A1) which is 1hr 30 Min

    i can convert that number in another cell for Example :
    B2 =HOUR(B1)+MINUTE(B1)/60 which will give me 1.5

    i dont want this. i want B2 and B1 in the same cell .. meaning :

    i want the result in B1 to be 1.5 ...not 1hr 30min . i dont want 2 cells to get my result i want .
    also keep in mind that i want the number to be rounded
    each 6 minute = .1

    purpose of this excel formula is for aviation industry .. calculting flight time and block time


    thank you for your help


    regards,
    Hani

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Convert time into Decimel

    Try

    =(A2-A1)*24

  3. #3
    Forum Contributor
    Join Date
    01-25-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    434

    Re: Convert time into Decimel

    Quote Originally Posted by guitarist00 View Post
    then
    B1 should be =(A2-A1) which is 1hr 30 Min

    i can convert that number in another cell for Example :
    B2 =HOUR(B1)+MINUTE(B1)/60 which will give me 1.5
    =HOUR(A2-A1)+MINUTE(A2-A1)/60

    if it's working for you using 2 cells, to reduce it into one cell, replace the cell reference in the formula with the calculation it was doing

  4. #4
    Registered User
    Join Date
    02-27-2013
    Location
    KSA
    MS-Off Ver
    2011 MAC & Mac 2015
    Posts
    54

    Re: Convert time into Decimel

    thx!

    that was fast and Easy

    lol

    regards,
    Hani

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Convert time into Decimel

    You're welcome.

  6. #6
    Registered User
    Join Date
    02-27-2013
    Location
    KSA
    MS-Off Ver
    2011 MAC & Mac 2015
    Posts
    54

    Re: Convert time into Decimel

    thx all. that was very helpfull

    i have another question ill post soon which is more complicated . i give up with the next one after couple of hours lol


    regards,
    Hani

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Convert time into Decimel

    Time in excel is already a decimal. It just gets formatted in a way that we see as time. So just format the answer to general or number - no need for any other formula
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. How to add whole & decimel quantities in separate columns?
    By Superflybriguy in forum Excel General
    Replies: 3
    Last Post: 11-15-2011, 02:47 PM
  2. Convert Time to decimel
    By pshipman in forum Excel General
    Replies: 1
    Last Post: 11-04-2008, 06:35 AM
  3. [SOLVED] Show DateValue as Text not decimel
    By Kathy S in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-19-2006, 02:25 PM
  4. Steps to deleting decimel in excel-ex. 3.24 to 324
    By using excel in forum Excel General
    Replies: 2
    Last Post: 11-04-2005, 10:30 PM
  5. setting a floating decimel point
    By Rose in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 04-29-2005, 02:06 PM

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