Google Sheets tutorial
How to use conditional formatting in Google Sheets
This whole video was made by AI.
Make your own at sayscreen.com
$1 for 7 days, then $49/month
- 4:47 video
- 10 steps
- Last verified December 2, 2026
Conditional formatting colors cells by their values and keeps checking them as the values change. This video types eight students and their test scores, selects the scores and opens Format, then Conditional formatting. It adds a rule that colors scores less than 60 red and a second rule that colors 90 and up green, then changes one score from 88 to 91 to show its cell turn green by itself. It also looks at the other conditions, a custom formula that finds scores above the class average, and the Color scale tab, then cancels those so only the two rules stay.
Steps
- Type the students and their scoresHere: eight students in column A and their scores in column B.
- Select the scores, then open Format and Conditional formattingA panel opens on the right with the selected range filled in.
- Choose Less than and enter 60The preview already highlights the scores under 60.
- Pick the red style and click DoneThe red preset in the top row gives a light red fill with black text.
- Add another rule for 90 and upGreater than or equal to 90, with the default green fill.
- Change a score to see the colors updateHere: 88 becomes 91, and the cell turns green by itself.
- Look at the other conditionsAdd another rule, set the range back to B2:B9, and open the condition list: text, date and number conditions.
- Try Custom formula is=B2>AVERAGE($B$2:$B$9) highlights the scores above the class average.
- Look at the Color scale tabIt shades cells along a gradient from the lowest value to the highest.
- Click Cancel and close the panelOnly the two rules stay.
Transcript
0:00Conditional formatting colors your cells automatically based on their values. Let's use it to make failing and top test scores jump out at a glance.
0:10First we need some data. In column A, type a Student header and eight names, pressing Enter after each one. Then click cell B1 to start the scores column. Add a Score header, then each student's test score out of one hundred.
0:31Select the scores you want to color, from B2 down to B9, leaving the header out. Open the Format menu. And choose Conditional formatting. A panel opens on the right where you build your rules. The range is already filled in with our selected scores. By default, Sheets adds a rule that highlights any cell that isn't empty, so let's change that condition.
0:58Open the condition list. There are conditions for empty cells, text, dates and numbers. Pick Less than. Type 60 as the value, so any score under sixty matches. Already, the preview highlights Ben and Emma, the two scores below sixty. Now let's give them a warning color.
1:21Open the formatting style presets. The red preset fills the cell light red with dark red text, perfect for scores that need attention. Click Done to save the first rule. The rule now appears in the list.
1:38To flag the top scores too, click Add another rule. The same range carries over. Open the condition list again. This time choose Greater than or equal to, so a score of exactly ninety counts too. Enter 90 as the value. Ava and Finn light up. The default style is already a green fill, which is exactly what we want for top scores. Click Done to save it. Both rules are listed.
2:11Now watch what happens when Daniel retakes the test and scores 91. Daniel's cell turned green on its own. The rules keep checking every value, so the colors stay accurate as your data changes.
2:26Let's look at the other options. Click Add another rule once more. The range picked up the single cell we just edited, so set it back to B2 through B9. Single color rules aren't just for numbers. Open the condition list to see everything they can check. Text rules are handy for flagging words like "Late" or "Absent". Date rules can highlight deadlines that have passed, and number rules compare values, like we just did. At the very bottom of the list is the most flexible option of all.
3:01Choose Custom formula is. It lets you write any true or false formula, which is useful when a rule depends on other cells. For example, this formula checks whether each score is above the class average, something the built-in conditions can't do. The preview adds Chloe's 78, which sits above the class average of 74. Write the formula for the first cell of the range, and Sheets adjusts it for every row below.
3:32Next, the Color scale tab. Instead of a yes or no rule, it shades every cell along a gradient by its value. The scores without a color yet now get lighter or darker green, from lowest to highest. Rules higher in the list win, so our red and green cells keep their colors. Pick a preset gradient here, or set your own minimum, midpoint and maximum colors. Color scales work best for spotting patterns across lots of numbers, like a heat map of sales or grades.
4:07We only wanted a look at these options, so click Cancel and keep our two rules as they were. Close the panel. Click away from the table to take in the result. Here's the finished table: scores below sixty in red, ninety and up in green, and everything in between left plain. That's conditional formatting: set a rule once, and Sheets keeps your data color-coded automatically as it changes.
Google Sheets is a trademark of its owner. SayScreen isn't affiliated with, sponsored or endorsed by Google Sheets; this video shows the public app as it looked when it was recorded, and we last checked the steps on December 2, 2026. If Google Sheets has changed since, tell us at hey@sayscreen.com. Google Sheets's own guide: support.google.com/docs/answer/78413.


