The If formula has three parts: Test,ValueIfTrue,ValueIfFalse. You only provided a ValueIfTrue so when the False state is triggered you didn't tell the formula what to do. That is fixed by adding that to the formula in cell F6
=IF(H6>=7.6,7.6,H6)
But I would use a simpler formula in cell F6 and then copy it down
=MIN(7.6,H6)
That will give you the actual hours up to a maximum of 7.6
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|