Background stays when sorting

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?
 
B

Bob I

In 2007 you can Format as Table. Or you could use conditional formatting
based on row.
 
G

Gord Dibben

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top