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

WebThe first result is if your comparison is True, the second if your comparison is False. For example, =IF (C2=”Yes”,1,2) says IF (C2 = Yes, then return a 1, otherwise return a 2). Syntax Simple IF examples =IF (C2=”Yes”,1,2) In the above example, cell D2 says: IF (C2 = Yes, then return a 1, otherwise return a 2) =IF (C2=1,”Yes”,”No”)

**DA:** 41 **PA:** 75 **MOZ Rank:** 7