Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to write a if statement

I need to create a formula to calculate the total number of regular hours worked.

I need the new cell to = 80 if the total number of hours worked is greater than 80 and if it is less than 80 to = the original number for hours worked.

iMac, iOS 8.4

Posted on Oct 8, 2015 8:50 AM

Reply
Question marked as Best reply

Posted on Oct 8, 2015 9:25 AM

assuming you enter the hours in cell B2


the formula would be:

=min(B2, 80)


another way is:

=if(B2 > 80, 80, B2)

2 replies

How to write a if statement

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.