Avatar of Frank Freese
Frank Freese
Flag for United States of America asked on

Time Sheet Calcuation

Folks,
I need a little help on calculating time difference then multiplying that result times an hourly rate.

For example:
Start Time is 9:30 AM
End Time: 1:00 PM
Hours worked: 3.5
Hourly Rate: $40
Therefore, the amount to record to invoice = $87.50
I'm having a problem with my time subtraction to return 3.5 as number rather than 3.3 as time
Microsoft Excel

Avatar of undefined
Last Comment
Frank Freese

8/22/2022 - Mon
Glenn Ray

Sounds like you're entering decimal values for time instead of hh:mm AM/PM

See the example sheet to show how you can calculate this.
EE-time-pay.xlsx
Naresh Patel

Try this =TEXT(B2-A2,"h:mm")

B2= end time
A2= start time

Thanks
ASKER CERTIFIED SOLUTION
Steven Harris

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Frank Freese

ASKER
Perfect
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Frank Freese

ASKER
thank you very much