Formula with multiple conditions

Boyan Boyanov

New Member
Joined
Jan 31, 2016
Messages
5
I want cells data in column B to color green if colum A fulfills some of these conditions (in table below).
For example if SIZE is greater than 4B in cell A1 and GROWTH is greater than 5% in cell B1 then cell B1 to be in green or if A1 is between 0.4B and 4B and cell B1 is 7% or more then cell B1 to be colored green or if data in A1 is less than 0.4B and in B1 percentage is more than 12%, then B1 to colored green.


Many thanks in advance!


SIZEGROWTH
>4B 5%
>0.4B<4B 7%
<0.4B 12%

<tbody>
</tbody>
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
MYTABLE1MYTABLE2
SIZEGROWTHCOLORINFO ONLY
>4>5%GREEN3,B0.0110.001%A
>0.4B<4B>7%GREEN2,C0.425.001%B
<0.4B>12%GRFEEN1,D4.0137.001%C
999312.001%D
sizegrowthCOLOUR999%D
55.10%GREENMYTABLE3
4.77.10%0
4.412.10%01A
4.15.10%GREEN1B
3.87.10%GREEN1C
3.512.10%01DGREEN
3.25.10%02A
2.97.10%GREEN2B
2.612.10%02CGREEN
2.35.10%02D
27.10%GREEN3A
1.712.10%03BGREEN
1.45.10%03C
1.17.10%GREEN3D
0.812.10%0
0.55.10%0
0.47.10%GREEN
0.312.10%GREEN
0.25.10%0
0.157.10%0
0.112.10%GREEN
ONCE YOU HAVE SET UP THE 3 LOOKUP TABLES ANY PAIRING CAN BE CHECKED
FORMULA GIVING THE TOP GREEN NEXT TO 5,5.1%
=VLOOKUP(VLOOKUP(F14,MYTABLE1,2)&VLOOKUP(G14,MYTABLE2,2),MYTABLE3,2)
TO SET IT IN THE COND FORMAT BOX JUST ADD ="GREEN" TO THE END OF IT

<colgroup><col width="64" span="17" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,734
Messages
6,126,542
Members
449,316
Latest member
sravya

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