Conditional formatting based on another cell [Google Sheets]

December 2022 · 4 minute read
how to add google sheets conditional formatting based on another cell

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:
  • Download DriverFix (verified download file).
  • Click Start Scan to find all problematic drivers.
  • Click Update Drivers to get new versions and avoid system malfunctionings.
  • Google Sheets includes various formatting options for users. Its users can apply alternative cell color, bold, italic, underline, and font formatting to spreadsheet cells within Sheets.

    Those formatting options visually enhance spreadsheets.

    Google Sheets also includes a handy conditional formatting tool that enables users to apply selected formatting styles to cells that match a specified condition.

    With that tool, you can apply conditional formatting to a selected cell range that’s based on another cell’s value.

    How can I use conditional formatting based on another cell in Google Sheets?

    1. Apply conditional formatting based on a single cell value

  • First, open a blank spreadsheet in Google Sheets.
  • Next, enter the dummy data shown in the snapshot directly below within the cell range B2:B5.
    Dummy data google sheets conditional formatting based on another cell
  • Enter the value 450 within cell C2.
  • Select the cell range B2:B6 by holding the left mouse button and dragging the cursor over them.
  • Click Format to open that menu.
    Format menu google sheets conditional formatting based on another cell
  • Then select Conditional formatting to open the sidebar shown directly below.
    Conditional format rules sidebar google sheets conditional formatting based on another cell
  • Select the greater than option on the Format cells if drop-down menu.
    The greater than option google sheets conditional formatting based on another cell
  • Enter =C$2 in the Value or formatting text box, which is a reference to cell C2.
  • Click the Fill color button within the Formatting styles box.
  • Then select the orange color on the palette.
    color palette google sheets conditional formatting based on another cell
  • Click the B Bold button.
  • Press the Done button.
  • Now cells B2, B4, and B5 within the B2:B6 range will have orange cells and bold text as shown in the screenshot directly below.

    Those cells have the selected formatting applied to them as they include higher numbers than the value in C2 the condition is based on.

    The orange and bold conditional formatting google sheets conditional formatting based on another cell

    Note that cell references must always be entered as a formula with = preceding the reference. They must also always include a $ sign between the column letters and row numbers.

    You can apply conditional formatting to cells that include dates. For example, you could select the Date is before option to apply formatting to a cell range that includes dates based on a date in a referenced cell.

    The Format cells if menu also includes several text options. The Text is exactly option would apply formatting to cells with text that exactly matches that of a referenced one.

    2. Apply conditional formatting based on multiple cell values across columns

  • Open an empty spreadsheet.
  • Next, enter the dummy data in columns A, B, C, and D exactly as shown in the snapshot directly below.
    Dummy data for spreadsheet google sheets conditional formatting based on another cell
  • Select the cell range A2:A4.
  • Click the Format menu.
  • Select Conditional formatting to open that tool.
  • Click the Format cells if menu to select Custom formula is.
  • Enter this formula in the Value box: =OR(B2<200, C2<200, D2<200).
    The OR formula google sheets conditional formatting based on another cell
  • Then click Fill color to select red cell formatting.
  • Click the Done option.
  • What you’ve done in the example above is to apply red cell formatting to cells A2 and A4 based on all the cell values in their rows (across columns B to D).

    As the rows for January and March include cells with values less than 200, red formatting is applied to the Jan and March row headings.

    The conditional formatting for the A2:A4 range google sheets conditional formatting based on another cell

    The above examples show you how to apply relatively basic conditional formatting to spreadsheets in Google Sheets.

    You can enhance your spreadsheets’ presentation in many ways by applying conditional formatting with custom formulas and the other options on the Format cells if drop-down menu.

    ncG1vNJzZmivmaOxsMPSq5ypp6Kpe6S7zGiqoZ2VqcBur86nm6KsmaS7oriMn6arpZGpwaq6xmg%3D