Lab Intro To Excel
Lab Intro To Excel
Sheldon Cooper A+ A+
Amy Fowler A A+
Leonard Hofstader B+ B+
Raj Koothrapali B A
Howard Wolowitz A+ A+
Here's a list of students and their grades in academics, as well as in extra-curricular activities
To have the pass/fail results populated in Column D, let’s write the IF AND function as follows:
Step 1) Begin by writing the AND function.
dragged and dropped it to the whole list
Step 2) Nest the above function into the IF formula as below:
The first argument of the IF function is the logical test. Set the AND function in its place. The IF function will now run the AND
Step 3) Specify the value_if_true (if both the conditions are true) as “Pass”.
Step 4) Specify the value_if_false (if any of the conditions or both the conditions are false) as “Fail”.
Step 5) All set – hit enter for results.
Step 6) Drag and drop the above formula to the entire result.
The IF AND function evaluates both the given conditions and returns the pass/fail result for each student
Pass or Fail?
Pass
Fail
Fail
Fail
Pass
ular activities
tion as follows:
ts place. The IF function will now run the AND function as the logical test.
The IF AND function is very well capable of running 3, 4, 5 and so on up to 255 conditions.
Score A+ in academics
Score A+ in extra-curricular
Have 90% or higher Attendance; and
Have his behavior graded as Excellent
Here’s a restaurant with multiple branches that are assessed based on two of their KPIs i.e., Food and Ambience
But the point is, how do we translate the aforementioned KPIs into an Excel formula?
Step 1) Begin writing from the first KPI using the IF AND function:
We’re just telling Excel to return the performance score as Excellent if both the Food and Ambience grades exceed 4.
But – in case both the conditions don’t turn true (any of the grades is equal to or less than 4), in place of the value_if_false, we
Step 2) As the value_if_false for this function write a new IF AND function.
With this, we are telling Excel that if the first condition isn’t met, run another IF AND function.
The nested IF AND function checks if both the Food and Ambience grades exceed 3. If they do, it returns the value_if_true i.e.
Step 3) Repeating the same science as above, we will nest another IF AND function in the following formula (in place of the
If none of the branches exceed grade 4 or 3 for both KPIs, check if any branch achieves a score of 2 or above for both KPIs.
If any branch does, return the performance score “Need Improvement”.
Step 4) Next, specify the final value_if_false as “Shut Down”.
With that, Excel knows that if none of the branches exceeds grade 4 or 3 or at least meets grade 2 for both the KPIs, it needs t
Step 5) Hit Enter to have your results populated.
ical test performed.
ades exceed 4.
of the value_if_false, we will nest another IF AND function.