Conditional Formatting & YTD Calculation

rockstar1312

New Member
Joined
Oct 2, 2017
Messages
2
Need some help. Am applying conditional formatting based on RAG rating (Red, Amber & Green) data, and it is working, but when it comes to YTD, the conditional formatting doesnt work as expected. The conditional formatting based on colours for YTD uses the YTD calculation but I want it to use the RAG criteria. It works for % YTD, where it uses average. I cannot change everything to average though.

I mean as you can see YTD on cell O2 shows 136 which is red, whereas it should be grean based on the RAG rating.


Any suggestions?

Sales

ABCDEFGHIJKLMNOP
1Ref.SalesTargetRAGAug-16Sep-16Oct-16Nov-16Dec-16Jan-17Feb-17Mar-17YTD(AUG16-MAR17)Traffic
21.00UK2030+20-30<=202627151017181211136
32.00Germany0>21-200.262.000.150.100.170.182.000.114.97
43.00France90%<75%75-89%>=90%64%62%81%88%100%86%86%100%83%
5
6
7
8
9
10

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:62px;"><col style="width:71px;"><col style="width:50px;"><col style="width:62px;"><col style="width:62px;"><col style="width:62px;"><col style="width:62px;"><col style="width:62px;"><col style="width:62px;"><col style="width:62px;"><col style="width:62px;"><col style="width:62px;"><col style="width:62px;"><col style="width:64px;"><col style="width:111px;"><col style="width:52px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
O2=SUM(G2:N2)
P2=O2
G3=G2/100
I3=I2/100
J3=J2/100
K3=K2/100
L3=L2/100
N3=N2/100
O3=SUM(G3:N3)
P3=O3
O4=AVERAGE(G4:N4)
P4=O4

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,214,974
Messages
6,122,536
Members
449,088
Latest member
RandomExceller01

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