Create an IF formula for "greater than" in numbers.

Hi all..


I'm trying to create a formula that will have the following example,

If B1 is lower than A1 then show B1.


If anybody knows how to do it please leave a comment..

Thank you very much in advance.

Posted on Feb 27, 2022 5:14 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 27, 2022 7:19 AM

unsafe13 wrote:

If B1 is lower than A1 then show B1.


You can try something like this:




=IF(B1<A1,B1,"")


Or, if your region uses , as a decimal separator, you would use:


=IF(B1<A1;B1;"")


You can learn more about the IF function, with illustrative examples, here:


IF - Apple Support


IF(if-expression, if-trueif-false)


I found that explanation, and many others, by going to Help > Formulas and Functions Help in the menu.


SG

2 replies
Question marked as Top-ranking reply

Feb 27, 2022 7:19 AM in response to unsafe13

unsafe13 wrote:

If B1 is lower than A1 then show B1.


You can try something like this:




=IF(B1<A1,B1,"")


Or, if your region uses , as a decimal separator, you would use:


=IF(B1<A1;B1;"")


You can learn more about the IF function, with illustrative examples, here:


IF - Apple Support


IF(if-expression, if-trueif-false)


I found that explanation, and many others, by going to Help > Formulas and Functions Help in the menu.


SG

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Create an IF formula for "greater than" in numbers.

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