Is there a maximum number of conditional format rules that can be applied?

AndyEvans

New Member
Joined
Jan 11, 2010
Messages
17
Hi All,

I need to add more conditional formatting to my spreadsheet. But it seems to belimiting me to 3. Is there a way of increasing it?

Thanks,

Andy
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
You should be able to do more than just 3. I have one Excel sheet that has at least 10 conditional formats on one sheet.
 
Upvote 0
I would assue so as well. But when I go to the conditional format tool it will not let me add any more. Also I should point out that the 3 are in one cell. I need to add more to that cell.

Andy
 
Last edited:
Upvote 0
In versions earlier than 2007 you can only have 3 conditions in one cell. You'll have to use VBA to go beyond those three.


*edit actually I guess you can have 4 formats if you count the original cell formatting*
 
Upvote 0
*edit actually I guess you can have 4 formats if you count the original cell formatting*

Yep, alot of people forget about that...

Also, just to be a little nitpicky...can't help it.

Conditional formatting is NOT limited to 3 conditions.
In fact, the number of conditions you can use is only limited by length of a formula.

Conditional formatting is actually only limited to 3 FORMATs that can be applied.


Example to demonstrate

=OR(A1="Jon",A1="Fred",A1="Barney",A1="Wilma",A1="Betty",A1="Pebbles",A1="BamBam")

That's 7 possible conditions. But only 1 FORMAT would be applied to any of those 7 conditions.


Hope that helps...
 
Upvote 0
Thanks VoG.
Got it to sort of work. It works if I physically type the contents of the cell in to the sheet but my spreedsheet uses a vlookup from another sheet. When the figures are imported via the lookup the cells don't change. Any ideas?

Andy
 
Upvote 0
A Change Event will not work then.
You will need a different type of code that loops throuight the cells and applies the format. If you post some sample data or explain what you need, we can help you write the code.

lenze
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,189
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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