October Sale - 20% of all courses - Book Today

The Most Useful Function in Excel

The Most Useful Function in Excel

May 23, 2017

The IF Function in Excel

The most common function in Excel would most likely be the SUM function, but our vote is that the excel IF function is definitely the most useful.  This tutorial explains how to use the IF function and how this can become an integral part to simplifying your formula editing.

‘IF’ is a logical function that allows for two (or more) possible outcomes. It is used to check the condition of a returned value and provide one value for a TRUE condition and another value for a FALSE condition.

Let’s have a look at a basic Excel IF function in operation:

Displayed in the example below, is the monthly sales figures of 9 sale agents working at Alpheius Global Enterprises.  They were given a target of $34,000 and anyone who has achieved that target will be given a commission of 5% on their sales.


In this example, we can use the IF Function to see which employees have reached their monthly sales targets.

If the IF function is TRUE then those employees who have met their monthly sales targets will be awarded 5% commission.

However, if the argument is FALSE, they have not reached their sales targets and will receive 0% commission.

  1. To calculate, click in the cell D7 where we want our function to calculate commission of our first employee.
  2. Then click on Insert Function command in the Formula Tab and find ‘IF’ Function. Click OK.

excel exert

 

3. After you’ve clicked OK, the IF Function dialog box should open with three arguments. Let’s plug these arguments in one by one.

Building the IF Function statement

excel exert

1. Click in the first argument tab (Logical_Test) and then click on 45,000 which is the monthly sales of our 1st employee.

Notice, cell address C7 pops up in the tab. Type >= to check a condition of Greater than or Equal to and then click on 34,000 which is a target given to all agents.

Cell address of target D2 pops in the tab. As, target remains fixed for all the sales agent and we don’t want this cell to move down relative to our formula, we will lock this cell by plugging in the dollar signs $D$2. (F4 key can also be used as a shortcut). Also, notice TRUE appearing on the right side of our tab which indicates that condition stands TRUE for our 1st sales agent.

 

excel exert

 

2. Click in the second argument tab (Value_if_True). Here we wish to calculate commission which is 5% of his monthly sales. So, we will first click on 45,000 (cell address: C7), type asterisk (*) which works as a multiplication operator in Excel and then click on 5% (cell address: D3). Like target, commission also remains fixed so we will also lock this cell $D$3.

 

excel exert

 

3. Click in the third argument tab (Value_if_False). Here we will type ‘0’ as the employee did not meet the required Monthly sales target.

excel exert

4. Click OK and you will see Commission of 1st employee appears in the cell D7.

excel exert

5. Point towards the bottom right corner of the cell until you see four headed black arrow (also called fill handle). Then double click to populate the remaining cells with the IF function.

excel exert

 

There you have it! One of the most useful and effective Excel functions that is sure to save you a lot of time and hassle. Check out an Excel Course in a city near you.

Contact Us

What is Remote Training?

Valued by Individuals

4.8/5
Over 23665 Reviews
Very good session. Teacher was clear and moved as fast or slow as we needed. Only complaint would be the audio sometimes clicks or makes strange noise which can be painful for headphones. But that's a minor complaint. -Project Intermediate Adelaide
Leigh - Project Intermediate, .
Really good. Happy with the session!!! -Project Intermediate Adelaide
Julius - Project Intermediate, .
Thanks for the information, well presented and easy to follow -Project Intermediate Adelaide
Adam - Project Intermediate, .
Great! -Project Intermediate Adelaide
Chris - Project Intermediate, .
Good -Project Intermediate Adelaide
Brinda - Project Intermediate, .
Pretty good -Project Intermediate Adelaide
Ken - Project Intermediate, .
Michael who was the teacher that took us for the training. I thought that this was extremely informative. I enjoyed his delivery of thoughts - didnt come across as too complicated, even for topics that were new to me. Pace was good He answered my questions in enough detail Thank you Michael! 11 out of 10 from me :) -Excel Advanced Sydney
Jessica - Excel Advanced, .
Fantastic trainer - a lot of enthusiasm and great information which I am excited to take back to work, thank you -Excel Advanced Sydney
Miss - Excel Advanced, .
I was really happy with the trainer and the time that he took to explain each part. -Excel Advanced Sydney
Jacinta - Excel Advanced, .
Excellent -Excel Advanced Sydney
Janelle - Excel Advanced, .
Michael was a great trainer. The course was very informative and everything I wanted to cover. -Excel Advanced Sydney
Sally - Excel Advanced, .
Great class/teacher. Recommend if you have never used Office 365. If you don't understand Danny will work with you until you get it. -Office365 Beginner Sydney
Emma - Office365 Beginner, .
Great for beginners wanting to learn about Microsoft teams etc. -Office365 Beginner Sydney
bianca - Office365 Beginner, .
Course was good for beginners, I will take away todays training & expand at work & in own time. -Office365 Beginner Sydney
Brett - Office365 Beginner, .
Covered quite a broad range of topics and we could add anything else we wanted. Danny was very helpful -Office365 Beginner Sydney
Maree - Office365 Beginner, .
The course was fantastic for a beginner course and Danny was excellent at making sure we were all where we needed to be and all understood -Office365 Beginner Sydney
Gail - Office365 Beginner, .
Very informative - thanks Danny! -Office365 Beginner Sydney
troy - Office365 Beginner, .
Domenic has been very engaging. Looking forward to tomorrow's Intermediate Class. Thank you -Power BI Beginner Perth
Jennifer - Power BI Beginner, .
Well presented, delivery was good and easy to follow -Power BI Beginner Perth
Philip - Power BI Beginner, .
Great Learnings with humor thrown in. Very approachable for questions -Power BI Beginner Perth
Kim - Power BI Beginner, .

Trusted by Business

south east asia microsoft training courses nexacu

Follow us