Background stays when sorting

  • Thread starter Thread starter hunter
  • Start date Start date
H

hunter

Is there anyone to set a background color that doesn't change when sorting?
I have an excel spreadsheet that has different colors every other row. When
I sort, the colored rows move too. How can I get them to stay in place and
only sort the values?
 
Use Conditional formatting>Formula is:

=MOD(SUBTOTAL(3,$A1:$A$2),2)=0

This will survive through sorting and filtering.


Gord Dibben MS Excel MVP
 
Back
Top