Office, Karriere und IT Blog

Office, Karriere und IT Blog

   
Anzeige

How does Conditional Formatting work in Excel

Many times, you have certainly wished that certain contents of your Excel spreadsheet be highlighted a little bit more, so that they catch your eye at a glance.

This is basically (as long as you do it statically) no problem and relatively easy to implement. After all, you can color any cell as you like, and make it larger or smaller as well. However, what we really want is that cells automatically get a pre-determined look under certain conditions.

How to use Conditional Formatting in Microsoft Excel can be found in our article.

How does Conditional Formatting work in Microsoft Excel

Topic Overview

Anzeige

How does Conditional Formatting work in Excel

Many times, you have certainly wished that certain contents of your Excel spreadsheet be highlighted a little bit more, so that they catch your eye at a glance.

This is basically (as long as you do it statically) no problem and relatively easy to implement. After all, you can color any cell as you like, and make it larger or smaller as well. However, what we really want is that cells automatically get a pre-determined look under certain conditions.

How to use Conditional Formatting in Microsoft Excel can be found in our article.

How does Conditional Formatting work in Microsoft Excel

Topic Overview

Anzeige

1. What is Conditional Formatting in Excel?

1. What is Conditional Formatting in Excel?

First of all, let’s clarify the general question of what “conditional formatting” actually is.

As the name already implies, this is a cell formatting that under certain conditions takes place automatically. So we can e.g. The table says that if a cell contains a predetermined value, or if it is within a certain range, that cell will be highlighted in color.

So suppose you make yourself a household table, and there you have a job that usually always moves between 80 € and 100 € per month. However, the longer you run this list, the harder it will be to catch up on deviations at a glance.

However, if you add a “Conditional Formatting” to these cells, for example, once the value exceeds $ 100, you could automatically have Excel highlight that cell with a red background color.

Advertisement

Of course, this is first of all a bit of work, but it’s a job you do just once, and then the process runs automatically.

First of all, let’s clarify the general question of what “conditional formatting” actually is.

As the name already implies, this is a cell formatting that under certain conditions takes place automatically. So we can e.g. The table says that if a cell contains a predetermined value, or if it is within a certain range, that cell will be highlighted in color.

So suppose you make yourself a household table, and there you have a job that usually always moves between 80 € and 100 € per month. However, the longer you run this list, the harder it will be to catch up on deviations at a glance.

However, if you add a “Conditional Formatting” to these cells, for example, once the value exceeds $ 100, you could automatically have Excel highlight that cell with a red background color.

Advertisement

Of course, this is first of all a bit of work, but it’s a job you do just once, and then the process runs automatically.

2. Predefined rules for conditional formatting

2. Predefined rules for conditional formatting

Now we come to the point.

In our first example, let’s look at the simplest discipline of conditional formatting in the form of predefined rules, and we have built up a sample table of budget expenditures for a year in which some values ​​deviate from the usual ones that we get in the case of an increased amount red, and color at a lower amount with a green background.

To do this, we proceed as follows:

  • The first line of the table in which the numerical values ​​that should be considered for formatting should be highlighted.
  • In the “Start” tab, click on “Conditional Formatting” and click on “Highlight Rules”“Greater than”.
  • Then set the upper threshold and the color from which the formatting to be held.

Then again the same game, only that we click here on “less than” a lower threshold and a corresponding color set.

See picture: (click to enlarge)

Excel Bedingte Zellformatierung festlegen

Thus, after we have set the thresholds for each item, our table looks like this in the end result:

See picture: (click to enlarge)

Bedingte Formatierung in Excel
Ads

For example, if you create a household table at the beginning of the year and set thresholds for each item, Excel will automatically check whether the cell is colored or not when you enter it using Conditional Formatting.

This allows you to detect deviations at a glance without having to filter data or have to look through it manually.

Now we come to the point.

In our first example, let’s look at the simplest discipline of conditional formatting in the form of predefined rules, and we have built up a sample table of budget expenditures for a year in which some values ​​deviate from the usual ones that we get in the case of an increased amount red, and color at a lower amount with a green background.

