When it comes to Microsoft Excel or any other spreadsheet program, the term formatting refers to the font style, font size, cell background-colour, and other aspects. The same goes for word processing programs, as well. But, when it comes to conditional formatting, it is something completely different from normal formatting to apply your favourite font colour, background colour and everything else. In the case of conditional formatting, the formatting will be automatically applied as per your configured settings, depending upon the actual values within the cells, which can make things look more pleasing and understandable to somebody looking at the spreadsheet suddenly.
Let me say a few words about conditional formatting. In the case of conditional formatting, you can configure to automatically change the background colour of the cells to red if the value lies between 0 and 30; yellow, if it lies between 31 and 80; and green, if the value is more than 80. So, if you are creating a spreadsheet of the students in a class and their marks, you can easily see, who are unsuccessful, or the students who have scored less than 30, and those who have scored extraordinary, means more than 80, as they will be marked green. That was just an example, however, there are a number of other ways you can use conditional formatting.
So, without any for the delay, let’s get started with conditional formatting and the way you can implement it in your everyday work with Microsoft Excel.
Using conditional formatting in Microsoft Excel
I will try to explain the complete concept of conditional formatting with a single set of data so that it becomes easy for you to understand.
You can find conditional formatting under the home tab in Microsoft Excel, as shown in the screenshot below.
![Use conditional formatting on Microsoft Excel 10](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-10.jpg)
Here is a set of data, which correspond to the marks of 11 students in examination in a particular subject.
![set of data](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-20.jpg)
First, we will apply the simple rule, which will format the cells containing the marks, in different ways depending upon the marks, in the following way.
The background colours of the cells will be as follows.
0-30: Red
31-80: Yellow
81-100: Green
Conditional formatting as per absolute values
To do that, choose the cells containing the marks, and click on ‘Conditional Formatting’, and choose ‘Less Than…’, under ‘Highlight Cell Rules’.
![Conditional formatting as per absolute values](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-30.jpg)
Now, enter 30, under ‘Format cells that are LESS THAN:’, and change the colour from the drop-down menu. Just choose ‘Light Red Fill’, or click ‘Custom Format…’, if you want to apply the exact colour.
![Format cells that are LESS THAN](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-40-50.jpg)
Next, choose the cells again, and click on ‘Between…’, under ‘Highlight Cell Rules’.
![Highlight Cell Rules](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-60.jpg)
Now, enter the range, which will be 31 in the first box and 79 in the next text box. Next, choose a colour close to ‘Yellow’ by choosing ‘Custom Format…’, and finally, click on ‘OK’.
![Custom Format…](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-70.jpg)
Lastly, Choose the cells again, and click on ‘Greater Than…’ under ‘Highlight Cell Rules’.
![Highlight Cell Rules](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-80.jpg)
Now enter 80 as the value, and choose a gradient of green, from the ‘Custom Format…’ section, and finally, click on ‘OK’.
![conditional formatting on Excel](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-90.jpg)
Now, the conditional formatting is over, and even if you change the values, the colours of the cells are the formatting chosen, will be applied accordingly as per the values updated.
![colours of the cells are the formatting Microsoft Excel 2019](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-95.jpg)
Formatting as per top and bottom rules
Sometimes you might need to format only those cells that contain values more or less than the average of all the values, the top 10 values, the bottom 10 values, the one having the highest and lowest value, or any other similar way.
Simply choose ‘Top/Bottom Rules’ under ‘Conditional Formatting’ and choose the appropriate option, that goes as per your requirements.
Here I am formatting only those cells that have the top 10 values. Simply click on ‘Top 10 Items…’ under ‘Top/Bottom Rules’ under the ‘Conditional Formatting’ option.
![‘Top/Bottom Rules’ under ‘Conditional Formatting’](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-110.jpg)
Now, you can choose how many values will be highlighted. By default the value will be set to 10, however, if you change the value to 1, only the cell having the highest value will be highlighted.
Now, you have to change the cell formatting, which includes the font colour, background colour, exactly the same way, we did earlier, in the case of conditional formatting as per the content of the values within the cell. After you are done, simply click ok to ‘Apply’ the conditional formatting settings.
I have decided to change the background colour of the cells having the top five values with the colour green.
![change the cell formatting](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-120-130.jpg)
Applying data bars for the cells
You can even show small graphs depending upon the value of the cells. After the implementation, you can understand what I mean to say.
Choose the cells containing the values, and click on any option under gradient fill or solid fill under ‘Data Bars’ under the ‘Conditional Formatting’ options.
![solid fill under ‘Data Bars’ under the ‘Conditional Formatting’ options.](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-140.jpg)
After this type of conditional formatting is applied, you can get the following output on the cell.
![type of conditional formatting](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-150.jpg)
As you can find, there is a small graph having a higher or lower gradient or fill In the cells corresponding to the values. This can also be equally useful if you are having a look at a very big table containing multiple values.
Other conditional formatting options
You can even choose ‘colour Scales’ conditional formatting option, which will automatically assign colours to the cells depending on their values.
![Other conditional formatting options - color scales](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-160.jpg)
There are already some colour scales, which are ready to be implemented, however, you can even change the values depending upon your requirements, By clicking on ‘More Rules…’ under ‘Color Scales’ in ‘Conditional Formatting’.
![Color Scales’ in ‘Conditional Formatting’.](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-170.jpg)
Lastly, you can even choose your own set of icons depending upon the values within the cells using the ‘Icon Sets’ option under ‘Conditional Formatting’. You can choose your preferred icon set, depending upon the type of values that you have within the cells, which includes shapes, directional arrows, ratings, and indicators, To suit your needs exactly the way you want. You can even set your own rules, by clicking on ‘More Rules…’ under ‘Icon Sets’.
![icon set for conditional formatting](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-180.jpg)
Here’s how it will look, by applying conditional formatting using icon sets.
![applying conditional formatting using icon sets.](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-190.jpg)
So, those were the ways you can set up conditional formatting for the values within the cells on Microsoft Excel. The existing rules should cater to the needs of almost all kinds of users, however, you can always choose your new set of rules depending upon the special system requirements, just in case you have one.
Creating a new rule
Just click on ‘New Rule…’ Under conditional formatting, and you have to choose your own set of rules so that the conditional formatting takes place as per your requirement.
![Creating a new rule for conditional formatting](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-200.jpg)
When it comes to setting up your new rules, you can choose the most appropriate option depending upon how exactly you want to format the cells depending upon the values.
Changing cells depending upon the value in other cells
So I talked a lot about how you can change the formatting of the cells depending upon their values. You can also change the formatting of a different set of cells, depending upon the values in another cell.
As per the examples, I have discussed here, it is also possible to conditionally format the cells containing the names of students depending upon their marks which are placed on the right side of the cells.
To do that, choose a cell containing the name of a student, (one single cell) and under ‘Conditional Formatting’, click on ‘New Rule…’.
![Changing cells depending upon the value in other cells](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-210.jpg)
You can find several options here, however, I will choose the option that can help me assign a colour to the students as per their marks, just like the first condition.
Click on the option that says ‘Use a formula to determine which cells to format’, and enter the formula, corresponding to ‘ Format values where this formula is true:’.
As I have three conditions, I will have to put the first condition here. The background colour of the cells will turn red, if the marks are less than 31, or is between 0 and 30.
So my formula will go as follows.
‘=C2<31’
![Use a formula to determine which cells to format](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-220.jpg)
By clicking on the format option, you can choose the formatting options, which will be a red background for me.
After you are done, click on ‘OK’.
![Use conditional formatting on Microsoft Excel 230](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-230.jpg)
A preview of the cell with conditional formatting when the condition is satisfied will be displayed in the preview section.
Click on ‘OK’ again to apply the conditional formatting settings.
![A preview of the cell with conditional formatting](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-240.jpg)
Choose the same cell again, and click on ‘Manage Rules…’ under ‘Conditional Formatting’.
![‘Manage Rules…’ under ‘Conditional Formatting’.](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-250.jpg)
Now, click on ‘New Rule…’, and repeat the same process, I have mentioned in the last step, but the condition will be different for this case.
The condition here will be as below. You can choose the colour as yellow, for the values which are less than 81, but more than 30. So the formula will go as follows.
=AND(C2>30,C2<81)
![Use conditional formatting on Microsoft Excel 260 270](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-260-270.jpg)
Now you have to go to the same ‘Manage Rules…’ and add another condition that will be ‘=C2 > 80’, and in such a condition, the colour of the cell will turn green.
Once, all the conditions are applied, you can find them all in the ‘Manage Rules…’ under ‘Conditional Formatting’.
![conditional formatting rules manager](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-280.jpg)
After you apply the changes in the first cell, just use the format painter, to copy the formatting of that cell, in the remaining cells containing the names of the students.
![format painter](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-290.jpg)
Now the condition will be applied to all the cells, corresponding to the values next to them, and they will be coloured as per the formatting assigned by you.
![Use conditional formatting on Microsoft Excel 300](https://www.how2shout.com/wp-content/uploads/2019/11/Use-conditional-formatting-on-Microsoft-Excel-300.jpg)
Conditional formatting is one of the coolest features on Microsoft Excel and other spreadsheet programs available, and once you start learning how to use them, you can unveil other cool tricks while dealing with conditional formatting. After you have formatted your spreadsheet using conditional formatting, you can use the spreadsheet in a slide in a presentation on Microsoft PowerPoint or any other program to create a presentation.
So, that was all about how you can deal with conditional formatting on Microsoft Excel, and deal with their projects in an easier way. Do you have anything else to say? Feel free to comment on the same below.
Other Articles to read:
Related Posts
How to create email groups in Gmail? Send one email to multiple recipients in a matter of seconds.
Getting the right dashcam for your needs. All that you need to know
How to Install 7-Zip on Windows 11 or 10 with Single Command
How to Install ASK CLI on Windows 11 or 10
How do you install FlutterFire CLI on Windows 11 or 10?
How to create QR codes on Google Sheets for URLs or any other text elements