**IF function - support.microsoft.com**
https://support.microsoft.com/en-us/office/if-function-69aed7c9-4e8a-4755-a9bc-aa8bbff73be2

Excel for Microsoft 365 Excel for Microsoft 365 for Mac More...The IF function is one of the most popular functions in Excel, and it allows you to make logical comparisons between a value and what you expect. So an IF statement can have two results. The first result is if your comparison is True, the secon…For example, =IF (C2=”Yes”,1,2) says IF (C2 = Yes, then return a 1, otherwise return a 2).

Excel for Microsoft 365 Excel for Microsoft 365 for Mac More...The IF function is one of the most popular functions in Excel, and it allows you to make logical comparisons between a value and what you expect.

So an IF statement can have two results. The first result is if your comparison is True, the secon…For example, =IF (C2=”Yes”,1,2) says IF (C2 = Yes, then return a 1, otherwise return a 2).

**DA:** 65 **PA:** 2 **MOZ Rank:** 94