Lab # 04 MS Excel Conditional Formatting
Lab # 04 MS Excel Conditional Formatting
Objectives
• Recognize Excel’s operations and tools;
• Conditional Formatting.
Software Used
Microsoft Excel Software
Pre Lab
Formatting in Excel allows you to change the appearance of cells or the appearance of
the spreadsheet as a whole.
To Create a Table from the Home Tab:
1. Select the range of cells to include in the table.
2. Select Format as Table.
3. Follow the steps listed above to create a table.
The Preview box allows you to view the table before completing formatting changes. Select
OK to apply the table to your data.
3. Choose Clear.
This will clear the table style but the data will still remain in a table format.
Converting a Table to a Range of Data
To Convert an Existing Table to a Range of Data:
1. Select the table.
2. Select Convert to Range.
3. Select Yes.
3. Hover over Highlight Cells Rules to reveal the menu of different rules.
4. Select Greater Than from the menu to open the Greater Than dialogue box:
5. Enter the value that you want to set as your lower limit for the Greater Than condition.
6. Select the type of formatting from the dropdown menu.
7. Select Ok.
The cells which contain a value greater than the value you specified will now appear
with the cell formatting which you selected.
A Date Occurring
To highlight cells that contain a certain date or date range:
1. Highlight the data range.
2. Select Conditional Formatting.
The cells which contain the specified date or date range will now appear with the cell
formatting which you selected.
Duplicate Values
To highlight cells that contain either duplicate or unique values:
1. Highlight the data range.
2. Select Conditional Formatting.
The cells which contain either duplicate or unique values will now appear
with the cell formatting which you selected.
Top/Bottom Rules
Top and bottom rules can be used to highlight cells that are the top or bottom ten
items or the top or bottom ten percent. They can also be used to identify items
above or below the average.
Top 10 Items
To highlight cells that are the top 10 items in your data:
1. Highlight your entire data range.
The cells which are in the top selected number will now appear with the cell
formatting which you selected.
To identify the bottom 10 items select Bottom 10 Items instead of Top 10 Items.
Top 10%
To highlight cells that are in the top percentage of items in your data:
1. Highlight the data range.
2. Select Conditional Formatting.
The cells which are in the top selected percentage will now appear with the cell
formatting which you selected.
To identify the bottom 10 percent select Bottom 10 Percent instead of Top 10 Percent.
Above Average
To highlight cells that are above the average value of your data:
1. Highlight the data range.
2. Select Conditional Formatting.
Select the type of cell formatting you wish to use. Select Ok. The cells which are
above the average value of your data will now appear with the cell formatting which
you selected.
To identify items below the average value select Below Average instead of Above Average.
Data Bars
Conditional formatting in Excel can be used to convert cells with numeric data into a
bar graph. Two bar graph options are gradient and solid filled graphs.
4. Choose either Gradient or Solid and select a color for the bar graph.
The data cells will now be filled with a gradient color based on the value in the cell.
Color Scales
You can use the Color Scales rules to color the cells in your data based on their
numerical value. Color Scales makes it easier to visualize the data.
To add a color scale to data:
1. Highlight the data range.
2. Select Conditional Formatting.