Excel – Conditional Formatting in Excel with Formula Current Cell

conditional formattingmicrosoft excel

What to put into formula to determine conditional formatting to reference current cell? E.g. I want to make conditional formatting for if cell contains error (#N/A) and use the same rule for the entire column.

Cant seem to find how to reference the cell for which the function is being evaluated. Is it even possible?

Best Answer

Suppose the data range to conditionally format is A2:A10.

  • Select first cell A2.
  • From Home TAB, Click Conditional Formatting, Manage Rules, New Rule.
  • Under use formula to determine which cell to format. In the field Format values where this formula is true, enter =ISNA($A2).
  • Click Format to set the cell formatting, then select OK.
  • In the Conditional Formatting Rules Manager, edit the range under Applies to set $A2:$A10.
  • Select Apply then OK.
Related Question