Jul 19 2024 10:58 AM
I want to C1 to include if B1>A1 give me zero, otherwise give me the difference between the two. I've attached a screenshot.
Jul 19 2024 11:50 AM
@Cheryl0615
Does this do what you want?
=MAX(A1-B1, 0)
Jul 19 2024 12:14 PM
That could be
=(A1-B1)*(A1>=B1)
or
=MAX(0,A1-B1)
Jul 19 2024 12:15 PM
Jul 19 2024 01:52 PM
Huh?
Jul 19 2024 02:19 PM
Jul 19 2024 02:42 PM
=(B1-A1)*(A1<=B1)
Jul 19 2024 02:48 PM