Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

when hours > "8:00" only show "8:00"

Status
Not open for further replies.

okuser

Technical User
Oct 24, 2003
16
US
I have a formula that is adding time for the day. So if people go to clock out for lunch, it adds the 2 times together to give a total for the day. Is there a way to put a condition on that formula specifing that if the hours are greater than "8:00" only show "8:00" on the report?

Thanks
 
Here is a basic formula demonstrates what you could do.
Code:
IF Time_Field1 + Time_Field2 > 8 then
    8
ELSE
    Time_Field1 + Time_Field2

~Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top