My column A is numerical, and I can apply conditional formatting color scales. However, I also want column B to be coloured according to the scale. The scale formatting does not accept formulas and will ignore non-numerical cells in the range, so I'm not sure how to do this.
Applying Conditional Formatting Color Scale to Non-Numerical Cells in Google Sheets
conditional formattinggoogle sheets
Related Topic
- Google Sheets – Conditional Color Scale Not Working with Functions
- Google-sheets – Color Scale via Conditional Formatting with Non-Numerical Values
- Google-sheets – Use non-linear color scale for conditional formatting in Google Sheets
- Google Sheets – How to Use IF, AND Conditional Formatting
- Google Sheets – Conditional Formatting with Color Scale for Multiple Rows
- Google Sheets – Combine Custom Formula with Colour Scale in Conditional Formatting
Best Answer
As pnuts suggested, an Apps Script is currently the only way to do this. Here is how one can paint column B the same colors as column A:
However, you probably want these colors to remain in sync if changes are made to column A. This calls for an onEdit trigger, in which the function checks that the edit was made to column A of a certain sheet, and repaints if necessary.
This script tracks column A (
== 1
is its number) of the sheet named "Sheet1".