Forum Discussion

AndersChristmann's avatar
AndersChristmann
Copper Contributor
Jan 18, 2023
Solved

Conditional Formatting, comparing a cell with a formula to another cell in another sheet across row

Hello,   I am running into a problem here and I can't figure it out, despite googling for hours.   I am trying to compare a cell to a cell in another sheet. Lets say I am comparing A1 in sheet_1 ...
  • HansVogelaar's avatar
    Jan 18, 2023

    AndersChristmann 

    Select the cells in column A on sheet_1 that you want to format.

    I'll assume that A1 is the active cell in the selection.

    On the Home tab of the ribbon, select Conditional Formatting > Manage Rules...

    Delete the current rule if there is one.

    Click New Rule...

    Select 'Format only cells that contain'.

    Leave the first drop-down set to 'Cell Value'.

    Select 'greater than or equal to' from the second drop-down.

    In the box next to it, enter the formula ='sheet_2'!A1 replacing sheet_2 with the real name of that sheet.

    Please note that there are no $ signs in the cell reference A1.

    Click Format...

    Activate the Fill tab.

    Select red.

    Click OK, then click OK again.

Resources