+ Reply to Thread
Results 1 to 6 of 6

dividing number with hours and minutes

  1. #1
    Registered User
    Join Date
    01-27-2014
    Location
    kathmandu
    MS-Off Ver
    Microsoft Excel for Mac version 16.68, Office LTSC
    Posts
    33

    dividing number with hours and minutes

    Hi
    Cell A1 contains 2, B1=220077:23
    In C1 I created a function = (2*1000)/B1, I get error. I want the answer 2000/220077h23m = 0.009087713

    Please suggest the correct way.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: dividing number with hours and minutes

    One way would be to take 220077:23 and separate into 220073 in one cell (C1) and 23 into the next (D1) then divide the 23 by 60 to get its decimal equivalent. Then recombine and do your formula on that one. =2000/D1. That gave me the answer you want.

    EDIT: I would separate them using text to columns.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: dividing number with hours and minutes

    Excel doesn't recognise input time values of 10,000 hours or more so it won't recognise 220077:23 as a time value - is that value coming from another calculation?
    Audere est facere

  4. #4
    Registered User
    Join Date
    01-27-2014
    Location
    kathmandu
    MS-Off Ver
    Microsoft Excel for Mac version 16.68, Office LTSC
    Posts
    33

    Re: dividing number with hours and minutes

    I can use the vb function to do so.. But what if i format the cell as [H] so nomore minutes. So all I have is hours left. Still when I divide 2000/220077 (formated as [H]), I dont get the value I want.
    Yes I could insert a column but still it wont look presentable.

  5. #5
    Registered User
    Join Date
    01-27-2014
    Location
    kathmandu
    MS-Off Ver
    Microsoft Excel for Mac version 16.68, Office LTSC
    Posts
    33

    Re: dividing number with hours and minutes

    Quote Originally Posted by daddylonglegs View Post
    Excel doesn't recognise input time values of 10,000 hours or more so it won't recognise 220077:23 as a time value - is that value coming from another calculation?
    Yes sir! I created a vb function to add hours more than 10000. Now I need it to divide a number I.e 2000. I was thinking If it could be done by excel functions/ formula?

  6. #6
    Registered User
    Join Date
    01-27-2014
    Location
    kathmandu
    MS-Off Ver
    Microsoft Excel for Mac version 16.68, Office LTSC
    Posts
    33

    Re: dividing number with hours and minutes

    aah, spent some time got the result. Had to use vba.
    Please Login or Register  to view this content.

+ 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. Excel 2007 : Convert number of minutes to hours and minutes
    By MikeFromIndy in forum Excel General
    Replies: 30
    Last Post: 06-05-2015, 08:10 AM
  2. Replies: 2
    Last Post: 11-05-2005, 12:25 PM
  3. How do I convert a number of minutes into hours and minutes?
    By gyrkin in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 AM
  4. [SOLVED] How do I convert a number of minutes into hours and minutes?
    By gyrkin in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. [SOLVED] How do I convert a number of minutes into hours and minutes?
    By gyrkin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-18-2005, 06:12 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