Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default Stop zero on cell

Hi,
How can I stop Excel formula to consider a blank cell as a zero?
I have a column with zeros and blank cells. I need the formula to consider
the cells with zero as a condition to built the results but excel consider
the blanks cell as zero also.
Any help?

Using Excel 2003.

Thanks,

Amnon


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Stop zero on cell

It depends on your formula. For example. AVERAGE() is already clever enough
to ignore blanks, but include zeros. Post a simple example and we will show
you how.
--
Gary''s Student - gsnu2007d


"Amnon Wilensky" wrote:

Hi,
How can I stop Excel formula to consider a blank cell as a zero?
I have a column with zeros and blank cells. I need the formula to consider
the cells with zero as a condition to built the results but excel consider
the blanks cell as zero also.
Any help?

Using Excel 2003.

Thanks,

Amnon



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Stop zero on cell

=IF(A2="","Result for blank",IF(A2=0,"Result for zero","Result for
non-zero"))
or if you want the same result for blank as for non-zero, then try
=IF(AND(A2<"",A2=0),"Result for zero","Result for blank or non-zero")
--
David Biddulph

"Amnon Wilensky" wrote in message
...
Hi,
How can I stop Excel formula to consider a blank cell as a zero?
I have a column with zeros and blank cells. I need the formula to consider
the cells with zero as a condition to built the results but excel consider
the blanks cell as zero also.
Any help?

Using Excel 2003.

Thanks,

Amnon



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Stop zero on cell

=IF(A1="","",A1)


Gord Dibben MS Excel MVP


On Thu, 7 Feb 2008 19:48:13 +0200, "Amnon Wilensky"
wrote:

Hi,
How can I stop Excel formula to consider a blank cell as a zero?
I have a column with zeros and blank cells. I need the formula to consider
the cells with zero as a condition to built the results but excel consider
the blanks cell as zero also.
Any help?

Using Excel 2003.

Thanks,

Amnon


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default Stop zero on cell

Hi,

I have attached a sample with what I have done and you can see that when the
formula works on heading with empty cell the results are the same as the
cell contain zero. my sheet contains 348 rows with mixed data.

Thanks,

Amnon

"Amnon Wilensky" wrote in message
...
Hi,
How can I stop Excel formula to consider a blank cell as a zero?
I have a column with zeros and blank cells. I need the formula to consider
the cells with zero as a condition to built the results but excel consider
the blanks cell as zero also.
Any help?

Using Excel 2003.

Thanks,

Amnon








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default Stop zero on cell

Thanks,
Amnon
"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
=IF(A2="","Result for blank",IF(A2=0,"Result for zero","Result for
non-zero"))
or if you want the same result for blank as for non-zero, then try
=IF(AND(A2<"",A2=0),"Result for zero","Result for blank or non-zero")
--
David Biddulph

"Amnon Wilensky" wrote in message
...
Hi,
How can I stop Excel formula to consider a blank cell as a zero?
I have a column with zeros and blank cells. I need the formula to
consider the cells with zero as a condition to built the results but
excel consider the blanks cell as zero also.
Any help?

Using Excel 2003.

Thanks,

Amnon





  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default Stop zero on cell

Thanks,
Amnon
"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
=IF(A1="","",A1)


Gord Dibben MS Excel MVP


On Thu, 7 Feb 2008 19:48:13 +0200, "Amnon Wilensky"
wrote:

Hi,
How can I stop Excel formula to consider a blank cell as a zero?
I have a column with zeros and blank cells. I need the formula to consider
the cells with zero as a condition to built the results but excel consider
the blanks cell as zero also.
Any help?

Using Excel 2003.

Thanks,

Amnon




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default Stop zero on cell

Thanks,
Amnon
"Gary''s Student" wrote in message
...
It depends on your formula. For example. AVERAGE() is already clever
enough
to ignore blanks, but include zeros. Post a simple example and we will
show
you how.
--
Gary''s Student - gsnu2007d


"Amnon Wilensky" wrote:

Hi,
How can I stop Excel formula to consider a blank cell as a zero?
I have a column with zeros and blank cells. I need the formula to
consider
the cells with zero as a condition to built the results but excel
consider
the blanks cell as zero also.
Any help?

Using Excel 2003.

Thanks,

Amnon





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
How to stop cell showing #VALUE! please RobertSE6 Excel Discussion (Misc queries) 5 October 22nd 07 02:12 PM
Stop Deleting My Cell pc_UNsavvy Excel Discussion (Misc queries) 5 August 22nd 07 12:44 AM
stop rounding in cell Lady112017 Excel Discussion (Misc queries) 3 December 7th 05 04:39 PM
how do I stop a cell from being a hypewlink Teeflo Excel Discussion (Misc queries) 2 November 21st 05 09:09 PM
stop cell entry being copied to other cell Terrible Tom Excel Worksheet Functions 1 March 2nd 05 09:26 PM


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