How can i apply a conditional formatting rule to all rows except first row?

RAM picture RAM · Jan 8, 2017 · Viewed 14.4k times · Source

My problem is about programming in excel (create a formula for conditional formatting rule).

If i use the following formula in my format condition formula:

=INDIRECT("A"&ROW())>1

And apply on all rows include first row with following range in Apply to field:

$A:$F

Result: It works well.


But i want apply it to all rows except first row. So i changed it to:

=AND(INDIRECT("A"&ROW())>1;ROW()>1)

Result: Now it did not work on any row.


What is my mistake in the above formula?

Answer

Alain picture Alain · May 17, 2019

Just add an extra formula rule to the row(s) you would like to exclude. Set the formula to TRUE and tick the Stop If True option. This rule should be on top of the rule list.

Exclude from conditional formatting