ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Turning a time value into a numeric value (https://www.excelbanter.com/excel-discussion-misc-queries/185637-turning-time-value-into-numeric-value.html)

DubboPete

Turning a time value into a numeric value
 
Hello all,

I have a calculated time value which records the time I spend on
database work for a client. it shows the hours worked in the cell as
"6:45" (6 hours and 45 minutes database work).

CELL A CELL B CELL C
START FINISH TIME WORKED

12:30 19:15 6:45

I'd like to be able to calculate in another cell, say Cell D, the
value of 6hrs 45mins at $nn.nn per hour, so if I got paid $10 per
hour, the calculated cell would reflect $67.50...

Would someone please help with the formula?

thanks in anticipation

DubboPete

Pete_UK

Turning a time value into a numeric value
 
Try this in D2:

=C2*24*rate

where rate is your hourly rate. Format the cell as currency.

Hope this helps.

Pete

On Apr 30, 12:49*pm, DubboPete wrote:
Hello all,

I have a calculated time value which records the time I spend on
database work for a client. * it shows the hours worked in the cell as
"6:45" (6 hours and 45 minutes database work).

CELL A * * CELL B * * CELL C
START * * * FINISH * * TIME WORKED

12:30 * * * * 19:15 * * * *6:45

I'd like to be able to calculate in another cell, say Cell D, the
value of 6hrs 45mins at $nn.nn per hour, so if I got paid $10 per
hour, the calculated cell would reflect $67.50...

Would someone please help with the formula?

thanks in anticipation

DubboPete



DubboPete

Turning a time value into a numeric value
 
On Apr 30, 9:52*pm, Pete_UK wrote:
Try this in D2:

=C2*24*rate

where rate is your hourly rate. Format the cell as currency.

Hope this helps.

Pete

On Apr 30, 12:49*pm, DubboPete wrote:



Hello all,


I have a calculated time value which records the time I spend on
database work for a client. * it shows the hours worked in the cell as
"6:45" (6 hours and 45 minutes database work).


CELL A * * CELL B * * CELL C
START * * * FINISH * * TIME WORKED


12:30 * * * * 19:15 * * * *6:45


I'd like to be able to calculate in another cell, say Cell D, the
value of 6hrs 45mins at $nn.nn per hour, so if I got paid $10 per
hour, the calculated cell would reflect $67.50...


Would someone please help with the formula?


thanks in anticipation


DubboPete- Hide quoted text -


- Show quoted text -


Works fantastic - cheers mate!

Pete

Pete_UK

Turning a time value into a numeric value
 
From one Pete to another - you're welcome!

Pete

On Apr 30, 1:05*pm, DubboPete wrote:

Works fantastic - cheers mate!

Pete



All times are GMT +1. The time now is 01:17 PM.

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