Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JH JH is offline
external usenet poster
 
Posts: 64
Default conditional formatting-different data to one color

I have a column of data that contains codes in the form of letters and
numbers. I would like to use conditional formatting to change the background
color of certain codes to one color, for example code A, f, J, 7 etc.( I have
about 15 of them) to a background color of red and leave the rest as they
are. Is there a formula I can use to do this? Any help would be appreciated.
Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default conditional formatting-different data to one color

Set up your conditional formatting so Condition 1 reads "Formula is"
in the dropdown, then paste this formula (or something like it) in to
formula field, then set up the formatter to paint the cell red.

=OR(C3=1,C3=2,C3=3,C3=4,C3=5,C3=6,C3=7,C3=8,C3=9,C 3=10,C3=11,C3=12,C3=13,C3=14,C3=15)

Some of your codes are alpha characters, so you'll need to enter those
inside double quotes:
=OR(C3="A",C3="f",C3="J"...) etc.

  #3   Report Post  
Posted to microsoft.public.excel.misc
JH JH is offline
external usenet poster
 
Posts: 64
Default conditional formatting-different data to one color

This was perfect. Thank you so much!

"Dave O" wrote:

Set up your conditional formatting so Condition 1 reads "Formula is"
in the dropdown, then paste this formula (or something like it) in to
formula field, then set up the formatter to paint the cell red.

=OR(C3=1,C3=2,C3=3,C3=4,C3=5,C3=6,C3=7,C3=8,C3=9,C 3=10,C3=11,C3=12,C3=13,C3=14,C3=15)

Some of your codes are alpha characters, so you'll need to enter those
inside double quotes:
=OR(C3="A",C3="f",C3="J"...) etc.


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 to color cells NealMed Excel Discussion (Misc queries) 1 May 15th 07 05:28 AM
Conditional Formatting on Color Excel Learner Excel Worksheet Functions 4 March 11th 07 05:13 PM
Color Conditional Formatting Conditional Formatting Excel Worksheet Functions 1 January 12th 07 06:37 PM
Conditional Formatting and Cell Color nemadrias Excel Worksheet Functions 7 July 28th 06 05:01 PM
Conditional color formatting entries have wild color. John Geyer Excel Discussion (Misc queries) 0 February 24th 06 06:11 PM


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

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

About Us

"It's about Microsoft Excel"