Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
AngelaG
 
Posts: n/a
Default Formatting Cells - color based

I know this is "conditional" and I know that excel limits to 3 conditions -
but specific question...
Can you write a macro to include several conditions?

This is what I want...

E(8-300)should be green if there is data in Q(8-300)
red if blank
F(8-300)should be green if there is data in Q(8-300)
red if blank

Also - same concept - if data in C(8-300) turn Green
if data in B(8-300) turn yellow

So I am looking at 6 conditions - need to know if this is possible on any
level.

Thanks!!!
  #2   Report Post  
Anne Troy
 
Posts: n/a
Default

Hi, Angela. Try this:

http://vbaexpress.com/kb/getarticle.php?kb_id=90
************
Anne Troy
www.OfficeArticles.com

"AngelaG" wrote in message
...
I know this is "conditional" and I know that excel limits to 3 conditions -
but specific question...
Can you write a macro to include several conditions?

This is what I want...

E(8-300)should be green if there is data in Q(8-300)
red if blank
F(8-300)should be green if there is data in Q(8-300)
red if blank

Also - same concept - if data in C(8-300) turn Green
if data in B(8-300) turn yellow

So I am looking at 6 conditions - need to know if this is possible on any
level.

Thanks!!!



  #3   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

It sounds like you have 2 conditions for column E and 2 conditions for
column F, for which you can use conditional formatting.

What columns turn colours if there's data in columns C or B?
Even if you're still describing conditions for columns E and F, you
should still be able to do this with conditional formatting, assuming
you format the cells as red to begin with.


AngelaG wrote:
I know this is "conditional" and I know that excel limits to 3 conditions -
but specific question...
Can you write a macro to include several conditions?

This is what I want...

E(8-300)should be green if there is data in Q(8-300)
red if blank
F(8-300)should be green if there is data in Q(8-300)
red if blank

Also - same concept - if data in C(8-300) turn Green
if data in B(8-300) turn yellow

So I am looking at 6 conditions - need to know if this is possible on any
level.

Thanks!!!



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
Conditionial formatting for merged cells, function Len($A$4) CajunWebfoot Excel Worksheet Functions 1 July 28th 05 04:42 PM
How do I link a cells formatting from one worksheet to another? ddepasquale Excel Worksheet Functions 0 July 26th 05 07:51 PM
Excel should allow more options for formatting cells rj123 Excel Worksheet Functions 0 July 23rd 05 03:45 AM
How to copy "edge" formatting to other cells. Sam Excel Discussion (Misc queries) 2 July 21st 05 01:23 PM
Formatting Cells Paul Excel Discussion (Misc queries) 1 June 29th 05 12:50 PM


All times are GMT +1. The time now is 07:26 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"