Microsoft Excel – comparing two columns of figures using conditional formatting

Suppose I have sales figures for two years and I want to highlight this year’s figures in green if they are higher than last year’s figures and in red if they are lower than last year’s figures.

Select the figures in this year’s column, then from the Home tab, in the Styles group, from the Conditional Formatting dropdown, select Highlight Cells Rules, then select Less than.

In the lefthand box, type =B2.

From the righthand dropdown, select LightRed Fill with Dark Red Text. Click OK.

Now with the same data selected, from the Conditional Formatting dropdown, select Highlight Cells Rules,
then select Greater Than.

In the lefthand box, type =B2.

From the righthand dropdown, select Green Fill with Dark Green Text. Click OK.

Find out more about our Excel training courses Sydney, Australia.

Find out more about our Excel training courses London, Surrey, Middlesex, UK, or our Microsoft Excel training courses Hampshire, Wiltshire, Dorset, UK

About jdonbavand

I am a trainer of Microsoft Office, Microsoft Project and Crystal Reports. I have called my blog "If Only I'd Known That...." because I hear it so many times in training sessions. In fact, if only I had a £100 (or 150 Aussie dollars)for every time someone says "If only I'd known that." ....
This entry was posted in Microsoft Excel, Microsoft Excel 2007, Microsoft Excel 2010, Microsoft Excel 2013 and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s