Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 86
Default Conditional IF Or Format

Hi All,

Can I turn a cell’s contents orange

If G100today() and G101=0
Or
If H100today() and H101=0
Or
If I100today() and I101=0
Or
If J100today() and J101=0

This will help me not forget to pay my taxes when they are due - easy
to do with my crazy life.

I know how to do IF AND, but Not IF OR.

Thanks for any help,

Michele
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Conditional IF Or Format

The syntax for the OR function is shown in Excel help, just as is the syntax
for the AND function.

=OR(AND(G100today(),G101=0),AND(H100today(),H101 =0),AND(I100today(),I101=0),AND(J100today(),J101 =0))

Note that in this use, for conditional formatting, you don't need IF, as you
are merely lookimg for a TRUE or FALSE result.
--
David Biddulph

"mjones" wrote in message
...
Hi All,

Can I turn a cell’s contents orange

If G100today() and G101=0
Or
If H100today() and H101=0
Or
If I100today() and I101=0
Or
If J100today() and J101=0

This will help me not forget to pay my taxes when they are due - easy
to do with my crazy life.

I know how to do IF AND, but Not IF OR.

Thanks for any help,

Michele


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Conditional IF Or Format

You can use conditional formatting to do this. When you bring up the
CF dialogue, choose Formula Is rather than Cell Value Is in the first
box, and put this formula in the next box:

=OR(AND(G100TODAY(),G101=0),AND(H100TODAY(),H101 =0),AND(i100TODAY
(),i101=0),AND(J100TODAY(),J101=0))

Click on the Format button, then the Patterns tab and choose orange,
then OK your way out.

Hope this helps.

Pete

On Nov 29, 5:51*pm, mjones wrote:
Hi All,

Can I turn a cell’s contents orange

If G100today() and G101=0
Or
If H100today() and H101=0
Or
If I100today() and I101=0
Or
If J100today() and J101=0

This will help me not forget to pay my taxes when they are due - easy
to do with my crazy life.

I know how to do IF AND, but Not IF OR.

Thanks for any help,

Michele


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Conditional IF Or Format

The syntax for the OR function is shown in Excel help, just as is the syntax
for the AND function.

=OR(AND(G100today(),G101=0),AND(H100today(),H101 =0),AND(I100today(),I101=0),AND(J100today(),J101 =0))

Note that in this use, for conditional formatting, you don't need IF, as you
are merely lookimg for a TRUE or FALSE result.
--
David Biddulph

"mjones" wrote in message
...
Hi All,

Can I turn a cell's contents orange

If G100today() and G101=0
Or
If H100today() and H101=0
Or
If I100today() and I101=0
Or
If J100today() and J101=0

This will help me not forget to pay my taxes when they are due - easy
to do with my crazy life.

I know how to do IF AND, but Not IF OR.

Thanks for any help,

Michele



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 86
Default Conditional IF Or Format

On Nov 29, 1:55*pm, Pete_UK wrote:
You can use conditional formatting to do this. When you bring up the
CF dialogue, choose Formula Is rather than Cell Value Is in the first
box, and put this formula in the next box:

=OR(AND(G100TODAY(),G101=0),AND(H100TODAY(),H101 =0),AND(i100TODAY
(),i101=0),AND(J100TODAY(),J101=0))

Click on the Format button, then the Patterns tab and choose orange,
then OK your way out.

Hope this helps.

Pete

On Nov 29, 5:51*pm, mjones wrote:

Hi All,


Can I turn a cell’s contents orange


If G100today() and G101=0
Or
If H100today() and H101=0
Or
If I100today() and I101=0
Or
If J100today() and J101=0


This will help me not forget to pay my taxes when they are due - easy
to do with my crazy life.


I know how to do IF AND, but Not IF OR.


Thanks for any help,


Michele


Hi,

Thanks for helping out. As is sometimes the way, when one gets what
they asked for, they don't realize that's not what they want. Looking
at it now, I forgot and element. This is what I need.

If G100today() and G101=0 and G102<0
Or
If H100today() and H101=0 and H102<0
Or
If I100today() and I101=0 and I102<0
Or
If J100today() and J101=0 and J102<0

I tried this formula, but it doesn't work:

=OR(AND(G100TODAY(),G101=0,G102<0),AND(H100TODA Y
(),H101=0,H102<0),AND(I100TODAY(),I101=0,I102<0 ),AND(J100TODAY
(),J101=0,J102<0))

Here is the data, which should not turn the cell value orange:

g h i j
100 5-Oct-09 5-Jan-10 5-Apr-10 5-Jul-10
101 $853.42 0 0 0
102 0 $1,432.39 $65.77 0

If I put numbers in H101, I101 and J102 the cell value is not orange,
but the will never happen.

Any help would be appreciated.

Thanks again,

Michele


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Conditional IF Or Format

Why do you say that it shouldn't turn orange?

Your data will satisfy the condition
If H100today() and H101=0 and H102<0
and also
If I100today() and I101=0 and I102<0

in other words you satisfy
AND(H100TODAY(),H101=0,H102<0)
and also
AND(I100TODAY(),I101=0,I102<0)
--
David Biddulph

"mjones" wrote in message
...
On Nov 29, 1:55 pm, Pete_UK wrote:
You can use conditional formatting to do this. When you bring up the
CF dialogue, choose Formula Is rather than Cell Value Is in the first
box, and put this formula in the next box:

=OR(AND(G100TODAY(),G101=0),AND(H100TODAY(),H101 =0),AND(i100TODAY
(),i101=0),AND(J100TODAY(),J101=0))

Click on the Format button, then the Patterns tab and choose orange,
then OK your way out.

Hope this helps.

Pete

On Nov 29, 5:51 pm, mjones wrote:

Hi All,


Can I turn a cell’s contents orange


If G100today() and G101=0
Or
If H100today() and H101=0
Or
If I100today() and I101=0
Or
If J100today() and J101=0


This will help me not forget to pay my taxes when they are due - easy
to do with my crazy life.


I know how to do IF AND, but Not IF OR.


Thanks for any help,


Michele


Hi,

Thanks for helping out. As is sometimes the way, when one gets what
they asked for, they don't realize that's not what they want. Looking
at it now, I forgot and element. This is what I need.

If G100today() and G101=0 and G102<0
Or
If H100today() and H101=0 and H102<0
Or
If I100today() and I101=0 and I102<0
Or
If J100today() and J101=0 and J102<0

I tried this formula, but it doesn't work:

=OR(AND(G100TODAY(),G101=0,G102<0),AND(H100TODA Y
(),H101=0,H102<0),AND(I100TODAY(),I101=0,I102<0 ),AND(J100TODAY
(),J101=0,J102<0))

Here is the data, which should not turn the cell value orange:

g h i j
100 5-Oct-09 5-Jan-10 5-Apr-10 5-Jul-10
101 $853.42 0 0 0
102 0 $1,432.39 $65.77 0

If I put numbers in H101, I101 and J102 the cell value is not orange,
but the will never happen.

Any help would be appreciated.

Thanks again,

Michele


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 86
Default Conditional IF Or Format

On Nov 29, 3:28*pm, "David Biddulph" <groups [at] biddulph.org.uk
wrote:
Why do you say that it shouldn't turn orange?

Your data will satisfy the condition
*If H100today() and H101=0 and H102<0
and also
*If I100today() and I101=0 and I102<0

in other words you satisfy
AND(H100TODAY(),H101=0,H102<0)
and also
AND(I100TODAY(),I101=0,I102<0)
--
David Biddulph

"mjones" wrote in message

...
On Nov 29, 1:55 pm, Pete_UK wrote:



You can use conditional formatting to do this. When you bring up the
CF dialogue, choose Formula Is rather than Cell Value Is in the first
box, and put this formula in the next box:


=OR(AND(G100TODAY(),G101=0),AND(H100TODAY(),H101 =0),AND(i100TODAY
(),i101=0),AND(J100TODAY(),J101=0))


Click on the Format button, then the Patterns tab and choose orange,
then OK your way out.


Hope this helps.


Pete


On Nov 29, 5:51 pm, mjones wrote:


Hi All,


Can I turn a cell’s contents orange


If G100today() and G101=0
Or
If H100today() and H101=0
Or
If I100today() and I101=0
Or
If J100today() and J101=0


This will help me not forget to pay my taxes when they are due - easy
to do with my crazy life.


I know how to do IF AND, but Not IF OR.


Thanks for any help,


Michele


Hi,

Thanks for helping out. *As is sometimes the way, when one gets what
they asked for, they don't realize that's not what they want. *Looking
at it now, I forgot and element. *This is what I need.

If G100today() and G101=0 and G102<0
Or
If H100today() and H101=0 and H102<0
Or
If I100today() and I101=0 and I102<0
Or
If J100today() and J101=0 and J102<0

I tried this formula, but it doesn't work:

=OR(AND(G100TODAY(),G101=0,G102<0),AND(H100TODA Y
(),H101=0,H102<0),AND(I100TODAY(),I101=0,I102<0 ),AND(J100TODAY
(),J101=0,J102<0))

Here is the data, which should not turn the cell value orange:

* * * * * * * *g * * * * * * * * h * * * * * * * *i * * * * * * j
100 * * 5-Oct-09 * * 5-Jan-10 * * 5-Apr-10 * *5-Jul-10
101 * * $853.42 * * * * * *0 * * * * * * * 0 * * * * * *0
102 * * * * *0 * * * * *$1,432.39 * * $65.77 * * * *0

If I put numbers in H101, I101 and J102 the cell value is not orange,
but the will never happen.

Any help would be appreciated.

Thanks again,

Michele


Ah, got it! Thanks for all your help everyone.

I'm a bit dyslexic and something you said helped. I should have said
if today()G100 and not if G100today().

Take care all,

Michele
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
copy conditional format without using format painter MsConfused Excel Worksheet Functions 2 May 4th 09 07:16 AM
New Conditional Format Overriding Previous Conditional Format Rene Excel Discussion (Misc queries) 3 February 27th 08 06:08 PM
How to create a conditional format that changes the number format tmbo Excel Discussion (Misc queries) 1 August 23rd 06 06:20 AM
Conditional Format - Format Transfer To Chart ju1eshart Excel Discussion (Misc queries) 0 June 1st 06 02:46 PM
copy conditional format to regular format GDC Setting up and Configuration of Excel 3 May 4th 05 09:35 PM


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