+ Reply to Thread
Results 1 to 8 of 8

A formula to multiply hour and minutes to each rate?

  1. #1
    Registered User
    Join Date
    06-06-2013
    Location
    Manila
    MS-Off Ver
    Excel Mac 2011
    Posts
    8

    Lightbulb A formula to multiply hour and minutes to each rate?

    Let's say for example I have a work overtime of 1 hour and 15 minutes (1:15). For each overtime hour, the rate is $66.56, and for each overtime minute, the rate is $1.10 (The price is bit high because I'm using the value for my country, not the dollar rate).

    In this case, the solution would be (# of hours x 66.56) + (# of minutes x 1.1) = overtime pay. Thus, (1 x 66.56) + (15 x 1.1) = 83.06 (the overtime pay that I would be receiving).

    Is it possible to encode a formula in excel in this way? That if I input the hours and minutes of overtime, the specific cell would automatically solve like this?

    I hope someone can help me! Thank you!
    Last edited by mishxco; 06-06-2013 at 10:34 PM.

  2. #2
    Registered User
    Join Date
    04-22-2013
    Location
    The Netherlands
    MS-Off Ver
    Excel 2003/2007 & 2010
    Posts
    90

    Re: A formula to multiply hour and minutes to each rate?

    If you're timestamp is in say cell A1, use =HOUR(A1) and =MINUTE(A1) to retrieve hours and minutes, than it's a matter of multiplying. Good luck!

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: A formula to multiply hour and minutes to each rate?

    ..1 x 6.56) + (15 x 1.1) = 83.06 (the overtime pay that I would be receiving).
    The result is 23.06. Not 83.06..Correct?

    Try this

    =HOUR(C1)*6.56+MINUTE(C1)*1.1

    In C1 exist (1:15). Format the result cell as General.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

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

    Re: A formula to multiply hour and minutes to each rate?

    How is it 1.1 per minute if an hour is 6.56, shouldn't the figure for minutes be 0.11?
    Audere est facere

  5. #5
    Registered User
    Join Date
    06-06-2013
    Location
    Manila
    MS-Off Ver
    Excel Mac 2011
    Posts
    8

    Re: A formula to multiply hour and minutes to each rate?

    @Mart: Thank you! You're a great help! Made me understand what to do

    @Fotis: Haha right, edited it already, thanks! I copy pasted your formula, by the way haha )

    @daddylonglegs: I'm just saying it hypothetically
    Last edited by mishxco; 06-06-2013 at 06:04 AM.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: A formula to multiply hour and minutes to each rate?

    ......................

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

    Re: A formula to multiply hour and minutes to each rate?

    Quote Originally Posted by mishxco View Post
    @daddylonglegs: I'm just saying it hypothetically
    OK, but it can make a difference to the best calculation to use - if the rate per minute is equal to rate per hour/60 (which is what you would normally expect) then there's no need to use HOUR and MINUTE separately in the formula, you can use a calculation like

    hours*24*rate, e.g. if hours are in C1 and hourly rate in D1 you can use just

    =C1*24*D1

  8. #8
    Registered User
    Join Date
    06-06-2013
    Location
    Manila
    MS-Off Ver
    Excel Mac 2011
    Posts
    8

    Re: A formula to multiply hour and minutes to each rate?

    Quote Originally Posted by daddylonglegs View Post
    OK, but it can make a difference to the best calculation to use - if the rate per minute is equal to rate per hour/60 (which is what you would normally expect) then there's no need to use HOUR and MINUTE separately in the formula, you can use a calculation like

    hours*24*rate, e.g. if hours are in C1 and hourly rate in D1 you can use just

    =C1*24*D1

    The hour and minute rate is different. We use overtime hour rate of $66.56, while the minute rate is $1.10. So I can't calculate is all based on only either hour rate or minute rate. It has to be separated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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