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

Top 10 Job Oriented Certificate Courses

Hello Friends and students. Life is very fast these days and we want some shortcut to become successful in our life. Maximum students want to get a job as soon as possible after completing their studies. Here we will suggest the top 10 job-oriented certificate courses. 1 - Project Management Professional (PMP) Certification: Globally, industries greatly value project management professional certification. It gives you the ability to manage projects successfully, including team leadership, planning, execution, and monitoring. After this course, you can handle big projects or you can assist the senior also. For All Details Click Here 2 - Certified Data Scientist: Making informed business decisions requires data science. This certification prepares you to analyze and interpret complicated data by covering statistics, machine learning, data visualization, and programming abilities. Data scientist is the most demanding course during this period. If you are good to play with huge databases a...

How To Use "LEFT" & “ RIGHT" Formulas in MS Excel.

Uses and explanation of "LEFT" & “ RIGHT Formulas. MS Excel formulas: Easiest way to understand Syntax and usage : Formula:  A: "RIGHT”     B:   “LEFT” =RIGHT(Text,[num_chars]) Explanation:    RIGHT formula is used to split the value inside the cell. In a cell we have a name like "John Abraham", but we don't need the full name, as per client requirement, we want only last name from the tab. In this case, we can use Right formula in MS Excel. Example:   Let suppose we have the name “Mark Henry” in a cell A:1. We would like to take only “Henry” from the cell. See below, how can we pull the last name by the RIGHT formula.  =RIGHT ( E9 , 6 ) You can see in the above table that we can separate Hanery name with using RIGHT formula. Name: Mark Hanery. Query:  We want to separate the last name only.  Formula = Right(E9,6)  Result: Hanery E9 is the cell reference and 6 is the number of...

What is Project Management Professional Certification

The Project Management Professional (PMP) certification is one of the most widely recognized and respected credentials in the field of project management. It is offered by the Project Management Institute (PMI), a globally recognized professional organization for project management practitioners. The PMP certification signifies a high level of expertise and proficiency in project management principles and practices. Below are the full details about the PMP certification: Eligibility Requirements: To be eligible for the PMP certification, candidates must meet certain educational and professional experience criteria: 1 - Educational Background: A four-year degree (bachelor's degree) or global equivalent. Minimum a high school diploma, associate's degree, or global equivalent) in conjunction with additional project management experience. 2 - Project Management Experience: With a four-year degree: A minimum of three years of unique non-overlapping professional project management ex...