Condition Format +/- 10%

RID

New Member
Joined
Dec 17, 2009
Messages
25
Office Version
  1. 365
Platform
  1. Windows
Good Morning

I am trying to conditional format a column of data where a +/- 10% on previous cell would be formatted.

There are columns where 0 is present due to either a breakdown or non-working shift that needs to be in the column so cannot remove this.

For example there is a 10% swing between rows 1 & 2, rows 2&3 and rows 6&8 however between rows and 6 in row 7 there is a non-production day, is there a formula to detect the zero and point it to the most recent row in this case 6.

Am a bit stuck on this and having a complete mind black on just how to format based on +/- 10% of previous cell never mind the zero being thrown into the mix, so any sort of help would be appreciated.

91
80
93
90
92
97
0
81
82
79
 
Sanjay I have the same formula and I am getting the same result.

What I can see is that in your example it is high-lighting the previous Cell as the change, R9 & R10 for example in your list, the formula is showing the percentage change in R9 and would it be possible to highlight that there has been a percentage change in R10 not R9.
Check this and revert -

Book1
R
490
591
680
783
884
986
1070
1173
1281
1382
1486
1580
160
1783
1881
1976
2079
2181
2282
230
2467
2566
2664
2765
2866
2968
3068
3164
3268
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
R4:R32Expression=AND(R3<>"",R4<>0,OR(AND(R3=0,OR(R2<=R4*0.9,R2>=R4*1.1)),AND(R3<>0,OR(R3<=R4*0.9,R3>=R4*1.1))))textNO
 
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
1714393814108.png


When I copy your formula in, it is picking up the 10% change in R6, R10 & R24 which is correct, but it is also highlighting R4 for some reason. Just for information the R1 & R2 is blank space not used on the sheet, R3 is a the text header of the column table. I notice that R2 & R3 is mentioned in the formula also is this throwing up an error for me?

A new request just been landed on me also if I was to do another formula based on 5% to highlight a different colour would the formual change just be a replacement of where it R2<=R4*0.9,R2>=R4x1.1 and replace with R2<=R4*0.4,R2>=R4*0.6
 
Upvote 0
Thanks Sanjay, do you know why the R4 is showing up as red currently, I copied your formula into mine but its highlight R4, I have nothing in cells R1 & R2 and R3 is a text header but I notice the formula references R2 & R3
 
Upvote 0
Thanks Sanjay, do you know why the R4 is showing up as red currently, I copied your formula into mine but its highlight R4, I have nothing in cells R1 & R2 and R3 is a text header but I notice the formula references R2 & R3
Just add a Conditional Format (No Format - Stop if true) to Cell R4 only using

=And(R1="",R2="")
 
  • Like
Reactions: RID
Upvote 1
Solution

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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