How can I apply conditional formatting in Google Sheets from another sheet? 2

How can I apply conditional formatting in Google Sheets from another sheet?

Conditional formatting in Google Sheets allows users to highlight certain cells or rows based on specified conditions. This feature can also be applied from one sheet to another, making it convenient for organizing and analyzing data across multiple sheets. To apply conditional formatting from another sheet, users can use the “Custom Formula” option in the conditional formatting menu and reference the desired cells or ranges from the other sheet using the sheet name and cell coordinates. This allows for seamless and efficient formatting of data in Google Sheets.

Google Sheets: Conditional Formatting from Another Sheet


You can use the custom formula function in Google Sheets to apply conditional formatting based on a cell value from another sheet.

The following example shows how to use the custom formula function in practice.

Example: Conditional Formatting Based on Another Sheet

Suppose we have the following dataset in Sheet1 that shows the total points scored by various basketball teams:

And suppose we have the following dataset in Sheet2 that shows the total points allowed by the same list of teams:

Suppose we’d like to highlight each of the cells in the Team column of Sheet1 if the value in the Points Scored column is greater than the value in the Points Allowed column in Sheet2.

To do so, we can highlight the cells in the range A2:A11, then click the Format tab, then click Conditional formatting:

In the Conditional format rules panel that appears on the right side of the screen, click the Format cells if dropdown, then choose Custom formula is, then type in the following formula:

=B2>INDIRECT("Sheet2!B2")

Google Sheets conditional formatting based on another sheet

Note: It’s important that you include the equal sign (=) at the beginning of the formula, otherwise the conditional formatting won’t work.

Once you click Done, each of the cells in the Team column where the value in the Points Scored column is greater than the value in the Points Allowed column in Sheet2 will be highlighted with a green background:

The only Team values that have a green background are the ones where the value in the Points Scored column in Sheet1 is greater than the Points Allowed column in Sheet2.

For example, if your sheet is called Sheet 2 then you should use the following syntax when defining the formatting rule:

=B2>INDIRECT("'Sheet 2'!B2")

The following tutorials explain how to perform other common tasks in Google Sheets:

Cite this article

stats writer (2024). How can I apply conditional formatting in Google Sheets from another sheet?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-in-google-sheets-from-another-sheet/

stats writer. "How can I apply conditional formatting in Google Sheets from another sheet?." PSYCHOLOGICAL SCALES, 26 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-in-google-sheets-from-another-sheet/.

stats writer. "How can I apply conditional formatting in Google Sheets from another sheet?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-in-google-sheets-from-another-sheet/.

stats writer (2024) 'How can I apply conditional formatting in Google Sheets from another sheet?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-apply-conditional-formatting-in-google-sheets-from-another-sheet/.

[1] stats writer, "How can I apply conditional formatting in Google Sheets from another sheet?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.

stats writer. How can I apply conditional formatting in Google Sheets from another sheet?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
Slide Up
x
PDF
Scroll to Top