Conditional Formatting to show trends

hawkfan1

New Member
Joined
Dec 8, 2010
Messages
25
I have a table that has several values for each month regarding each LOB. I am trying to show the trend over the months by using conditional formatting. Does anyone know what formula I would need to do this? Example is if A1 is 5 and B1 is 7 I would like to show that as a green cell or having the up arrow icon, however, if C1 is 4 I would like to show that cell in a different color or with a down arrow.......if they remain the same, another color or an arrow pointing sideways. Any help would be greatly appreciated.

Thanks
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Here are a few ideas.
One, for the formula, you could try something like this: (In say, C1?)
= IF (B1 = A1, CHAR(27) & CHAR(26), IF (B1 < A1, "down", CHAR(24)))

If you want to CF that cell, here's what I did:
First condition: Formula Is =B1 =A1 (and format to suit)
Second Condition: Formula Is =B1 > A1 (and format to suit)
Third Condition: Formula Is =B1<a1<a1 (and="" format="" to="" suit)
< A1
That help at all?

EDIT:
For some reason these formulas won't post correctly so I've added some spaces in them.</a1<a1>
 
Upvote 0
yes, that does help. Is there a way to copy conditional formatting from cell to cell or do I have to create it in each cell?
 
Upvote 0
Sorry for the delay...
Yes, you can simply copy & paste the conditionally formatted cell(s) and paste anywhere you like. But you have to make sure your CF formula(s) are using relative cell references and not absolute. (ie, no $ characters in the formula)

That help?
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,681
Members
452,937
Latest member
Bhg1984

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top