hello, working on a pivot table conditional formatting and need help.
I want to compare each month AVG CPH to previous month and if greater format green and less format red.
for example in February NTX cph was higher than January so that would be green and WTX in February is lower than January so that should be red. any help for this would be appreciated. thank you.
[TABLE="width: 988"]
<colgroup><col width="92" style="width: 69pt; mso-width-source: userset; mso-width-alt: 3364;"> <col width="136" style="width: 102pt; mso-width-source: userset; mso-width-alt: 4973;" span="8"> <col width="137" style="width: 103pt; mso-width-source: userset; mso-width-alt: 5010;"> <tbody>[TR]
[TD="width: 92, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 137, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl68"] [/TD]
[TD="class: xl77"]MONTH [/TD]
[TD="class: xl75"]Values[/TD]
[TD="class: xl75"] [/TD]
[TD="class: xl76"] [/TD]
[TD="class: xl77"] [/TD]
[TD="class: xl76"] [/TD]
[TD="class: xl75"] [/TD]
[TD="class: xl76"] [/TD]
[TD="class: xl77"] [/TD]
[/TR]
[TR]
[TD="class: xl69"] [/TD]
[TD]January[/TD]
[TD]January[/TD]
[TD]February[/TD]
[TD]February[/TD]
[TD]March[/TD]
[TD]March[/TD]
[TD]April[/TD]
[TD]April[/TD]
[TD]Total AVG Efficiency[/TD]
[/TR]
[TR]
[TD="class: xl74, width: 92"]MU[/TD]
[TD="class: xl65"]AVG Efficiency[/TD]
[TD="class: xl66"]AVG CPH[/TD]
[TD="class: xl65"]AVG Efficiency[/TD]
[TD="class: xl66"]AVG CPH[/TD]
[TD="class: xl65"]AVG Efficiency[/TD]
[TD="class: xl66"]AVG CPH[/TD]
[TD="class: xl65"]AVG Efficiency[/TD]
[TD="class: xl66"]AVG CPH[/TD]
[TD="class: xl82"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]NTX[/TD]
[TD="class: xl73, bgcolor: transparent, align: right"]114.45%[/TD]
[TD="class: xl78, bgcolor: transparent, align: right"]190.22[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]124.20%[/TD]
[TD="class: xl78, bgcolor: transparent, align: right"]328.70[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]121.41%[/TD]
[TD="class: xl78, bgcolor: transparent, align: right"]207.40[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]115.20%[/TD]
[TD="class: xl78, bgcolor: transparent, align: right"]192.59[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]118.86%[/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]OKMU[/TD]
[TD="class: xl67, bgcolor: transparent"] [/TD]
[TD="class: xl70, bgcolor: transparent"][/TD]
[TD="class: xl71, bgcolor: transparent"][/TD]
[TD="class: xl70, bgcolor: transparent"][/TD]
[TD="class: xl71, bgcolor: transparent"][/TD]
[TD="class: xl70, bgcolor: transparent"][/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]58.44%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]91.29[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]58.44%[/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]SCTX[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]104.55%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]164.50[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]104.87%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]165.23[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]105.13%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]194.94[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]102.55%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]161.38[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]104.30%[/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]SETX[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]160.28%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]258.37[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]154.81%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]275.32[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]100.10%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]170.19[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]175.05%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]276.24[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]146.93%[/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]WTX[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]101.08%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]163.76[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]100.71%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]163.14[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]97.48%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]161.27[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]90.49%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]147.68[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]97.49%[/TD]
[/TR]
[TR]
[TD="class: xl65"]Grand Total[/TD]
[TD="class: xl79, align: right"]125.21%[/TD]
[TD="class: xl80, align: right"]202.30[/TD]
[TD="class: xl81, align: right"]126.16%[/TD]
[TD="class: xl80, align: right"]241.89[/TD]
[TD="class: xl81, align: right"]105.94%[/TD]
[TD="class: xl80, align: right"]183.58[/TD]
[TD="class: xl81, align: right"]123.78%[/TD]
[TD="class: xl80, align: right"]198.16[/TD]
[TD="class: xl81, align: right"]120.08%[/TD]
[/TR]
</tbody>[/TABLE]
I want to compare each month AVG CPH to previous month and if greater format green and less format red.
for example in February NTX cph was higher than January so that would be green and WTX in February is lower than January so that should be red. any help for this would be appreciated. thank you.
[TABLE="width: 988"]
<colgroup><col width="92" style="width: 69pt; mso-width-source: userset; mso-width-alt: 3364;"> <col width="136" style="width: 102pt; mso-width-source: userset; mso-width-alt: 4973;" span="8"> <col width="137" style="width: 103pt; mso-width-source: userset; mso-width-alt: 5010;"> <tbody>[TR]
[TD="width: 92, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 136, bgcolor: transparent"][/TD]
[TD="width: 137, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl68"] [/TD]
[TD="class: xl77"]MONTH [/TD]
[TD="class: xl75"]Values[/TD]
[TD="class: xl75"] [/TD]
[TD="class: xl76"] [/TD]
[TD="class: xl77"] [/TD]
[TD="class: xl76"] [/TD]
[TD="class: xl75"] [/TD]
[TD="class: xl76"] [/TD]
[TD="class: xl77"] [/TD]
[/TR]
[TR]
[TD="class: xl69"] [/TD]
[TD]January[/TD]
[TD]January[/TD]
[TD]February[/TD]
[TD]February[/TD]
[TD]March[/TD]
[TD]March[/TD]
[TD]April[/TD]
[TD]April[/TD]
[TD]Total AVG Efficiency[/TD]
[/TR]
[TR]
[TD="class: xl74, width: 92"]MU[/TD]
[TD="class: xl65"]AVG Efficiency[/TD]
[TD="class: xl66"]AVG CPH[/TD]
[TD="class: xl65"]AVG Efficiency[/TD]
[TD="class: xl66"]AVG CPH[/TD]
[TD="class: xl65"]AVG Efficiency[/TD]
[TD="class: xl66"]AVG CPH[/TD]
[TD="class: xl65"]AVG Efficiency[/TD]
[TD="class: xl66"]AVG CPH[/TD]
[TD="class: xl82"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]NTX[/TD]
[TD="class: xl73, bgcolor: transparent, align: right"]114.45%[/TD]
[TD="class: xl78, bgcolor: transparent, align: right"]190.22[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]124.20%[/TD]
[TD="class: xl78, bgcolor: transparent, align: right"]328.70[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]121.41%[/TD]
[TD="class: xl78, bgcolor: transparent, align: right"]207.40[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]115.20%[/TD]
[TD="class: xl78, bgcolor: transparent, align: right"]192.59[/TD]
[TD="class: xl72, bgcolor: transparent, align: right"]118.86%[/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]OKMU[/TD]
[TD="class: xl67, bgcolor: transparent"] [/TD]
[TD="class: xl70, bgcolor: transparent"][/TD]
[TD="class: xl71, bgcolor: transparent"][/TD]
[TD="class: xl70, bgcolor: transparent"][/TD]
[TD="class: xl71, bgcolor: transparent"][/TD]
[TD="class: xl70, bgcolor: transparent"][/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]58.44%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]91.29[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]58.44%[/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]SCTX[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]104.55%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]164.50[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]104.87%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]165.23[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]105.13%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]194.94[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]102.55%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]161.38[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]104.30%[/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]SETX[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]160.28%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]258.37[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]154.81%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]275.32[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]100.10%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]170.19[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]175.05%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]276.24[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]146.93%[/TD]
[/TR]
[TR]
[TD="class: xl69, bgcolor: transparent"]WTX[/TD]
[TD="class: xl67, bgcolor: transparent, align: right"]101.08%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]163.76[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]100.71%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]163.14[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]97.48%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]161.27[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]90.49%[/TD]
[TD="class: xl70, bgcolor: transparent, align: right"]147.68[/TD]
[TD="class: xl71, bgcolor: transparent, align: right"]97.49%[/TD]
[/TR]
[TR]
[TD="class: xl65"]Grand Total[/TD]
[TD="class: xl79, align: right"]125.21%[/TD]
[TD="class: xl80, align: right"]202.30[/TD]
[TD="class: xl81, align: right"]126.16%[/TD]
[TD="class: xl80, align: right"]241.89[/TD]
[TD="class: xl81, align: right"]105.94%[/TD]
[TD="class: xl80, align: right"]183.58[/TD]
[TD="class: xl81, align: right"]123.78%[/TD]
[TD="class: xl80, align: right"]198.16[/TD]
[TD="class: xl81, align: right"]120.08%[/TD]
[/TR]
</tbody>[/TABLE]