Excel time value formula

skaggsHD1

New Member
Joined
Nov 28, 2017
Messages
10
Our time is off on payroll about 6 minutes. It is not our time clock. I checked the formulas and the time value formula comes back as false for the sum of the time clocking in and clocking out. I’m not too familiar with this. Just took this over. Can someone help with this his?
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Do you have the formula, the current outcome and your expected outcome? Cell locations for the inputs would be good also.
 
Upvote 0
Here is the time value formula that comes back as being false =IF(AND(K5>=TIMEVALUE("12:00:00"),L5<=TIMEVALUE("12:00:00")),(L5+(1-K5))*24,(L5-K5)*24)

The logical test comes back as this AND(K7>=TIMEVALUE("12:00:00"),L7<=TIMEVALUE("12:00:00")) it says false.

How do I load the actual excel file for the employees hours for you to see?
 
Upvote 0
There is an option to upload in the Advanced reply or when you post, but I believe it doesn't work. Dropbox or a file sharing platform is the best idea to share a link.

May not be needed though.

What are the values in K7 and L7 that return a false?
 
Upvote 0
I did, perhaps i'll rephrase.

What times do you have that are giving you the incorrect result?

The formula is fine, the reason you are getting the FALSE is when the times do not meet the 2 conditions.

=AND(K5>=TIMEVALUE("12:00:00"),L5<=TIMEVALUE("12:00:00"))

So if K5 = 13:00:00 and L5 = 12:00:00 you'd get TRUE.
if K5 = 12:00:00 and L5 = 14:00:00 you'd get FALSE.
 
Last edited:
Upvote 0
Forgive me for me being stupid. I am completely confused about the time thing. The times we have are the ones we clock in and out with. When I click on those times there is not a formula in those cells. Should there be?
 
Upvote 0

Forum statistics

Threads
1,215,357
Messages
6,124,482
Members
449,165
Latest member
ChipDude83

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