Course Content

Course Content

If Condition in MS Excel

How To Use If Condition


Now we will see that how we can use if condition in MS Excel.

If condition in MS Excel is quite similar to if condition which we use for our programming languages.

Now to use if condition in our Excel sheet we can write it as a formula, such as '=if(G3>15,H3+2000,H3' where G3 is Years in Company and H3 is Salary.

From this example we want to show that, whosever years are greater than 15 in this company will receive 2000 Rs. bonus in their salary.

So now when we will implement our if statement we will observe that whosesoever years are more than 15 in this company will receive bonus while others will receive their usual salaries.

Now we can also add another if statement inside an if statement. For example '=if(G3>15,H3+2000,if(G3>10,H3+1000,H3))' where G3 is Years in Company and H3 is Salary.

From this example we want to show that who's ever years are greater than 15 in this company will receive 2000 rupees bonus in their salary, and also those who are above 10 years will received thousand rupees as bonus.

So this is how if condition works in MS Excel.


IF function in MS Excel is a powerful tool for making decisions based on logic. Powerful enough to make a fortune with. Powerful enough to solve your business problem. The IF function has an optional parameter that accepts a condition, so it can be used for different purposes. With MSExcel's IF function, you can make logical comparisons between any value and what you expect. So an IF statement could have two results. If the first result is true, then the second result is false.

If you want to make a decision, you may need to test out your hypothesis by running a conditional statement that will decide what happens if your hypothesis is true or false. The IF function is an Excel function that lets us determine whether a specific value is true or false. It is used to perform conditional actions on the data in the cells of the spreadsheet, giving it different formatting if the condition is met. The best way to use it is to build conditional formulas using relative references. We can also use it to test cell values for specific conditions, making sure that they are not empty or contain specific values.

There are two ways of linking the data from one Excel spreadsheet with that of another: Using a formula in the cell that links with the other data This is usually the case when you want to add up all your numbers and then go on to calculate some statistics. Using an external sheet that is linked to the first sheet with an opening & closing formula. As soon as you enter this line in any cell, it will link all the cells and values in it and start calculating for you. There are many benefits of linking two Excel spreadsheets together. For example, if one is a sales spreadsheet and the other is a customer database, then it can be useful to have the sales figures in the customer database so that they can create customized offers for customers who have already bought from them. The idea of data matching with Excel spreadsheets comes from CRM software. It also provides a template for financial managers so that they have an easy way to create budgets and forecast their income and expenses. There are many applications of linking data from one Excel spreadsheet to another. This allows different departments in a company to share information more efficiently which will help improve their efficiency in future projects.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
297K+ Downloads
App Download Section Circle 1
4.5 Rating
App Download Section Circle 2
10K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere