Trouble with variance and conditional formating

ed.ayers315

Board Regular
Joined
Dec 14, 2009
Messages
166
Here is a data set I am using. I need to show the percentage of variance, positive and negative. In the last column, you can see the result of this formula is wack. That column also has conditional formatting, DataBar. I need the databar to visually represent the actual percentage above or below the surv usage target. The formula in that column is <iferror(if(an11<0,am11 al11-1,(al11="" am11-1)),"")="">
</iferror(if(an11<0,am11>
<iferror(if(an11<0,am11 al11-1,(al11="" am11-1)),"")="">iferror(if(an11< 0,am11 al11-1,(al11="" am11-1)),"")=""
AN11 is Per Surv
AM11 is Periods current average

Any direction would be appreciated!

PER SURVPERIOD'S CURRENT AVGAVG VARIANCE TO SURVEYJAN: 2018FEB: 2018MAR: 2018APR: 2018MAY: 2018JUN: 2018JUL: 2017AUG: 2017SEP: 2017OCT: 2017NOV: 2017DEC: 2017EASY VIEW DATA
BARS
% VARIANCE
156.6181.925.3193.4187.8160.2199.5192.5206.2170.1195.2182.4197.7212.285.4618.4%
30.038.58.542.541.427.023.21.841.942.643.135.253.952.157.2353.7%
159.9165.35.4173.4163.5133.1174.0160.2163.9160.754.8163.4197.9172.8265.92934.3%
7.99.81.98.39.69.710.511.08.98.56.411.613.111.88.2418.5%
0.50.50.01.20.10.11.40.40.40.10.10.90.70.20.51168.0%
2.42.50.00.32.72.90.73.02.13.42.82.32.61.95.26776.2%
5.52.5(2.9)0.00.94.35.410.69.10.00.00.00.00.00.0-185.9%

<tbody>
</tbody>


</iferror(if(an11<0,am11>
 
Last edited by a moderator:

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,213,530
Messages
6,114,163
Members
448,554
Latest member
Gleisner2

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