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

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
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,039
Messages
6,122,799
Members
449,095
Latest member
m_smith_solihull

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