Combine conditional format formula into one.

hro5e

Board Regular
Joined
Jan 13, 2012
Messages
60
Hi there,

I have 5 conditional formats that I need to combine into one.

Conditional format 1 =AND(M$9>=$J19,M$9<$J19+ROUNDDOWN($D19*($K19-$J19+1),0))
Conditional format 2 =AND(M$10>=$J19,M$10<$J19+ROUNDDOWN($D19*($K19-$J19+1),0))
Conditional format 3 =AND(M$11>=$J19,M$11<$J19+ROUNDDOWN($D19*($K19-$J19+1),0))
Conditional format 4 =AND(M$12>=$J19,M$12<$J19+ROUNDDOWN($D19*($K19-$J19+1),0))
Conditional format 5 =AND(M$13>=$J19,M$13<$J19+ROUNDDOWN($D19*($K19-$J19+1),0))

They are carry the same formatting hence why I would like them to be combined into one as apposed to five.

Any help would be greatly appreciated.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
You can use OR to combine those five formulas into one rule, i.e.
Rich (BB code):
=OR(formula1,formula2,formula3,formula4,formula5)
 
Upvote 0
Solution
You can use OR to combine those five formulas into one rule, i.e.
Rich (BB code):
=OR(formula1,formula2,formula3,formula4,formula5)
Magic, sorted it first time. I was overcomplicating it. Thank you.
 
Upvote 0
You are welcome.
Glad I was able to help!
 
Upvote 0

Forum statistics

Threads
1,215,995
Messages
6,128,180
Members
449,430
Latest member
sadielynn7

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