Color change of cell if value is higher than specified cell to 130%

kashifjillani

New Member
Joined
Jul 26, 2011
Messages
47
Hi experts,

Wondering if someone know how to

Highlight a cell if value is >130% from another cell

e.g.

if cell B10 is greater than C10 by 130% (or custom % value)

requred is if value in C10 = 10 and B10 = 13 then B10 should turn green if 15 yellow and if >18 red

regards,
 

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.
Im going to expand on the above. Assuming you mean:

Green for anything >130% but <150%
Amber for anything >=150% but <=180%
Red >180%

Excel 2010
BCDEFG
9GreenAmberRed%
101310TRUEFALSEFALSE130%
111210FALSEFALSEFALSE120%
121910FALSEFALSETRUE190%
131210FALSEFALSEFALSE120%
141810FALSETRUEFALSE180%

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
D10=AND(B10>=C10*130%,B10<C10*150%)
E10=AND(B10>=C10*150%,B10<=C10*180%)
F10=B10>C10*180%

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Thanks guys,

That did the job for me

Boss is happy to see this presentation

regards,

:biggrin:

Im going to expand on the above. Assuming you mean:

Green for anything >130% but <150%
Amber for anything >=150% but <=180%
Red >180%

Excel 2010
B
C
D
E
F
G
9
Green
Amber
Red
%
10
13
10
TRUE
FALSE
FALSE
130%
11
12
10
FALSE
FALSE
FALSE
120%
12
19
10
FALSE
FALSE
TRUE
190%
13
12
10
FALSE
FALSE
FALSE
120%
14
18
10
FALSE
TRUE
FALSE
180%

<tbody>
</tbody>
Sheet1


Worksheet Formulas
Cell
Formula
D10
=AND(B10>=C10*130%,B10<c10*150%< font="">)</c10*150%<>
E10
=AND(B10>=C10*150%,B10<=C10*180%)
F10
=B10>C10*180%

<tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,922
Messages
6,122,281
Members
449,075
Latest member
staticfluids

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