To do this, we proceed as follows:

  • The first line of the table in which the numerical values ​​that should be considered for formatting should be highlighted.
  • In the “Start” tab, click on “Conditional Formatting” and click on “Highlight Rules”“Greater than”.
  • Then set the upper threshold and the color from which the formatting to be held.

Then again the same game, only that we click here on “less than” a lower threshold and a corresponding color set.

See picture:

Excel Bedingte Zellformatierung festlegen

Thus, after we have set the thresholds for each item, our table looks like this in the end result:

See picture:

Bedingte Formatierung in Excel
Ads

For example, if you create a household table at the beginning of the year and set thresholds for each item, Excel will automatically check whether the cell is colored or not when you enter it using Conditional Formatting.

This allows you to detect deviations at a glance without having to filter data or have to look through it manually.

3. Conditional formatting with own rules

3. Conditional formatting with own rules

In our next example we want to go off the beaten path and set our own rules for conditional formatting.

For the sake of simplicity, we will stick with our small household table and will display all duplicate values in bold.

To do this, we proceed as follows:

  • We mark the entire cell area of the table which in the formatting should be considered.
  • Then we click again on “Conditional Formatting” then on “New Rule” and select the option “Format only unique or duplicate values”

See picture: (click to enlarge)

Bedingte Formatierung Neue Regel festlegen
Bedingte Formatierung doppelte Werte

Then on “Format” and in the tab “Font” we choose FAT and confirm with “OK”.

See picture: (click to enlarge)

Bedingte Formatierung in Fettschrift
Ads
Blogverzeichnis Bloggerei.de

In our next example we want to go off the beaten path and set our own rules for conditional formatting.

For the sake of simplicity, we will stick with our small household table and will display all duplicate values in bold.

To do this, we proceed as follows:

  • We mark the entire cell area of the table which in the formatting should be considered.
  • Then we click again on “Conditional Formatting” then on “New Rule” and select the option “Format only unique or duplicate values”

See picture: (click to enlarge)

Bedingte Formatierung Neue Regel festlegen
Bedingte Formatierung doppelte Werte

Then on “Format” and in the tab “Font” we choose FAT and confirm with “OK”.

See picture:

Bedingte Formatierung in Fettschrift
Ads
Blogverzeichnis Bloggerei.de

Search for:

About the Author:

Michael W. SuhrDipl. Betriebswirt | Webdesign- und Beratung | Office Training
After 20 years in logistics, I turned my hobby, which has accompanied me since the mid-1980s, into a profession, and have been working as a freelancer in web design, web consulting and Microsoft Office since the beginning of 2015. On the side, I write articles for more digital competence in my blog as far as time allows.

Search by category:

Search for:

About the Author:

Michael W. SuhrDipl. Betriebswirt | Webdesign- und Beratung | Office Training
After 20 years in logistics, I turned my hobby, which has accompanied me since the mid-1980s, into a profession, and have been working as a freelancer in web design, web consulting and Microsoft Office since the beginning of 2015. On the side, I write articles for more digital competence in my blog as far as time allows.

Search by category:

Popular Posts:

2110, 2025

Windows 12: Where is it? The current status in October 2025

October 21st, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Office, Windows 10/11/12|Tags: , , |

Everyone was waiting for Windows 12 in October 2025, but it didn't arrive. Instead, Microsoft is focusing on Windows 11 25H2 and "Copilot+ PC" features. We'll explain: Is Windows 12 canceled, postponed, or is it already available as an AI update for Windows 11?

2010, 2025

Blocking websites on Windows using the hosts file

October 20th, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Office, Windows 10/11/12|Tags: , , , |

Want to block unwanted websites in Windows? You can do it without extra software using the hosts file. We'll show you how to edit the file as an administrator and redirect domains like example.de to 127.0.0.1. This will block them immediately in all browsers.

2010, 2025

The “Zero Inbox” method with Outlook: How to permanently get your mailbox under control.

October 20th, 2025|Categories: Shorts & Tutorials, Data Protection, Homeoffice, Microsoft Office, Microsoft Outlook, Office 365, Windows 10/11/12|Tags: , , , |

