How to use conditional formatting in Google Sheets

Conditional formatting allows you to automatically add color and style to Google Sheets to make it easier to analyze data on it.

  • Google Sheets - Google Sheets
  • Google Sheets for iOS
  • Google Sheets for Android

Conditional formatting is when you automatically format cell styles in a spreadsheet based on the data in each cell. Google Sheets allows you to use conditional formatting to apply different font styles, fill colors, and styles to make spreadsheets easier to read.

All you need to do to use conditional formatting is to create some rules for the spreadsheet as shown below.

How to use conditional formatting in Google Sheets

  • When to use conditional formatting?
  • How to create conditional formatting in Google Sheets
  • Google Sheets Format Types Supported
    • Text
    • Dates
    • Numbers
  • Customizable conditional formulas
  • Formatting styles supported in Google Sheets
  • Conditional formatting with color scale

When to use conditional formatting?

Google Sheets conditional formatting can be useful in a lot of situations. The biggest benefit is that it saves you time and ensures consistency, and it also encourages you to set up and style your spreadsheet in advance.

You can use conditional formatting to distinguish the data types in a set (for example, grouping employees by department). You can also use it to draw attention to values ​​that need to be addressed like negative returns. Occasionally, it also helps to reduce obsolete data records such as past operations.

How to create conditional formatting in Google Sheets

The following simple example will help you understand how conditional formatting in Google Sheets works. Start with a new spreadsheet and follow these steps:

1. Enter some sample values ​​in some rows.

 

2. Highlight the range of cells you want for conditional formatting.

3. From the Format menu , select Conditional formating .

 

4. Change Format cells if… from the drop-down menu to Is equal to .

5. Enter one of the example values ​​in the Value or formula box .

6. Select the format you want to add as cell fill color.

 

7. Click Add another rule .

8. Replace the previous value with another value in the spreadsheet and choose a different color and format for that value.

9. Repeat the previous two steps to see more values. Each time, use a different format.

10. Once done, click the Done button to see a list of the rules you have created.

 

Google Sheets Format Types Supported

Google Sheets supports a wide range of conditional formats for users to choose from. They are built around three main data types: text, date, and number.

Text

The simplest condition for text, empty , depends on whether the cell contains any value or not.

To check for the existence of a piece of content, use contains . Can this condition check for a certain portion of text or use pattern matching per ? stands for any character and * stands for 0 or more other characters.

Finally, for more structured text combinations, starts with , ends with or exactly narrow down the possible combinations.

Dates

Dates are easy to use although they support some predefined values ​​beyond what the user chooses. Use conditional formatting to find the date before, after, or equal to the relevant date selection (tomorrow, previous year). You can also compare them with a selected date.

Numbers

Finally, you can use conditional formatting to find numbers that are equivalent, greater than, less than, or in the middle of a range of other numbers.

Customizable conditional formatting formulas

Custom formulas make conditional formatting more powerful because they can highlight the entire range, even cell references outside the formatted range. For better understanding, refer to the example below.

How to use conditional formatting in Google Sheets

Create a table with 2 columns in Google Sheets. To highlight an entire row in the data that has more than 4 fruit items in stock:

Select the data range (A2:B5) .

Open the Conditional format rules window .

Select Custom formula is as the condition.

In Value , enter =$B2>4 .

How to use conditional formatting in Google Sheets

For a normal formula in a cell, it must start with an = sign . The $ sign before column B makes it an absolute reference, so this comparison always refers to data from the given column. Row (2) is relative to the first row of the data range. So, for each row, the comparison takes place with each value in the same row.

Formatting styles supported in Google Sheets

You can select a limited set of preset styles in Google Sheets by clicking the Default text in Formatting style .

Besides, although the formatting options are quite limited, they serve the most practical purposes.

First, you can configure any of the standard font style combinations: bold, italic, underline, and strikethrough. In particular, they are also helpful in indicating valid or invalid values.

Another style you can apply regarding color: both text (front) and fill. Standard color pickers are also available, including customizing the color you want.

Conditional formatting with color scale

One method of visualizing numeric values ​​is the color scale. It will help you to assign colors from the palette according to the value associated with each cell. The color will be applied to the background color - Fill color .

For example, this trick is often used in graphs and maps. A darker color may indicate a lower value.

How to use conditional formatting in Google Sheets

Google Sheets' implementation is limited but very easy to use. Select the number range but this time change the tab near the top of the Conditional format rules from Single color to Color scale .

In Format rules , you can define the nature of the color scale. Click Preview to view and select predefined color palettes. You can customize that color scale by choosing different values ​​or percentages to represent the lowest color score, maximum color score and neutral color score. The color pickers next to each point give you more control over the palette.

Above is how to do conditional formatting in Google Sheets. Hope the article is useful to you.

Sign up and earn $1000 a day ⋙

