Skip to main content

How To Use "IF" Formula in MS Excel.

IF Formula in MS Excel

MS Excel formulas are the easiest way to understand: MS Excel If Formula is very important and easy to use. It is a logical formula, where you will have to apply your own logic. So that you can easily find out the result. As a result, we can get True or False values, or also we can put the value as per our choice according to a true or false results. It works fast and is easy to apply. If you would like to learn MS Excel so there are few formulas, where you must have a good command. 

Formula:  “IF

If you are a daily excel user, you must know the uses of “IF” Formula.

1 - It is a condition-based formula

2 - We must have at least two conditions. A-True...   B-False...

3 - Syntax is :

IF(logical_test input cell (eg. A1), {value_if_true}, {value_if_false})

This blog will provide you the syntax and uses of IF formula. You can use IF formula within the worksheet, different worksheets, and create links among the workbooks.

Example: 1  -  Simple form of "IF" formula: 

In you have only one value A1 = 1 (A1 is the cell reference in MS Excel spreadsheet)

Formula:

=if(A1=1,"Pass","Fail")    -- Formula

Explanation: If cell A1 is 1 - Result is "Pass" or if A1 is blank or zero then the result will be "Fail".

Let's suppose cell A1 has a value of 1, then the result will reflect "Pass"

Let's suppose cell A1 has no value or any value except 1, then the result will reflect "Fail"

Example : 2

If you would like to see 1 as Pass and 0 as fail, please have a look formula below

=if(A1=1,"Pass",if(A1=0,"Fail",0))

Explanation:
1 - A:1 is your cell reference or your input cell.
2 - Your output must be covered by " " ("inverted commas")
3 - Last zero (0) is an indication of no value, which means if you have neither 1 nor 0 then your output will automatically give you a 0 (zero) result.


IF Formula



=if(logical test, if true, if false)

A:10 TO A:15 is the cell reference or you can say, where we have to put the input to get the final result. The image is given above, is a good example and you can easily understand all the scenarios. You can also create multiple conditions with your IF Function. It is the basic IF Function in Excel, it is important to understand the basic function then you can use it anywhere. 

You can write in the comment box below.  
For more excel query you can ask.



Topic Covered : if function excel multiple conditions | if function excel with text | how to use ifand or function together in excel | how to use if function in excel yes or no | how do you write an if then formula in excel | multiple if formula in excel | if then formula excel | nested if function excel | if function excel - multiple conditions | if function excel with text | multiple if formula in excel | nested if function excel | or function excel | how to use if function in excel yes'' or no


IF function | Logical test | Condition | True value | False value | Nested IF | Multiple conditions | Logical operators | Comparison operators | Conditional formatting | IFERROR function | IFNA function | IF with AND | IF with OR | IF with NOT | IF with ISBLANK | IF with ISNUMBER | IF with ISTEXT | IF with VLOOKUP




Comments

Popular posts from this blog

How To Use “RANK” & “RANK.AVG” Function in MS Excel.

Use of “ RANK ( ) ” , “ RANK.EG ( ) " and “ RANK.AVG ( ) ” Function Rank formula in MS Excel is very commonly use.It is easy and useful. In this article, we will describe the functionality of the RANK formula for example. We have many Rank formulas in MS Excel and here you will fill in all details about Rank Function. We will learn here:  How to use Rank(). How To Apply Rank() In Excel. What is RANK.EG() Function. Function “ RANK  () ” and “ RANK.EG ( ) " Syntex:       =RANK(number,ref,[order])    &    =RANK.EG(number,ref,[order]) Explanation: Now you can see two different formulas of Rank. One Rank() and Rank.EG() formula. So the question is what is the difference between both of them. We can say both are the same function and the output is also same. The  the difference is RANK.EG() is not supporting with the new version of Microsoft Excel 2010. Let suppose if we have some student data with their percentages and we would like to know the rank wise list of the

How To Use Microsoft Excel Formula "CONCATENATE"

Use of  "CONCATENATE" Formula Formula :  " CONCATENATE ” In Microsoft Excel, CONCATENATE is a function, by which we can join two or more strings into a single cell. It can be used to combine text strings, numbers, or cell references, and can be useful for creating longer strings of text or for formatting data in a specific way. The syntax for the CONCATENATE function is as follows: =CONCATENATE (TEX1,TEX2, TEX3, TEX4 ................) Explanation: CONCATENATE is a very useful function in Microsoft Excel. We can join up to 30 texts together at a time. We can use CONCATENATE within the sheet, different sheets, and different workbooks. Let's suppose we have huge data with employees' names and we want to add Mr. Ms. Miss etc, before the names. It is not easy and time consuming to add Mr. or Miss. one by one. But there is a formula named CONCATENATE, could help to reduce time taking work do your work easily and very quickly. In order to understand

How To Use VLOOKUP In Microsoft Excel

" VLOOKUP " in Microsoft Excel . MS Excel formulas: The easiest  way to understand Syntax and usage : The most important and magical MS Excel formula is VLOOKUP. It's a great and very useful formula. Without Vlookup knowledge in Excel is like a person without a soul. We use Vlookup very often when we make reports in Excel. Let's start..  Formula:  “ VLOOKUP" Explanation:   " VLOOKUP"  The most important and most useful formula in Microsoft Excel. The Use of " VLOOKUP" is to search a value respectively as per input (value in the first column, must match with both sheets or workbooks) Please follow the given below steps to understand, how to use  VLOOKUP. Step- 1 - Normal Data. Suppose we have some data in Microsoft excel Report - A.   Report-A Step: 2 - We have to search for some data from report A to Report B. Suppose we have to search the blood group from report A. Report-B Step : 3 - In order to find out