Ever found yourself wishing to automate certain formatting tasks in Google Sheets based on the content of another cell? Conditional formatting is your friend! This powerful feature allows you to apply specific formatting rules to cells based on their values or the values of other cells. Let's delve into how you can create conditional format rules in Google Sheets that are based on another cell.

Before we dive in, ensure you're familiar with the basics of Google Sheets and conditional formatting. If not, don't worry – we'll keep it simple and step-by-step. Let's start by understanding why you might want to use this feature and what it can do for you.

Why Use Conditional Formatting Based on Another Cell?
Conditional formatting based on another cell can streamline your workflow by automating visual cues. For instance, you might want to highlight cells that contain values above a certain threshold, or cells that are not equal to the value in another cell. This can help you spot errors, track changes, or simply make your spreadsheet more readable.

In this article, we'll guide you through creating conditional format rules based on another cell. We'll cover both simple and complex scenarios, ensuring you have a solid understanding of this versatile tool.
Simple Conditional Formatting: Highlighting Based on Another Cell

Let's start with a simple example. Suppose you have a list of sales figures in Column A, and you want to highlight cells in Column B that are not equal to the corresponding cell in Column A. Here's how you can do it:
1. Select the range in Column B where you want to apply the formatting. For example, if your data starts from B2, select B2:B100.
2. Click on 'Format' in the menu, then 'Conditional formatting'.

3. Under the 'Format cells if...' dropdown, choose 'Custom formula is'.
4. Enter the following formula: `=B2<>A2` (assuming your data starts from row 2). This formula checks if the value in each cell in Column B is not equal to the value in the corresponding cell in Column A.
5. Choose the formatting style you want to apply (e.g., fill color, text color, or border).

6. Click 'Done'. Google Sheets will now apply the formatting to any cells in Column B that do not match the corresponding cell in Column A.
Complex Conditional Formatting: Multiple Rules and Logical Operators




















Now let's explore a more complex scenario. Suppose you have a list of scores in Column A, and you want to highlight cells in Column B based on the following conditions:
- Highlight green if the score is above 90.
- Highlight yellow if the score is between 70 and 90.
- Highlight red if the score is below 70.
Here's how you can set up these rules:
1. Select the range in Column B where you want to apply the formatting.
2. Click on 'Format' in the menu, then 'Conditional formatting'.
3. Click on 'Add another rule' at the bottom of the dialog box.
4. For the first rule, choose 'Custom formula is' and enter the formula `=A2>90` (assuming your data starts from row 2). Choose the green formatting style, then click 'Done'.
5. Click on 'Add another rule' again. For the second rule, enter the formula `=AND(A2>70, A2<=90)`. Choose the yellow formatting style, then click 'Done'.
6. Click on 'Add another rule' one more time. For the third rule, enter the formula `=A2<70`. Choose the red formatting style, then click 'Done'.
7. Click 'Done' to apply all the rules.
Now, Google Sheets will apply the formatting to cells in Column B based on the scores in Column A, using the rules you've set up.
Using Conditional Formatting with Other Cells
So far, we've looked at conditional formatting based on the value of another cell in the same row. But what if you want to base your formatting on the value of a cell in another row or column? The process is similar, but you'll need to adjust your formulas accordingly.
For example, suppose you have a list of names in Column A, and you want to highlight cells in Column B that match the name in cell A1. You can use the following formula: `=B2=A1` (assuming your data starts from row 2). This will highlight any cells in Column B that contain the name in cell A1.
Using Conditional Formatting with Data Validation
Conditional formatting can also be used in conjunction with data validation to create dropdown menus and other interactive features. For instance, you can use data validation to create a dropdown menu in one cell, and then use conditional formatting to apply formatting to other cells based on the selected value.
To do this, you'll first need to set up data validation in the cell where you want the dropdown menu. Then, you can use conditional formatting to apply formatting to other cells based on the selected value. The formula you use will depend on the specific scenario, but it will typically involve a reference to the cell containing the dropdown menu.
In conclusion, conditional formatting based on another cell is a powerful tool that can help you automate formatting tasks and make your Google Sheets more informative and easier to use. Whether you're highlighting cells based on simple or complex rules, or using conditional formatting in conjunction with other features, this tool offers a wealth of possibilities. So go ahead, experiment, and see what you can create!