Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default A very simple conditional formatting question

Excel 2003

I want cell G4 conditionally formatted if a zero (0) is entered, but
no action if left blank. To simply program "G4=0" formats the cell
when empty because zero and null evaluated as the same? But when I use
this formula it works...

=AND(G4<"",G4=0)

So, is this the recommended hoop to jump through to make it work or is
there a better way?

Thanks,
Melina
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default A very simple conditional formatting question

zero and null evaluated as the same?

Yes

=AND(G4<"",G4=0)
is this the recommended hoop to jump through to make it work


Yes

--
Biff
Microsoft Excel MVP


"Mel" wrote in message
...
Excel 2003

I want cell G4 conditionally formatted if a zero (0) is entered, but
no action if left blank. To simply program "G4=0" formats the cell
when empty because zero and null evaluated as the same? But when I use
this formula it works...

=AND(G4<"",G4=0)

So, is this the recommended hoop to jump through to make it work or is
there a better way?

Thanks,
Melina



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default A very simple conditional formatting question

Thanks, Biff.

'Just wanted to be sure I missed anything. <g

-Melina


On Feb 16, 3:51*pm, "T. Valko" wrote:
zero and null evaluated as the same?


Yes

=AND(G4<"",G4=0)
is this the recommended hoop to jump through to make it work


Yes

--
Biff
Microsoft Excel MVP

"Mel" wrote in message

...

Excel 2003


I want cell G4 conditionally formatted if a zero (0) is entered, but
no action if left blank. To simply program "G4=0" formats the cell
when empty because zero and null evaluated as the same? But when I use
this formula it works...


=AND(G4<"",G4=0)


So, is this the recommended hoop to jump through to make it work or is
there a better way?


Thanks,
Melina


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default A very simple conditional formatting question

You're welcome!

--
Biff
Microsoft Excel MVP


"Mel" wrote in message
...
Thanks, Biff.

'Just wanted to be sure I missed anything. <g

-Melina


On Feb 16, 3:51 pm, "T. Valko" wrote:
zero and null evaluated as the same?


Yes

=AND(G4<"",G4=0)
is this the recommended hoop to jump through to make it work


Yes

--
Biff
Microsoft Excel MVP

"Mel" wrote in message

...

Excel 2003


I want cell G4 conditionally formatted if a zero (0) is entered, but
no action if left blank. To simply program "G4=0" formats the cell
when empty because zero and null evaluated as the same? But when I use
this formula it works...


=AND(G4<"",G4=0)


So, is this the recommended hoop to jump through to make it work or is
there a better way?


Thanks,
Melina



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default A very simple conditional formatting question

That is as good a way as any.

--
__________________________________
HTH

Bob

"Mel" wrote in message
...
Excel 2003

I want cell G4 conditionally formatted if a zero (0) is entered, but
no action if left blank. To simply program "G4=0" formats the cell
when empty because zero and null evaluated as the same? But when I use
this formula it works...

=AND(G4<"",G4=0)

So, is this the recommended hoop to jump through to make it work or is
there a better way?

Thanks,
Melina





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default A very simple conditional formatting question

Hi,

Your title is conditional formatting but you aren't doing conditional
formatting. If you are then the formula in conditional formatting should be

=AND(A1<"",A1=0)

Second question - is null and 0 the same. In most cases yes but not all
cases. the following formula returns #NULL! =A1:A10 B1:B10 which is not
equal to 0.

I realize that this is an obscure point, but...

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Mel" wrote:

Excel 2003

I want cell G4 conditionally formatted if a zero (0) is entered, but
no action if left blank. To simply program "G4=0" formats the cell
when empty because zero and null evaluated as the same? But when I use
this formula it works...

=AND(G4<"",G4=0)

So, is this the recommended hoop to jump through to make it work or is
there a better way?

Thanks,
Melina

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default A very simple conditional formatting question

I'm doing conditional formatting.

-Melina

On Feb 16, 4:06*pm, Shane Devenshire
wrote:

Your title is conditional formatting but you aren't doing conditional
formatting. *If you are then the formula in conditional formatting should be

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
Very Simple formatting Question Quin Excel Discussion (Misc queries) 4 December 7th 08 03:41 PM
Simple formatting question.... huruta Excel Discussion (Misc queries) 1 April 26th 06 08:18 PM
simple conditional formatting bcamp1973 Excel Discussion (Misc queries) 5 March 10th 06 11:28 PM
Conditional formatting, simple question... Kelly Excel Worksheet Functions 2 March 1st 06 07:31 PM
Conditional formatting--simple question John Wirt Excel Worksheet Functions 4 February 5th 06 07:13 PM


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