How To Find Quality And Fast Internet In Montreal

How To Find Quality And Fast Internet In Montreal

Montreal, a city brimming with culture, history, and Poutine (a famous Canadian dish), deserves an internet connection that can keep up. Whether you’re a streamer glued to Twitch, a workaholic juggling video conferences, or a casual web surfer, a reliable and fast internet plan is essential.

What is ChatGPT? Why did it create a global craze?

What is ChatGPT? Why did it create a global craze?

What is ChatGPT? Why is it creating a global fever? In recent days, the ChatGPT chatbox is creating a global craze. Not only that ChatGPT is creating

Google Drive for desktop will be discontinued in March 2018

Google Drive for desktop will be discontinued in March 2018

Google Drive for desktop will be discontinued in March 2018, Google has officially announced that it will stop supporting Google Drive for desktop and then the company will remove the application.

The latest Adobe Flash Player update contains virtual currency mining malware

The latest Adobe Flash Player update contains virtual currency mining malware

The latest Adobe Flash Player update contains virtual currency mining malware, researchers from security firm Palo Alto Networks warn users if they download the wrong update

One Ordinary Day - Movie schedule An ordinary day

One Ordinary Day - Movie schedule An ordinary day

One Ordinary Day - Movie schedule One Ordinary Day, One Ordinary Day (Vietnamese name: One Ordinary Day) is an attractive Korean film about a crime topic.

Simple ways to fix AirDrop not working error

Simple ways to fix AirDrop not working error

Simple ways to fix AirDrop not working error, AirDrop not working on iPhone, iPad, Mac what to do? This article will provide you with simple ways

Status of opening new school year 2023 - 2024

Status of opening new school year 2023 - 2024

Status for opening the new school year 2023 - 2024, TOP 50 Status for opening the new school year 2023 - 2024 to help you freely choose unique statuses and statuses for yourself!

Top photo editing applications similar to Snap Camera

Top photo editing applications similar to Snap Camera

Top photo editing applications similar to Snap Camera, Snap Camera is a free camera application that helps apply Snapchat filters. In addition to Snap Camera, you can refer to these

Ways to fix file attachment errors on Gmail

Ways to fix file attachment errors on Gmail

Ways to fix file attachment errors on Gmail, Why can't I download files in Gmail? Why can't you attach files to Gmail? Here are the causes and how

Is it safe to use public Wifi?

Is it safe to use public Wifi?

Is it safe to use public Wifi?, Public Wifi helps you connect to the Internet for free. However, is it safe to use public wifi? Join WebTech360

TOP best computer screen recording software 2024

TOP best computer screen recording software 2024

TOP best computer screen recording software 2024, Which is the best lightweight, free, high-quality computer screen recording software? Let's find out the top with WebTech360

Tips for using Google Chrome that students need to know

Tips for using Google Chrome that students need to know

Tips for using Google Chrome that students need to know, Google Chrome is the most popular web browser today. You probably already know how to use it, however, if

Please upgrade TeamViewer immediately or your computer will be hijacked

Please upgrade TeamViewer immediately or your computer will be hijacked

Please upgrade TeamViewer immediately or your computer will be hijacked. Teamviewer has just released an emergency patch that allows hackers to take control of your computer.

Should you use Tor and VPN at the same time?

Should you use Tor and VPN at the same time?

Should you use Tor and VPN at the same time? Tor and VPN both provide privacy protection but in different ways. So should privacy and security features be combined?

Signs of a fake Instagram account

Signs of a fake Instagram account

Signs of a fake Instagram account. Are you wondering whether the Instagram account you are following or contacting is genuine or legitimate? Signs below

Explore BlueStacks X on PC

Explore BlueStacks X on PC

Explore BlueStacks X on PC, BlueStacks X allows you to open Android games using cloud computing on your web browser. With BlueStacks X, you are no longer limited

Play Fish Drop game online on My Viettel and receive free data packages, voice calls, and SMS

Play Fish Drop game online on My Viettel and receive free data packages, voice calls, and SMS

Play Fish Release game online on My Viettel to receive free data packages, voice calls, SMS, Viettel's Online Fish Release program will take place from January 30, 2021 to

Unreal Engine 5: All information about the latest game development technology

Unreal Engine 5: All information about the latest game development technology

Unreal Engine 5: All information about the latest game development technology, Unreal Engine 5 is the latest version of the famous game development tool Unreal Engine of

What is an email address? How to get an email address?

What is an email address? How to get an email address?

What is an email address? How to get an email address?, What is an email address? What is email address entry? This article will answer all your related questions

Every WhatsApp shortcut for computer you need to know

Every WhatsApp shortcut for computer you need to know

Every WhatsApp shortcut for your computer you need to know, WhatsApp is one of the most popular free messaging apps today. The keyboard shortcuts below will help