When there are hundreds of entries, tables can quickly look over­whelm­ing and cause confusion. And before you can even access the most important bits of in­for­ma­tion, time is being wasted. Spread­sheet software make it easier to un­der­stand important aspects thanks to user-defined for­mat­ting. For example, one could highlight all the values that are greater than 500 in a table. Or perhaps you’re looking to format only cells that contain an entry of a future date. Con­di­tion­al for­mat­ting in Excel or in Google Sheets lets you au­to­mat­i­cal­ly highlight values that match pre-defined con­di­tions.

Excel with Microsoft 365 and IONOS!
The Office you know, only better
  • Up to 50 GB Exchange email account
  • Outlook Web App and col­lab­o­ra­tion tools
  • Expert support & setup service

Areas of ap­pli­ca­tion for con­di­tion­al for­mat­ting in Google Sheets

The areas of ap­pli­ca­tion for con­di­tion­al for­mat­ting are as varied as the available for­mat­ting options. Ac­coun­tants can use con­di­tion­al for­mat­ting, for example, to calculate overviews of monthly profits and losses by high­light­ing negative values in red. Project managers, on the other hand, may format their ongoing budget overviews to flag any values exceeding available budgets.

Con­di­tion­al for­mat­ting makes it easier to view and com­pre­hend complex tables. By using color high­light­ing, specific elements and values in a table are more easily viewed based on in­di­vid­ual values or specific rules or formulas.

Values as the basis for con­di­tion­al for­mat­ting in Google Sheets

The simplest way to highlight specific in­for­ma­tion is to compare and relate in­di­vid­ual entries to each other. For­mat­ting options such as “Color scale,” for example, are useful to highlight high values in a darker color than lower values. Google au­to­mat­i­cal­ly suggests a scale of green tones, but users can choose their own colors. To format high­light­ing options in your Google Sheets project, follow these steps:

  1. Mark the desired range of values.
  2. Right-click on the selected area and choose “Con­di­tion­al for­mat­ting.
  3. In the lower right side menu, select “Color scale.” You can now choose to continue with the green color scale or select your preferred color. Click on “Done” when you’re finished.

Google Sheets: con­di­tion­al for­mat­ting based on rules

If you’re working with an extensive profit-loss table and need an overview of the months during which the business performed par­tic­u­lar­ly well, con­di­tion­al for­mat­ting can be defined based on rules and exact values. The following example is based on a table of revenue and outgoings over a period of 12 months. Here, we want to highlight cells that meet the following con­di­tions: profits over $1,000 are to be au­to­mat­i­cal­ly high­light­ed in green, and losses will be shown in red.

  1. Mark the range of values in the spread­sheet you want to apply the con­di­tions to. Right-click anywhere in the selection and select “Con­di­tion­al for­mat­ting.
  1. The dialog window “Con­di­tion­al format rules” will open up in which con­di­tions and for­mat­ting can be further defined. Select “Format cells if…” from the drop-down menu and choose “Greater than.” In the field below, enter the value “1000.” All values within the selected range that are greater than 1,000 will be au­to­mat­i­cal­ly high­light­ed in green.
  1. By selecting “Add another rule,” you can specify ad­di­tion­al con­di­tions. In this example, we’re trying to highlight all cells with values smaller than “0” in red sig­ni­fy­ing losses. Add another rule and choose “Smaller than” and enter “0.” Change the for­mat­ting colour to red. Hit “Done” when you’re ready.
Google Workspace (Formerly G Suite)
Work smarter, together.
  • All your favorite Google pro­duc­tiv­i­ty tools
  • Business Gmail for your domain
  • Using Gmail with your domain from IONOS

Con­di­tion­al for­mat­ting based on formulas

Aside from con­di­tion­al for­mat­ting via defined rules for values, text, and dates, you can also specify your own formulas to format data. A user-defined formula allows you to highlight cells which meet the con­di­tions of your formula. This could be useful to highlight future dates, for example, as shown in this example:

  1. Mark the range of values in the spread­sheet you want to apply the con­di­tions to. Right-click anywhere in the selection and select “Con­di­tion­al for­mat­ting.
  1. In the settings window “Con­di­tion­al format rules” select “Format cells if” and choose “Custom formula is” from the drop-down menu. Enter the desired formula. In this example, the formula is “=B4>TODAY()”. Then select your preferred for­mat­ting. In the example below, all future dates will be marked in red.
  1. Confirm your con­di­tion­al for­mat­ting by clicking on “Done.” If you right-click into one of the con­di­tion­al­ly formatted cells and click on the “Con­di­tion­al format rules,” you can see the active for­mat­ting in the selected cell. If necessary, you can also add another rule.

More in­for­ma­tion on con­di­tion­al for­mat­ting in Google Sheets and some other in­ter­est­ing examples are shown in this YouTube tutorial:

mgW0t5mu_As.jpg To display this video, third-party cookies are required. You can access and change your cookie settings here.
Tip

Google Sheets is available as part of the Google Workspace package for en­ter­pris­es from IONOS. The full package includes a business Gmail account and ad­di­tion­al cloud storage as well as optimised Google support.

Go to Main Menu