How to use Conditional Formatting in Excel?
Last Updated :
16 Jun, 2021
Microsoft Excel is a software that allows users to store or analyze the data in a proper systematic manner. It uses spreadsheets to organize numbers and data with formulas and functions. MS Excel has a collection of columns and rows that form a table. Generally, alphabetical letters are assigned to columns, and numbers are usually assigned to rows. The point where a column and a row meet is called a cell.
Conditional formatting is a feature in Excel that allows you to format/highlight few particular cells that meet the condition specified or selected by you. You can find it in the home tab under the Styles group.
Steps to use Conditional Formatting:
Step 1: Insert the data/values in the spreadsheet.
Step 2: Select the range of cells.
Step 3: Click on the Conditional formatting in the Home tab.
Step 4: Select any predefined condition or create your own condition(for this select New Rule).
For example, we need to:
- Highlight marks which are more than 70.
- Highlight marks which are between 50 and 80.
- Highlight marks that are below average.
- Set icons on the marks.
- Show data bars on the marks.
Steps to highlight marks that are more than 70
Step 1: Insert the data in the spreadsheet, we enter the marks in the spreadsheet.
Step 2: Select the range of cells(A2:A20).
Step 3: Select the Conditional formatting in the Home tab, click Highlight Cells Rules.
Step 4: Click on the Greater Than option.
Step 5: Enter the value for which you need greater value, under the “Format cells that are GREATER THAN“, i.e. 70.
Step 6: You can select your desired color, we will go with the default color.
Step 7: Click OK.
Steps to highlight marks that are between 50 and 80
Step 1: Insert the data in the spreadsheet, we enter the marks in the spreadsheet.
Step 2: Select the range of cells(A2:A20).
Step 3: Select the Conditional formatting in the Home tab.
Step 4: Click Highlight Cells Rules.
Step 5: Click on Between option.
Step 6: Enter the values between which the values have to be highlighted.
Step 7: You can select your desired color, we will go with the default color.
Step 8: Click OK.
Steps to highlight marks that are below average
Step 1: Insert the data in the spreadsheet, we enter the marks in the spreadsheet.
Step 2: Select the range of cells(A2:A20).
Step 3: Select the Conditional formatting in the Home tab, click on Top/Bottom Rules.
Step 4: Click on Below average.
Step 5: Select your desired color, we will go with the default color.
Step 6: Click OK.
Steps to set icons on the marks
Step 1: Insert the data in the spreadsheet, we enter the marks in the spreadsheet.
Step 2: Select the range of cells(A2:A20).
Step 3: Select the Conditional formatting in the Home tab, click on Icon Sets.
Step 4: Select your desired icon(green shows the above average values, yellow shows the average value, red shows the below-average values).
Step 5: You can also define your own rules.
- For example, we want a green symbol before the marks greater than 70, red before the marks less than 50, yellow before the marks between 50 and 70.
- Click on More Rules(here you can change Icon styles, Reverse icon order, Show icon only(i.e. the data(s) will not be displayed), etc).
Step 6: Click OK.
Steps to show data bars on the marks
Step 1: Insert the data in the spreadsheet, we enter the marks in the spreadsheet.
Step 2: Select the range of cells(A2:A20).
Step 3: Select the Conditional formatting in the Home tab, click on the Data bars.
Step 4: Select your desired color for the bars.
Step 5: You can also define your own rules.
- For example, we want the lowest bar on marks less than 30 and the longest bar on marks greater than 80.
- Click on More Rules(here you can change Icon styles, Reverse icon order, Show icon only(i.e. the data(s) will not be displayed), etc).
Step 6: Click OK.
Get 90% Course fee refund on completing 90% course in 90 days! Take the Three 90 Challenge today.
The next 90 Days of focus & determination can unlock your full potential. The Three 90 challenge has started and this is your chance to upskill and get 90% refund. What more motivation do you need? Start the challenge right away!
Similar Reads
How to use Conditional Formatting in Excel?
Microsoft Excel is a software that allows users to store or analyze the data in a proper systematic manner. It uses spreadsheets to organize numbers and data with formulas and functions. MS Excel has a collection of columns and rows that form a table. Generally, alphabetical letters are assigned to
4 min read
Conditional Formatting in Excel
Conditional Formatting in Excel is a game-changer for anyone dealing with large datasets. This feature allows you to automatically apply formatting, such as colors and icons, to cells that meet specific criteria. With conditional formatting Excel formulas, you can customize your data presentation an
11 min read
How to Use Conditional Formatting in Google Sheets
Conditional formatting in Google Sheets automatically formats cells based on specific rules, highlighting essential data points, trends, or outliers for more accessible data analysis and interpretation. This article discusses conditional formatting in Google Sheets, from the basics to advanced techn
8 min read
How to Apply Conditional Formatting Based On VLookup in Excel?
VLOOKUP is an Excel function to lookup data in a table organized vertically. VLOOKUP supports approximate and exact matching, and wildcards (* ?) for partial matches. Conditional Formatting Based on Vlookup: 1. Using the Vlookup formula to compare values in 2 different tables and highlighting those
3 min read
How to Apply Conditional Formatting in a Pivot Table in Excel
One of the most useful ways to customize the pivot table formatting is using Conditional Formats. Conditional formatting rules can be applied to Pivot tables just like they can be applied to normal data ranges. So by using conditional formatting, we can highlight the cells with a certain color depen
8 min read
Adding Conditional Formatting to Excel Using Python Openpyxl
Adding conditional formatting using openpyxl is an easy and straightforward process. While working with Excel files, conditional formatting is useful for the visualization of trends in the data, highlighting crucial data points, and making data more meaningful and understandable. In this article, we
5 min read
How to use CHOOSE Function in Excel
The CHOOSE function is technically part of Excel’s lookup function and can be incredibly useful. The CHOOSE function returns a value from a list using an index. One of those Excel features, CHOOSE, may not seem helpful alone, but when paired with other functions, it offers a ton of fantastic advanta
7 min read
Conditional Formatting - PowerBI
Conditional formatting in Power BI is a powerful feature that allows you to visually enhance and customize the appearance of your data based on certain conditions or rules. It lets you apply different styles, colors, and formats to your data to make it stand out and convey important insights more ef
5 min read
How to Change Date Format in Excel
You know that Excel is one of the best spreadsheets you can work on. Excel is the first preference of many users to create an impressive data set. Have you tried filling in the Date on the sheet? Date with the data is a common practice done by users in Excel to get information timeline. To help orga
7 min read
Data Formatting in Excel
In Excel, the whole entered data in the sheet uses the same formatting by default which can make the data look monotonous, dull, and difficult to read. Excel provides a pool of tools called formatting tools which customize the data in such a way that it only affects the appearance of the data and no
3 min read
Excel SUMIF Function: Formula, How to Use and Examples
The SUMIF function in Excel is a versatile tool that enables you to sum values based on specific criteria, such as a true or false condition. This feature makes it perfect for conditional summation tasks like totaling sales over a particular amount, adding up expenses in specific categories, or summ
7 min read
Formatting Charts in Excel
One of the major uses of Excel is to create different types of charts for a given data set. Excel provides us with a lot of modification options to perform on these charts to make them more insightful. In this article, we are going to see the most common "Formatting" performed on charts using a suit
3 min read
How to Convert Data from Wide to Long Format in Excel
Do you find your Excel data hard to analyze? Sometimes, changing the way your data is arranged can make it much easier to understand. Converting data from wide format to long format can help you organize your spreadsheet better, making it simpler to spot trends and patterns. This method is useful fo
3 min read
How to Create a Custom Date Format in Excel?
Date formatting is very important when you prepare any set of data, then there are different types of formatting used for different categories, which are different from our normal formatting which is dd/mm/yyyy. When you enter any date in MS-Excel then excel considers it as the default format of dat
3 min read
How to Create a User Defined Function in Excel VBA
A function is a collection of code. As a developer, we very often need a custom function (User-defined function) in our projects. These functions can be used as normal functions in Excel. These are helpful when the existing functions are not enough. In such cases, the user can create his own custom
6 min read
How to Use for Each Loop in Excel VBA?
A For Each loop is used to execute a statement or a set of statements for each element in an array or collection. Syntax: For Each element In group [ statements ] [ Exit For ] [ statements ] Next [ element ] The For...Each...Next statement syntax has the following three parts: PartDescriptionelement
3 min read
How to use the IFS function in Excel
The IFS function in Excel acts as a keen partner, making choices for your information. It's perfect when you have different rules and wish to grant prizes based on those rules. Rather than getting misplaced in complicated enlightening, IFS assists your information in getting to where it ought to go.
7 min read
How to Make Conditional Questions in Google Forms
In this article, we'll explore about conditional questions that respond to your audience's input, making your surveys, quizzes, and feedback forms smarter and more engaging. Whether you're organizing an event, conducting research, or just looking to enhance your data collection process, learning con
4 min read
How to Use Flash Fill in Excel?
Excel Flash Fill is a highly time-saving tool that allows you to automatically fill in values. Flash Fill tries to detect the consistent pattern you type and show a faded list of suggestions. If you find the suggested list suitable, press Enter. It is highly used to split data from one column to dif
3 min read
How to find Top or Bottom N values in Excel?
Excel provides powerful functions to find the top or bottom N values in a dataset, making data analysis much easier. The functions used to find the Nth largest and Nth smallest numbers are =LARGE(array, k) and =SMALL(array, k), respectively. In this article, we will explore how to use these function
6 min read