Conditional Formatting

rguliuzza

New Member
Joined
Mar 12, 2012
Messages
37
Hi Community Members,

I have a bit of a dilemma which, most likely, has a simple solution. Based on the table below, I want to run a conditional formatting rule that will add item 1 & 2 for each month and if that is greater then the yearly / 12, I want to either have red for > or green for <. I can do it if I create a rule for each column; however, I was wondering if there is one I can do across multiple columns, for the 12 months?

Thank you.

Jan
Feb
Mar
Item 1
8000
4000
7500
Item 2
3000
4500
11000
Yearly
120000

<tbody>
</tbody>
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
assuming the rows and columns are as laid out - so Jan = B1

and so Year = B4

=B$2+B$3>$B$4/12 = Red
=B$2+B$3<$B$4/12 = green

then the applies to will define the area to colour
and so apply to all columns

Excel Workbook
ABCDEFGH
1JanFebMar
2Item 1800040007500B$2+B$3
3Item 23000450011000B$2+B$3>$B$6/12 = Red
4
5
6Yearly120000
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B21. / Formula is =B$2+B$3>$B$6/12Abc
B22. / Formula is =B$2+B$3<$B$6/12Abc
 
Upvote 0
your welcome, post back if issues
 
Upvote 0

Forum statistics

Threads
1,216,098
Messages
6,128,812
Members
449,468
Latest member
AGreen17

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