A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

conditional formating limits?



 
 
Thread Tools Display Modes
  #1  
Old November 13th, 2003, 06:03 PM
Todd
external usenet poster
 
Posts: n/a
Default conditional formating limits?

Can I put more than one if statement in a conditional
format?

I want it to turn a cells background yellow if one cell
has data and either of the other two are blank.

This is my base formula which works.
=IF(O100,IF(OR(ISBLANK($M$10),ISBLANK
($N$10)),"T","F"),"OK")


Here is what I tried to put into the conditional format
box. (It doesnt' work~ guess you know that already)

=IF(O100,IF(OR(ISBLANK($M$10),ISBLANK($N$10))))



Thanks,


Todd
  #2  
Old November 13th, 2003, 06:31 PM
Kevin M
external usenet poster
 
Posts: n/a
Default conditional formating limits?

Todd, instead of trying to fit it all in one you can have
up to three conditions in a conditional format box. this
way you can do one for O100
one for isblank(M10) and one for isblank(N10)

HTH
Kevin M
-----Original Message-----
Can I put more than one if statement in a conditional
format?

I want it to turn a cells background yellow if one cell
has data and either of the other two are blank.

This is my base formula which works.
=IF(O100,IF(OR(ISBLANK($M$10),ISBLANK
($N$10)),"T","F"),"OK")


Here is what I tried to put into the conditional format
box. (It doesnt' work~ guess you know that already)

=IF(O100,IF(OR(ISBLANK($M$10),ISBLANK($N$10)) ))



Thanks,


Todd
.

  #3  
Old November 13th, 2003, 07:01 PM
Mark Graesser
external usenet poster
 
Posts: n/a
Default conditional formating limits?

Todd,
I have always used the functions to return TRUE and FALSE when I do conditional formatting. I changed your formula a little becuase you can actually put all three conditions into your OR statement.

=IF(OR(O100,ISBLANK($N$10),ISBLANK($M$10)),TRUE( ),FALSE())

Hope This Helps,
Mark

----- Todd wrote: -----

Can I put more than one if statement in a conditional
format?

I want it to turn a cells background yellow if one cell
has data and either of the other two are blank.

This is my base formula which works.
=IF(O100,IF(OR(ISBLANK($M$10),ISBLANK
($N$10)),"T","F"),"OK")


Here is what I tried to put into the conditional format
box. (It doesnt' work~ guess you know that already)

=IF(O100,IF(OR(ISBLANK($M$10),ISBLANK($N$10))))



Thanks,


Todd

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:18 PM.


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