Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 355
Default Need formula - conditional formatting - ran out of conditions!

Hello -

I have the following conditions already in conditional formatting for each
cell (it merely turns the cell color green - color #35, to be exact):
Condition 1
Formula Is =IF(G9="N/A",IF(I9="",TRUE,FALSE),FALSE)
Condition 2
Formula Is =IF(G9="No",IF(I9="",TRUE,FALSE),FALSE)
Condition 3
Cell Value Is equal to 0

PROBLEM: I have at least one more condition I need to add:

If G is blank, turn the corresponding cell in Column I to green

If for the last statement there is some way of combining If G="" Or I="0"
turn the cell green, that would work, but I can't seem to figure out how to
do this.

Any help will be greatly appreciated!

--
Sandy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Need formula - conditional formatting - ran out of conditions!

If G="" Or I="0" is the same as MAX((G1=""),(I1="0")) as if either are true
the MAX=TRUE=1
--
Gary''s Student


"Sandy" wrote:

Hello -

I have the following conditions already in conditional formatting for each
cell (it merely turns the cell color green - color #35, to be exact):
Condition 1
Formula Is =IF(G9="N/A",IF(I9="",TRUE,FALSE),FALSE)
Condition 2
Formula Is =IF(G9="No",IF(I9="",TRUE,FALSE),FALSE)
Condition 3
Cell Value Is equal to 0

PROBLEM: I have at least one more condition I need to add:

If G is blank, turn the corresponding cell in Column I to green

If for the last statement there is some way of combining If G="" Or I="0"
turn the cell green, that would work, but I can't seem to figure out how to
do this.

Any help will be greatly appreciated!

--
Sandy

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 355
Default Need formula - conditional formatting - ran out of conditions!

Hello Gary's Student -

Thanks for your response!

I tried =IF(MAX((G5=""),(I5="0")),TRUE, FALSE). It didn't work. The cell I
tried it on has a 0 in it and the cell turned white when I put this in as the
third condition. Did I write it wrong?

I need a formula that says if G5 is blank OR if I5 is zero, turn the cell
green.

--
Sandy


"Gary''s Student" wrote:

If G="" Or I="0" is the same as MAX((G1=""),(I1="0")) as if either are true
the MAX=TRUE=1
--
Gary''s Student


"Sandy" wrote:

Hello -

I have the following conditions already in conditional formatting for each
cell (it merely turns the cell color green - color #35, to be exact):
Condition 1
Formula Is =IF(G9="N/A",IF(I9="",TRUE,FALSE),FALSE)
Condition 2
Formula Is =IF(G9="No",IF(I9="",TRUE,FALSE),FALSE)
Condition 3
Cell Value Is equal to 0

PROBLEM: I have at least one more condition I need to add:

If G is blank, turn the corresponding cell in Column I to green

If for the last statement there is some way of combining If G="" Or I="0"
turn the cell green, that would work, but I can't seem to figure out how to
do this.

Any help will be greatly appreciated!

--
Sandy

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 364
Default Need formula - conditional formatting - ran out of conditions!

you can check this site out. one of the posters here, bob phillips, has some
input

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

--


Gary


"Sandy" wrote in message
...
Hello -

I have the following conditions already in conditional formatting for each
cell (it merely turns the cell color green - color #35, to be exact):
Condition 1
Formula Is =IF(G9="N/A",IF(I9="",TRUE,FALSE),FALSE)
Condition 2
Formula Is =IF(G9="No",IF(I9="",TRUE,FALSE),FALSE)
Condition 3
Cell Value Is equal to 0

PROBLEM: I have at least one more condition I need to add:

If G is blank, turn the corresponding cell in Column I to green

If for the last statement there is some way of combining If G="" Or I="0"
turn the cell green, that would work, but I can't seem to figure out how
to
do this.

Any help will be greatly appreciated!

--
Sandy



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Need formula - conditional formatting - ran out of conditions!

On Thu, 8 Sep 2005 16:24:02 -0700, "Sandy"
wrote:

Hello -


See suggestions inline:

I have the following conditions already in conditional formatting for each
cell (it merely turns the cell color green - color #35, to be exact):
Condition 1
Formula Is =IF(G9="N/A",IF(I9="",TRUE,FALSE),FALSE)


=AND(G1="N/A",I1="")

Condition 2
Formula Is =IF(G9="No",IF(I9="",TRUE,FALSE),FALSE)


=AND(G1="No",I1="")

Condition 3
Cell Value Is equal to 0

PROBLEM: I have at least one more condition I need to add:

If G is blank, turn the corresponding cell in Column I to green

If for the last statement there is some way of combining If G="" Or I="0"



=OR(G1="",I1=0)

--ron


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 355
Default Need formula - conditional formatting - ran out of conditions!

Ron -

Thanks so much for your response!

I only had the chance to try it on one cell because it's late at night, but
it sure looks like it's going to work!

--
Sandy


"Ron Rosenfeld" wrote:

On Thu, 8 Sep 2005 16:24:02 -0700, "Sandy"
wrote:

Hello -


See suggestions inline:

I have the following conditions already in conditional formatting for each
cell (it merely turns the cell color green - color #35, to be exact):
Condition 1
Formula Is =IF(G9="N/A",IF(I9="",TRUE,FALSE),FALSE)


=AND(G1="N/A",I1="")

Condition 2
Formula Is =IF(G9="No",IF(I9="",TRUE,FALSE),FALSE)


=AND(G1="No",I1="")

Condition 3
Cell Value Is equal to 0

PROBLEM: I have at least one more condition I need to add:

If G is blank, turn the corresponding cell in Column I to green

If for the last statement there is some way of combining If G="" Or I="0"



=OR(G1="",I1=0)

--ron

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Need formula - conditional formatting - ran out of conditions!

On Thu, 8 Sep 2005 21:42:01 -0700, "Sandy"
wrote:

Ron -

Thanks so much for your response!

I only had the chance to try it on one cell because it's late at night, but
it sure looks like it's going to work!

--
Sandy


You're very welcome. Post back if you have a problem.

If you do need a fourth condition, you might be able to set one as the baseline
condition, depending on your expected range of values.




--ron
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 - 2 conditions LorrieM Excel Discussion (Misc queries) 2 May 22nd 09 03:28 PM
Conditional formatting should allow more than three conditions. Joshua, Technical Editor Excel Discussion (Misc queries) 1 July 26th 06 12:44 PM
Conditional formatting with more than 3 conditions. jeffg Excel Worksheet Functions 0 October 5th 05 02:04 PM
Conditional formatting: I have five conditions, how to do this? Danzguy Excel Discussion (Misc queries) 2 May 11th 05 08:21 AM
Conditional Formatting using two formula conditions Dan Excel Programming 1 May 28th 04 01:31 AM


All times are GMT +1. The time now is 07:38 PM.

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"