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

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
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,216,726
Messages
6,132,352
Members
449,719
Latest member
excel4mac

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