Forum Discussion

AxiomMB's avatar
AxiomMB
Copper Contributor
Mar 19, 2025
Solved

Conditional Formatting based on cell contents and location

I'm really struggling here with some conditional formatting.  Font colors in a range of cells need to change based on the cell above. For Example: Cells L48-Z48 contain a number, Cells L49-Z49 conta...
  • HansVogelaar's avatar
    Mar 19, 2025

    Select L49:Z49.

    L49 should be the active cell in the selected range.

    On the Home tab of the ribbon, click Conditional Formatting > New Rule...
    Select 'Format only cells that contain'.
    Leave the first drop down set to 'Cell Value'.
    Select 'greater than' from the second drop down.
    In the box next to it, enter the formula

    =L48

    (Important: no $ sign before the column letter L!)
    Click Format...
    Activate the Fill tab.
    Select red as fill color.
    Click OK, then click OK again.