Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Formatting - more than 3 conditions
Is it possible to do a form of conditional formatting where you have more
than 3 conditions? I had a quick look through the existing solutions in the discussion group but I get the impression the answer is no.... And if it is yes, it's not using the Conditional Formatting tool but maybe VBA? thanks! |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Formatting - more than 3 conditions
In Excel 2007 you can have more than three conditions but earlier versions
have a limit of three... What people do is use three conditions through conditional formatting and three through Cell Formatting (which is much more limited) "LinLin" wrote: Is it possible to do a form of conditional formatting where you have more than 3 conditions? I had a quick look through the existing solutions in the discussion group but I get the impression the answer is no.... And if it is yes, it's not using the Conditional Formatting tool but maybe VBA? thanks! |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Formatting - more than 3 conditions
With VBA:
List of Task named Colors: Work1 Work2 Work3 Holiday Misc Color cell depend of string character : Private Sub Worksheet_Change(ByVal Target As Range) If Not Intersect([planning], Target) Is Nothing Then On Error Resume Next Target.Interior.ColorIndex = [Colors].Find(Target, LookAt:=xlWhole).Interior.ColorIndex End If End Sub http://cjoint.com/?bvh020SAOP JB http://boisgontierjacques.free.fr On 19 jan, 06:07, LinLin wrote: Is it possible to do a form of conditional formatting where you have more than 3 conditions? I had a quick look through the existing solutions in the discussion group but I get the impression the answer is no.... And if it is yes, it's not using the Conditional Formatting tool but maybe VBA? thanks! |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Formatting - more than 3 conditions
http://cjoint.com/?bvindAD8Gp JB On 19 jan, 07:54, JB wrote: With VBA: List of Task named Colors: Work1 Work2 Work3 Holiday Misc Color cell depend of string character : Private Sub Worksheet_Change(ByVal Target As Range) *If Not Intersect([planning], Target) Is Nothing Then * *On Error Resume Next * *Target.Interior.ColorIndex = [Colors].Find(Target, LookAt:=xlWhole).Interior.ColorIndex * End If End Sub http://cjoint.com/?bvh020SAOP JBhttp://boisgontierjacques.free.fr On 19 jan, 06:07, LinLin wrote: Is it possible to do a form of conditional formatting where you have more than 3 conditions? I had a quick look through the existing solutions in the discussion group but I get the impression the answer is no.... And if it is yes, it's not using the Conditional Formatting tool but maybe VBA? thanks!- Masquer le texte des messages précédents - - Afficher le texte des messages précédents - |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Conditional Formatting - more than 3 conditions
Merci beaucoup pour la rèponse!
Je suis très heureux! Vous êtes très gentil . "JB" wrote: http://cjoint.com/?bvindAD8Gp JB On 19 jan, 07:54, JB wrote: With VBA: List of Task named Colors: Work1 Work2 Work3 Holiday Misc Color cell depend of string character : Private Sub Worksheet_Change(ByVal Target As Range) If Not Intersect([planning], Target) Is Nothing Then On Error Resume Next Target.Interior.ColorIndex = [Colors].Find(Target, LookAt:=xlWhole).Interior.ColorIndex End If End Sub http://cjoint.com/?bvh020SAOP JBhttp://boisgontierjacques.free.fr On 19 jan, 06:07, LinLin wrote: Is it possible to do a form of conditional formatting where you have more than 3 conditions? I had a quick look through the existing solutions in the discussion group but I get the impression the answer is no.... And if it is yes, it's not using the Conditional Formatting tool but maybe VBA? thanks!- Masquer le texte des messages précédents - - Afficher le texte des messages précédents - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
need 4 conditions for conditional formatting and there are only 3 | Excel Worksheet Functions | |||
Conditional Formatting with 4 or more conditions | Excel Worksheet Functions | |||
Conditional formatting should allow more than three conditions. | Excel Discussion (Misc queries) | |||
Need 6 Conditions / Conditional Formatting | Excel Worksheet Functions | |||
More than 3 Conditional Formatting Conditions | Excel Worksheet Functions |