Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default conditional formating

Hi, what I would like to do is if I type in to a cell 12-12 or12-4 or 12-8 ,
the back ground of the cell would turn a diiferent colour ( say green) and in
the same cell if I type in 4-12 or 4-10 it would turn blue.
Can any one help?.

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default conditional formating

This should get you going ..

Assume the CF to be applied on col A
First, think we need to format col A as Text (via Format Cells), to
"remove" Excel's inclination to convert your type of data entries (eg: 12-12,
4-10) as dates

Then select col A (A1 active), apply CF using
Condition 1, Formula is:
=OR(A1="12-12",A1="12-4",A1="12-8")
Format green fill

Condition 2, Formula is:
=OR(A1="4-12",A1="4-10")
Format blue fill OK out
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"wildauk" wrote:
Hi, what I would like to do is if I type in to a cell 12-12 or12-4 or 12-8 ,
the back ground of the cell would turn a diiferent colour ( say green) and in
the same cell if I type in 4-12 or 4-10 it would turn blue.
Can any one help?.

Thanks in advance.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default conditional formating

Brilliant, thank you.

"Max" wrote:

This should get you going ..

Assume the CF to be applied on col A
First, think we need to format col A as Text (via Format Cells), to
"remove" Excel's inclination to convert your type of data entries (eg: 12-12,
4-10) as dates

Then select col A (A1 active), apply CF using
Condition 1, Formula is:
=OR(A1="12-12",A1="12-4",A1="12-8")
Format green fill

Condition 2, Formula is:
=OR(A1="4-12",A1="4-10")
Format blue fill OK out
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"wildauk" wrote:
Hi, what I would like to do is if I type in to a cell 12-12 or12-4 or 12-8 ,
the back ground of the cell would turn a diiferent colour ( say green) and in
the same cell if I type in 4-12 or 4-10 it would turn blue.
Can any one help?.

Thanks in advance.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default conditional formating

Welcome, glad it helped.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"wildauk" wrote in message
...
Brilliant, thank you.



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 Formating markythesk8erboi Excel Discussion (Misc queries) 3 September 25th 07 09:52 AM
conditional formating manoj Excel Worksheet Functions 1 May 6th 07 10:48 AM
Conditional Formating Dan Excel Worksheet Functions 0 March 26th 06 11:45 PM
Install dates formating using conditional formating? Jerry Eggleston Excel Discussion (Misc queries) 2 November 9th 05 05:49 PM
Conditional Formating mike lowry Excel Worksheet Functions 6 February 9th 05 11:41 AM


All times are GMT +1. The time now is 03:36 PM.

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"