We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Excel - Multiplying A Rate By Hours
Options

chateauneufdupape
Posts: 520 Forumite
in Techie Stuff
I am trying to set up a spreadshet that calculates the hours worked and then multiply them by a rate. Cell D2 is the start time, cell D3 is the finish time, cell D4 is the hours worked (D3-D2), cell D5 is the rate and cell D6 is the total cost (D4*D5). However, whilst cell D4 gives the correct answer, D6 does not. How do i get around this?
0
Comments
-
Not too sure what your after but i tried to follow your post and made this basic example which seems to work ok. I just formatted the cells as a decimal number and the rate and total as currency. Hope it helps or let me know if im way of target lol.
Example Here0 -
I had this problem a while ago - a search for employee wages excel brought up a few results which may be of use.0
-
It seems to be related to fomatting, Cell D2 and D3 were in h:m format. I solved this using D4 "=HOUR(D3-D2)"
Thanks for the thoughts0 -
It seems to be related to fomatting, Cell D2 and D3 were in h:m format. I solved this using D4 "=HOUR(D3-D2)"
I suspect that's not what you want, you're effectively rounding down the time worked to the nearest whole hour.
Safer to use: =24*(D3-D2)
StompaStompa0 -
chateauneufdupape wrote:Cell D2 and D3 were in h:m format.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 351.1K Banking & Borrowing
- 253.2K Reduce Debt & Boost Income
- 453.6K Spending & Discounts
- 244.1K Work, Benefits & Business
- 599.1K Mortgages, Homes & Bills
- 177K Life & Family
- 257.4K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards