Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
al al is offline
external usenet poster
 
Posts: 363
Default Difference of empty cell and zero value when formatting

I'd like to conditionally format a cell if the value zero is entered into it,
however to leave the cell without formatting if the cell if empty. My
attempts at doing so using something like formula is =q54=0 format the cell
regardless of whether the cell has a zero or is empty!

Appreciate any help...thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Difference of empty cell and zero value when formatting

Try the formula

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

--
Jacob


"Al" wrote:

I'd like to conditionally format a cell if the value zero is entered into it,
however to leave the cell without formatting if the cell if empty. My
attempts at doing so using something like formula is =q54=0 format the cell
regardless of whether the cell has a zero or is empty!

Appreciate any help...thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
al al is offline
external usenet poster
 
Posts: 363
Default Difference of empty cell and zero value when formatting

Works perfectly....so this is saying if the cell is not blank, and is equal
to zero, then true, so apply formatting, as apposed to if it is ony blank,
which would produce a false?

Brilliant...thank you, and so quick!

"Jacob Skaria" wrote:

Try the formula

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

--
Jacob


"Al" wrote:

I'd like to conditionally format a cell if the value zero is entered into it,
however to leave the cell without formatting if the cell if empty. My
attempts at doing so using something like formula is =q54=0 format the cell
regardless of whether the cell has a zero or is empty!

Appreciate any help...thanks!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Difference of empty cell and zero value when formatting

=q54=0 will return TRUE when q54 is either blank or zero..

--
Jacob


"Al" wrote:

Works perfectly....so this is saying if the cell is not blank, and is equal
to zero, then true, so apply formatting, as apposed to if it is ony blank,
which would produce a false?

Brilliant...thank you, and so quick!

"Jacob Skaria" wrote:

Try the formula

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

--
Jacob


"Al" wrote:

I'd like to conditionally format a cell if the value zero is entered into it,
however to leave the cell without formatting if the cell if empty. My
attempts at doing so using something like formula is =q54=0 format the cell
regardless of whether the cell has a zero or is empty!

Appreciate any help...thanks!

  #5   Report Post  
Posted to microsoft.public.excel.misc
al al is offline
external usenet poster
 
Posts: 363
Default Difference of empty cell and zero value when formatting

Thanks for taking the extra time to explain this...helps me learn!

"Jacob Skaria" wrote:

=q54=0 will return TRUE when q54 is either blank or zero..

--
Jacob


"Al" wrote:

Works perfectly....so this is saying if the cell is not blank, and is equal
to zero, then true, so apply formatting, as apposed to if it is ony blank,
which would produce a false?

Brilliant...thank you, and so quick!

"Jacob Skaria" wrote:

Try the formula

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

--
Jacob


"Al" wrote:

I'd like to conditionally format a cell if the value zero is entered into it,
however to leave the cell without formatting if the cell if empty. My
attempts at doing so using something like formula is =q54=0 format the cell
regardless of whether the cell has a zero or is empty!

Appreciate any help...thanks!

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
formatting the difference between two cells Hollywood003 Excel Discussion (Misc queries) 2 October 26th 09 03:45 PM
How can I deactivate conditional formatting if the cell is empty? Vahe Excel Discussion (Misc queries) 3 January 11th 07 09:11 PM
Leaving an empty cell empty GRL Excel Discussion (Misc queries) 4 April 22nd 06 05:47 PM
Conditional Formatting - Difference between dates Gohan51D Excel Discussion (Misc queries) 5 March 14th 06 10:08 AM
why a reference to an empty cell is not considered empty Nicoscot Excel Discussion (Misc queries) 10 March 10th 06 05:36 AM


All times are GMT +1. The time now is 01:33 AM.

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

About Us

"It's about Microsoft Excel"