Question : Excel paysheet

Hi this is a follow up to a earlier question answered by Byundt
If I want to enter in a another cell total normal hours ie:38 or less say employee only works 3 days =24
how can I cchange the last solution I got to reflect this. I can get it to enter 38 ok even if the employee works more hours, but I stuggle to total less hours.
From the earlier formula it was based on any thing more than 8 hrs a day, what if it is less
I have attached an example and where it says false I want to insert the actual Normal hrs for the week under 38
Regards
Planner

Answer : Excel paysheet

Mel,
The following formula works similarly to Blaise's suggestion, but is a tad shorter.
=IF(AH4="","",MIN(AH4,38))          formula for AI4--returns either empty string or actual hours (up to 38)

Brad
Random Solutions  
 
programming4us programming4us