Caught red-handed? Your Outlook inbox has 1000+ emails? That's pure stress. Stop the email deluge with the "Zero Inbox" method. We'll show you how to clean up your inbox and regain control using Quick Steps and rules.

2010, 2025

5 simple security rules against phishing and spam that everyone should know

October 20th, 2025|Categories: Shorts & Tutorials, Data Protection, Homeoffice, Internet, Finance & Shopping, Microsoft Office, Office 365, Software, Windows 10/11/12|Tags: , , , |

Deceptively authentic emails from your bank, DHL, or PayPal? That's phishing! Data theft and viruses are a daily threat. We'll show you 5 simple rules (2FA, password managers, etc.) to protect yourself immediately and effectively and help you spot scammers.

1810, 2025

The 5 best tips for a clean folder structure on your PC and in the cloud

October 18th, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Office, Windows 10/11/12|Tags: , |

Say goodbye to file chaos! "Offer_final_v2.docx" is a thing of the past. Learn 5 simple tips for a perfect folder structure on your PC and in the cloud (OneDrive). With proper file naming and archive rules, you'll find everything instantly.

1710, 2025

Never do the same thing again: How to record a macro in Excel

October 17th, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Excel, Microsoft Office, Office 365|Tags: , , |

Tired of repetitive tasks in Excel? Learn how to create your first personal "magic button" with the macro recorder. Automate formatting and save hours – no programming required! Click here for easy instructions.

Offers 2024: Word & Excel Templates

Popular Posts:

2110, 2025

Windows 12: Where is it? The current status in October 2025

October 21st, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Office, Windows 10/11/12|Tags: , , |

Everyone was waiting for Windows 12 in October 2025, but it didn't arrive. Instead, Microsoft is focusing on Windows 11 25H2 and "Copilot+ PC" features. We'll explain: Is Windows 12 canceled, postponed, or is it already available as an AI update for Windows 11?

2010, 2025

Blocking websites on Windows using the hosts file

October 20th, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Office, Windows 10/11/12|Tags: , , , |

Want to block unwanted websites in Windows? You can do it without extra software using the hosts file. We'll show you how to edit the file as an administrator and redirect domains like example.de to 127.0.0.1. This will block them immediately in all browsers.

2010, 2025

The “Zero Inbox” method with Outlook: How to permanently get your mailbox under control.

October 20th, 2025|Categories: Shorts & Tutorials, Data Protection, Homeoffice, Microsoft Office, Microsoft Outlook, Office 365, Windows 10/11/12|Tags: , , , |

Caught red-handed? Your Outlook inbox has 1000+ emails? That's pure stress. Stop the email deluge with the "Zero Inbox" method. We'll show you how to clean up your inbox and regain control using Quick Steps and rules.

2010, 2025

5 simple security rules against phishing and spam that everyone should know

October 20th, 2025|Categories: Shorts & Tutorials, Data Protection, Homeoffice, Internet, Finance & Shopping, Microsoft Office, Office 365, Software, Windows 10/11/12|Tags: , , , |

Deceptively authentic emails from your bank, DHL, or PayPal? That's phishing! Data theft and viruses are a daily threat. We'll show you 5 simple rules (2FA, password managers, etc.) to protect yourself immediately and effectively and help you spot scammers.

1810, 2025

The 5 best tips for a clean folder structure on your PC and in the cloud

October 18th, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Office, Windows 10/11/12|Tags: , |

Say goodbye to file chaos! "Offer_final_v2.docx" is a thing of the past. Learn 5 simple tips for a perfect folder structure on your PC and in the cloud (OneDrive). With proper file naming and archive rules, you'll find everything instantly.

1710, 2025

Never do the same thing again: How to record a macro in Excel

October 17th, 2025|Categories: Shorts & Tutorials, Homeoffice, Microsoft Excel, Microsoft Office, Office 365|Tags: , , |

Tired of repetitive tasks in Excel? Learn how to create your first personal "magic button" with the macro recorder. Automate formatting and save hours – no programming required! Click here for easy instructions.

Offers 2024: Word & Excel Templates

Ads

Popular Posts:

Search by category:

Autumn Specials:

Anzeige
Go to Top