Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Conditional Formatting

I have trawled through the discussion group and am unable to find the answer
to a simple question. I want to change the cell colours of a list if they
match to certain items. I have 10 items in total which I wish to highlight on
a list I have. Any help greatly appreciated. Thanks for your help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Conditional Formatting

Conditional Formatting can be used to provide up to 3 different
formats (colours etc) depending on some condition, as well as a fourth
(default) format for none of the conditions being met. If you want to
set up to 10 different conditional formats then you will need to use a
macro.

Alternatively, you could download Bob's add-in CFPlus from this link:

http://www.xldynamic.com/source/xld.....Download.html

and this will give you up to 30 different Conditional Formats.

Hope this helps.

Pete

On Mar 15, 4:08 pm, Padraigglynn
wrote:
I have trawled through the discussion group and am unable to find the answer
to a simple question. I want to change the cell colours of a list if they
match to certain items. I have 10 items in total which I wish to highlight on
a list I have. Any help greatly appreciated. Thanks for your help



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Conditional Formatting

Thank you Pete for your reply. I found the download difficult to understand
and I could not get it to operate correctly. I think I will just have to use
the old fashioned manual method.

"Pete_UK" wrote:

Conditional Formatting can be used to provide up to 3 different
formats (colours etc) depending on some condition, as well as a fourth
(default) format for none of the conditions being met. If you want to
set up to 10 different conditional formats then you will need to use a
macro.

Alternatively, you could download Bob's add-in CFPlus from this link:

http://www.xldynamic.com/source/xld.....Download.html

and this will give you up to 30 different Conditional Formats.

Hope this helps.

Pete

On Mar 15, 4:08 pm, Padraigglynn
wrote:
I have trawled through the discussion group and am unable to find the answer
to a simple question. I want to change the cell colours of a list if they
match to certain items. I have 10 items in total which I wish to highlight on
a list I have. Any help greatly appreciated. Thanks for your help




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Conditional Formatting

Gord Dibben posted this yesterday in response to a very similar
question:

" ...

If CF'ing numerics, John MCGrimpsey shows how to get up to 6 different
font
colors.

http://www.mcgimpsey.com/excel/conditional6.html


For anything else you are forced to use event code similar to this.


Option Compare Text
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Num As Long
Dim rng As Range
Dim vRngInput As Variant
Set vRngInput = Intersect(Target, Range("D:D"))
If vRngInput Is Nothing Then Exit Sub
On Error GoTo endit
Application.EnableEvents = False
For Each rng In vRngInput
'Determine the color
Select Case rng.Value
Case Is = "A": Num = 10 'green
Case Is = "B": Num = 1 'black
Case Is = "C": Num = 5 'blue
Case Is = "D": Num = 7 'magenta
Case Is = "E": Num = 46 'orange
Case Is = "F": Num = 3 'red
End Select
'Apply the color
rng.Interior.ColorIndex = Num
Next rng
endit:
Application.EnableEvents = True
End Sub


Gord Dibben MS Excel MVP
.... "


Perhaps you could try this.

Pete


On Mar 16, 4:08 am, Padraigglynn
wrote:
Thank you Pete for your reply. I found the download difficult to understand
and I could not get it to operate correctly. I think I will just have to use
the old fashioned manual method.



"Pete_UK" wrote:
Conditional Formatting can be used to provide up to 3 different
formats (colours etc) depending on some condition, as well as a fourth
(default) format for none of the conditions being met. If you want to
set up to 10 different conditional formats then you will need to use a
macro.


Alternatively, you could download Bob's add-in CFPlus from this link:


http://www.xldynamic.com/source/xld.....Download.html


and this will give you up to 30 different Conditional Formats.


Hope this helps.


Pete


On Mar 15, 4:08 pm, Padraigglynn
wrote:
I have trawled through the discussion group and am unable to find the answer
to a simple question. I want to change the cell colours of a list if they
match to certain items. I have 10 items in total which I wish to highlight on
a list I have. Any help greatly appreciated. Thanks for your help- Hide quoted text -


- Show quoted text -



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
How do I use more than one value in Conditional Formatting? Gerard Excel Worksheet Functions 4 September 25th 06 04:36 PM
Conditional Formatting bodhisatvaofboogie Excel Discussion (Misc queries) 1 May 18th 06 05:18 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 12:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"