ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Hours multiplied by money (https://www.excelbanter.com/excel-worksheet-functions/73198-hours-multiplied-money.html)

Eileen

Hours multiplied by money
 
I'm sure somebody knows this one. I need to get my hours worked when not
complete hours to multiply by a number that represents the hourly pay; what
is the formula when Excel counts 30 mins as .30 of an hour?

Dav

Hours multiplied by money
 

Mod(decimal hours,1) will get you part hour
if this is divided by 0.6 you will get your decimal minutes
so multiply this by the hourly rate

if minutes in cell A1 and rate is in b1
mod(a1,1)/0.6*b1 will work out the payment


if hours and minutes are in A1

(int(a1)+mod(a1,1)/0.6)*b1 will work out the payment

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=515275


daddylonglegs

Hours multiplied by money
 

Eileen Wrote:
I'm sure somebody knows this one. I need to get my hours worked when
not
complete hours to multiply by a number that represents the hourly pay;
what
is the formula when Excel counts 30 mins as .30 of an hour?


Don't you want 30 minutes to convert to 0.5?

If you have time worked in hh:mm format in A1 and hourly rate in B1

=A1*B1*24


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=515275



All times are GMT +1. The time now is 08:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com