Cond. Format. - using 3 rules at once on a single cell

xtreme07

Board Regular
Joined
Sep 21, 2010
Messages
71
Last edited:

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Edit the rule and click Format. On the Font tab check Bold Italic under Font style and select Single in the Underline dropdown.
 
Upvote 0
Edit the rule and click Format. On the Font tab check Bold Italic under Font style and select Single in the Underline dropdown.


i have 3 rules. each rule uses different formating so i can identify each rule and choose keywords based on that.
each rule is defined based on words matching for columnA.
each rules has it's own list. 3 list in total <=> 3 rules

since, each rule is for specific list, this makes the rules bump into one another and the output would then be: only one rule applied.

please take a look into the file from post1 to see the 3rules in action and the output that i need
 
Last edited:
Upvote 0
To match all three conditions use:

=MAX(INDEX(COUNTIF(A1,"*"&sections&"*"),0))*MAX(INDEX(COUNTIF(A1,"*"&categories&"*"),0))*MAX(INDEX(COUNTIF(A1,"*"&subjects&"*"),0))

Note that if you have bold for one condition and underline for another condition you won't get bold underline if both conditions are met.
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,297
Members
452,903
Latest member
Knuddeluff

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