Excel is an excellent tool for Data entry, analysis, programming, accounting, task management and much more. It is up to our aptitude and understanding how we want to use this robust tool to examine and cultivate our data. Here I will demonstrate about simple IF function and how you can use it more effectively to get the desired results.
Example 1:
Suppose you want to analyze some financial values for the entire year, and you have a budgeted amount and the actual invested amount. Now you need to see if you have gone under the allotment cost or over budget during the whole year. Here is the sample data:
![]() |
Sample Data Table |
Now you want to see if you have over-spent or stayed under the specified cost. Here is the formula.
![]() |
IF Formula for the Sample Table |
As per this formula, if <B2> (Budgeted Amount)
is less than <C2> (Total Spending) then it should say Over
Budget, else Under Budget
![]() |
Sample Table with IF Formula |
Very straightforward. Isn’t it?
Let’s try some more samples of simple IF function
Please note one thing otherwise value always comes later in this formula.
Example 2:
Refer to the below Data Table, we have
information about laptop investment values and QTY. So now imagine I had a
budget of 700000/- for the laptop procurement per team. Now we need to
ascertain if we went over the determined cost or less. Below is the Sample Data
Table for the reference.
![]() |
Sample data Table |
And here is the formula which have used.
![]() |
IF Formula for the Sample Table |
So as per this formula, If D2 (Total Amount) goes under 700000/-, it will reflect Yes, else No
Here is the formula table with expected results
![]() |
Sample Table with IF formula |
That’s all for the Simple IF formula. You can use it for many purposes to get several distinct outcomes. Please try and paste in the comments if you have something unexplored and compelling about IF function.
Comments
Post a Comment