Data validation with Conditional format

Alisya

Well-known Member
Joined
Nov 27, 2008
Messages
532
Hi, how do i set conditional format to a List that is validated. So for example if 1-4 is a list in validation, how do i set the colors for each number, so when i choose a number the color would change as too.


Excel Workbook
AB
11Orange
22Brown
33Purple
44Red
Sheet2
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi, how do i set conditional format to a List that is validated. So for example if 1-4 is a list in validation, how do i set the colors for each number, so when i choose a number the color would change as too.


Excel Workbook
AB
11Orange
22Brown
33Purple
44Red
Sheet2
What version of Excel are you using?

In Excel 2003 and earlier you can only have 3 conditional formatting conditions. If you have more than 3 conditions then you need to use a VBA event macro.

In Excel 2007 and later it's basically unlimited.
 
Upvote 0
if Office 2003 :You have 3 conditions plus the original format.
Choose Format then Conditional Formatting then in Condition1:
Cell value is - equal to - 1 press button Format and choose the wanted font and borders and patterns .
Use add for Condition2 and equal to 2 and do as above then add for condition3 ...etc.
if later than 2003 you have more than 3 conditions.
 
Upvote 0

Forum statistics

Threads
1,224,606
Messages
6,179,865
Members
452,948
Latest member
UsmanAli786

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