conditional cell shading when a change occurs

Z

zooeyhall

Hi! Just recently joined this newsgroup, in hope that I can find an
answer to my problem. I am generally familiar with Excel, but need
some help on this particular problem.

I want to apply a format where whenever the number in a column differs
from the one previous to it, a cell shading color change is applied.

For example, you have a column of numbers in Excel:

2
2
2
5 (cell shading color change applied)
5
5
5
2 (cell shading color change applied)
2
2
3 (cell shading color change applied)
etc....

It doesn't matter what color is used, just so that it is applied
whenever there is a change from the previous number.

There has got to be an easy answer to this.... thanks so much in
advance for any help!
 
J

JE McGimpsey

One way:

Select A2 down to the end of your data:

CF1: =A2<>A1
Format1: Patterns/<whatever color>
 

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