Conditional Formatting with a Twist

mminchev

New Member
Joined
Feb 16, 2018
Messages
23
Hi Everyone,

I need some help with conditional formatting.

Here is the table that I need to put conditional formatting highlights in!

Week 1Week 2Week 3Week 4Week 5Week 6Week 7Week 8Week 9Week 10Week 11Week 12
116%158%125%107%170%164%127%119%117%243%146%169%
52%108%125%142%116%128%105%104%0%226%0%114%
134%177%120%167%236%0%0%157%122%135%152%147%
<colgroup><col width="64" style="width: 48pt;" span="12"> <tbody> </tbody>

So what I need the conditional formatting to do is to highlight all cells that have a difference of 25% or -25% or more between each other.

So for example:

Week 2 - Week 1 = 42% so Cell B3 (158%) should be highlighted.

Does anyone know what kind of an IF Statement I need for this?

Thank you!
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
B3 is comparing to B2
What about the other rows

are you only comparing on the same row
B2 = 116
B3 = 158 - so B3 highlights
B4 = 125 - B4 highlights
B5 = 107 - no highlight
B6 = 170 - Highlights
B7 = 164 - no
B8 = 127 - highlights

is that correct ?

If so - see next post

=OR(C2-B2>0.25, C2-B2<-0.25)
 
Last edited:
Upvote 0
removed
 
Last edited:
Upvote 0
Excel Workbook
BCDEFGHIJKLM
1Week 1Week 2Week 3Week 4Week 5Week 6Week 7Week 8Week 9Week 10Week 11Week 12
2116%158%125%107%170%164%127%119%117%243%146%169%
352%108%125%142%116%128%105%104%0%226%0%114%
4134%177%120%167%236%0%0%157%122%135%152%147%
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C21. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
D21. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
E21. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
F21. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
G21. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
H21. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
I21. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
J21. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
K21. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
L21. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
M21. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
C31. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
D31. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
E31. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
F31. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
G31. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
H31. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
I31. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
J31. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
K31. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
L31. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
M31. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
C41. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
D41. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
E41. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
F41. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
G41. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
H41. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
I41. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
J41. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
K41. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
L41. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
M41. / Formula is =OR(C2-B2>0.25, C2-B2<-0.25)Abc
 
Upvote 0
Thanks for the help, I guess in my head I overcomplicated it, this really helped! I appreciate it
 
Upvote 0

Forum statistics

Threads
1,215,053
Messages
6,122,888
Members
449,097
Latest member
dbomb1414

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