+ Reply to Thread
Results 1 to 4 of 4

Converting Time into Number and Dividing in Excel

  1. #1
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Question Converting Time into Number and Dividing in Excel

    Hi All,

    I am looking for a way to calculate time to 1 point for every 15 minutes. The remaining time should add 1 point if > 7 minutes and 0 points if < 7 minutes.

    Example,
    1. 0:50:00 <---convert into number format =HOUR(C7)+MINUTE(C7)/15
    2. Will need to divide 50/15 = 3.33 after converting time into number format.

    From the example above where it is 0:50 minutes, the child received only 3 points because there was an excess time of 5 minutes.
    15*3 = 45 + (5 minutes extra) = 50 minutes. The 5 minutes extra is < 7 minutes, therefore the child received 0 points. If it was > 7 minutes the child would have received an additional point.

    Is there a formula to configure time into the point system as indicated above?

    Workbook: Time.xlsx

    Any help is much appreciated.

    Thank you,
    Newb
    Last edited by newbie4; 09-22-2014 at 04:02 AM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Converting Time into Number and Dividing in Excel

    In C5 Cell


    =INT(TEXT(B5,"[m]")/15)


    In D5 Cell


    =IF(MOD(TEXT(B5,"[m]"),15)<7,0,1)


    Drag both the formula's down...


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    08-08-2012
    Location
    USA, CA
    MS-Off Ver
    Excel 2007
    Posts
    131

    Re: Converting Time into Number and Dividing in Excel

    Hi Sixthsense,

    Thank you for answering my question. I tried the below formula, but your formula is easier to follow. THANKS!!

    Solved:
    C7 = 0:50
    D7 = HOUR(C7)+MINUTE(C7)/15
    E7 = D7 - INT(D7) <-- this separates the decimal
    F7 = IF(E7>0.46,1,0) <-- this shows 1 point if > 7 minutes, 0 < 7
    G7 = INT(D7)

    = G7+F7 <-- 4 points



    Newb

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Converting Time into Number and Dividing in Excel

    ...and another

    C5
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    D5
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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] Converting an elapsed time in decimal number format to an actual time :S
    By Spicey_888 in forum Excel General
    Replies: 3
    Last Post: 07-20-2014, 08:53 PM
  2. [SOLVED] Dividing time with time or number
    By Equipoise in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-05-2013, 11:34 AM
  3. [SOLVED] Dividing time by a number (distance) to find pace
    By nharvey4 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-24-2013, 12:37 PM
  4. [SOLVED] dividing a number amongst 3 textboxses with "1" number at a time
    By Leandrial in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-06-2012, 10:07 PM
  5. [SOLVED] dividing a number by a time in excel
    By Adam B Schmitt in forum Excel General
    Replies: 6
    Last Post: 05-03-2012, 08:21 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