Hello All,
Please can you help me to solve this problem.
I have monthly %'s, in this case m19(e.g. Jan) = 88% and L19(e.g. Feb) = 104% and $R19 is my static target of 100%. If the % is within + or - 5% of the target I want to show the defined name of either down_good or up_good.
down_good and up_good are up and down arrows in the wingdings format. The same is true of the other defined names within the formula below.
This is the formula that does this:-
=IF(ISERROR(L19),"",IF(AND(M19<L19,M19-$R19<-0.1),down_bad,IF(AND(M19>L19,M19-$R19>0.1),up_bad,IF(AND(M19<L19,M19-$R19<-0.05),down_near,IF(AND(M19>L19,M19-$R19>0.5),up_near,IF(AND(M19<L19,M19-$R19<0),down_good,IF(AND(M19>L19,M19-$R19>0),up_good)))))))
S19 = where the trend arrow are
I then use conditional formatting to say if the cell value is =OR(S19=down_bad,S19=up_bad) = font red
if =OR(S19=down_near,S19=up_near) = font orange
if =OR(S19=down_good,S19=up_good) = font green
The formula works fine but the conditional format always defaults to the first colour i.e. red and when I drag it along to compare other months it always remains the colour associated with the first conditional formatting condition.
Can anybody help please?
For my sanity I changed the defined names to text i.e. "up_bad" etc. and also in the conditional formatting and this changes as it should.
Cheers, Alistair
Please can you help me to solve this problem.
I have monthly %'s, in this case m19(e.g. Jan) = 88% and L19(e.g. Feb) = 104% and $R19 is my static target of 100%. If the % is within + or - 5% of the target I want to show the defined name of either down_good or up_good.
down_good and up_good are up and down arrows in the wingdings format. The same is true of the other defined names within the formula below.
This is the formula that does this:-
=IF(ISERROR(L19),"",IF(AND(M19<L19,M19-$R19<-0.1),down_bad,IF(AND(M19>L19,M19-$R19>0.1),up_bad,IF(AND(M19<L19,M19-$R19<-0.05),down_near,IF(AND(M19>L19,M19-$R19>0.5),up_near,IF(AND(M19<L19,M19-$R19<0),down_good,IF(AND(M19>L19,M19-$R19>0),up_good)))))))
S19 = where the trend arrow are
I then use conditional formatting to say if the cell value is =OR(S19=down_bad,S19=up_bad) = font red
if =OR(S19=down_near,S19=up_near) = font orange
if =OR(S19=down_good,S19=up_good) = font green
The formula works fine but the conditional format always defaults to the first colour i.e. red and when I drag it along to compare other months it always remains the colour associated with the first conditional formatting condition.
Can anybody help please?
For my sanity I changed the defined names to text i.e. "up_bad" etc. and also in the conditional formatting and this changes as it should.
Cheers, Alistair