Timesheet hours throwing a #Value!

jltjr75

New Member
Joined
Oct 15, 2013
Messages
25
Office Version
  1. 2021
Platform
  1. Windows
Searching has given me several ideas but it seems to not work for me.
I'm getting a #Value! while trying to "Total Hours"
Also "Hrs Worked" should be hours and minutes (not AM PM) and I don't want it to show zeros or 12 for blank start and finish times.
I think once I get the Total hours worked out I can get the "$20hr * Total Hours =" and the "plus travel pay ="

My Google Test Sheet:
1625945871009.png
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi jltjr75

You need to make the sheet public.

I logged in incognito because I thought I had already made it public. It seems to be.
 
Upvote 0
I am not familiar with google docs/sheets so the best I could do is:

Temp.PNG
 
Upvote 0
I am not familiar with google docs/sheets so the best I could do is:
I appreciate it JohnnyL. This is actually my first googlesheets attempt. I was able to get that far but when I multiplied it by 20/hr the numbers didn't add up as you can tell on the spreadsheet now. It totals up to $34.38
 
Upvote 0
I see you've fixed the #VALUE error but remember time is measured as fractions of a day, so 41 hours and 15 minutes is actually held as 1.71875, or almost one and three quarter days.

To get the hourly rate you need to multiply by 24 so
=E2*20*24
 
Upvote 0
I see you've fixed the #VALUE error but remember time is measured as fractions of a day, so 41 hours and 15 minutes is actually held as 1.71875, or almost one and three quarter days.

To get the hourly rate you need to multiply by 24 so
=E2*20*24
Thank you for that explanation Toadstool. I know in excel I can write the script to not show the zeros or empty spaces. I know conditional formatting would do it but I was wanting to put it in the formula like excel if possible.
 
Upvote 0
How about
Excel Formula:
=IFERROR(1/(1/(D4-C4)),"")
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,396
Messages
6,171,866
Members
452,427
Latest member
samk379

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top