UMT AICT Lab 5
UMT AICT Lab 5
Technologies
Instructor: Aleena Amer
MS Excel
Logical Functions
Conditional Formatting
Filtering
Data Validation
MS Excel Functions
In the previous lab manuals we saw how to apply the basic
mathematical functions in excel for example Sum, Avg, Percentage
Calculations etc.
In this lab we will see logical functions.
Conditional Formatting in Excel
Conditional formatting makes it easy to highlight certain values or make particular cells easy to identify. This
changes the appearance of a cell range based on a condition (or criteria). You can use conditional formatting to
highlight cells that contain values which meet a certain condition. Or you can format a whole cell range and vary
the exact format as the value of each cell varies.
For example:
Temperature information with conditional formatting applied that shows top 10% and bottom 10% values
1
From https://support.microsoft.com/en-au/office/highlight-patterns-and-trends-with-conditional-formatting-eea152f5-
2a7d-4c1a-a2da-c5f893adb621
Now Following are the results of different renderings
Data Validation
Data Validation means checking if your data is valid/acceptable
Sometimes you have data column which can only accept a specific type for example you
will always have numbers in your profit/loss column and no one should enter number in
text for example two thousand there so you can make data validation rules.
To implement data validation, do the following:
1. Select the cell(s) you want to create a rule for.
2. Select Data >Data Validation.
3
Source: https://support.microsoft.com/en-us/office/apply-data-validation-to-cells-29fecbcc-d1b9-42c1-9d76-eff3ce5f7249
TASK LAB 5
In the provided excel sheet “workbookLab5.xlsx” do the following
three tasks
Task 1(a): Apply the OR logical filtering in the column D, Result is
true if any one of them is a positive number
Task 1(b): Apply the AND logical filtering in the column G, Result is
true if both have status Available
Task 2: (a) Following is a result sheet. You need to tell if a particular
student failed or passed by using Logical operation. If the student
has less than 50% marks Place "Fail" in status else "Pass" . All three
assignments have 50 total marks