Conditional formatting for cells in Pairs

friel300

Board Regular
Joined
Jan 22, 2008
Messages
69
Hey All,
I have been having some problems with some conditional formatting.

I have columns showing Foretasted Spend vs Actual Spend (Starting with D:E and going down and across)
What I am after, is comparing 2 things:
  • Weather the Forecast is more than a Actual By a certain Percentage shown in [A3] (i have it at 20%, so an if forecast was 500 then the cell will turn red for anything less than an actual of 400)
  • If the Forecast is lower than actual.(So if forecast is 500, an actual of 501 would turn the cell red too)


Now i have the below formula that works in a cell but doesn't seem to work in the conditional formatting.

Code:
=OR(OFFSET(D6,0,-MOD(COLUMN(D6),2))*(1-$A$3)>OFFSET(D6,0,1-MOD(COLUMN(D6),2)),OFFSET(D6,0,-MOD(COLUMN(D6),2))<offset(d6,0,1-mod(column(d6),2)))[ code]<font="" color="#333333">

Cross post Here: https://www.excelforum.com/excel-fo...matting-in-pairs-not-working.html#post4763509</offset(d6,0,1-mod(column(d6),2)))[>
 
Last edited:

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,215,113
Messages
6,123,165
Members
449,099
Latest member
bes000

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