Controlling the appearance of cell ranges in a Google Sheets spreadsheet (e.g., font, text style, or fill), conditional upon the content of cells.
Conditional formatting of cells in a Google Sheets spreadsheet.
https://support.google.com/docs/answer/78413?co=GENIE.Platform%3DDesktop&hl=en