Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How to distinguish zeros ("0") from blank cells?

I'm trying to figure out a way to get my formulas to distinguish cells with
no data from those that have a "0". Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default How to distinguish zeros ("0") from blank cells?

=LEN(A1)=0

returns TRUE for empty cell and FALSE for 0

=A1=""


returns TRUE for empty cells and FALSE for 0


--


Regards,


Peo Sjoblom


"Clay888" wrote in message
...
I'm trying to figure out a way to get my formulas to distinguish cells
with
no data from those that have a "0". Any ideas?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 252
Default How to distinguish zeros ("0") from blank cells?

certain functions like AVERAGE will ignore blanks.

If you tell us specifically what you are trying to do, we can help you
figure it out.

"Clay888" wrote:

I'm trying to figure out a way to get my formulas to distinguish cells with
no data from those that have a "0". Any ideas?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 733
Default How to distinguish zeros ("0") from blank cells?

"Peo Sjoblom" wrote...
=LEN(A1)=0

returns TRUE for empty cell and FALSE for 0

=A1=""

returns TRUE for empty cells and FALSE for 0

....

Both formulas also return TRUE for nonblank cells that evaluate to "".
ISBLANK(x) and COUNT(x)=0 provide stricter tests for whether a cell
contains nothing.

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
Pivot Tables - "(blank)" in rows and cells Peterp Excel Discussion (Misc queries) 0 December 20th 06 09:37 AM
multiplying by blank cells input by "IF" functions tiaga Excel Discussion (Misc queries) 2 November 21st 06 06:21 PM
Avoiding "0" importing blank cells from another Excel file Jan K-A Excel Discussion (Misc queries) 3 September 9th 06 05:55 AM
How to fill in "BLANK" Cells Automactically...Large Spread Sheet msbutton27 Excel Discussion (Misc queries) 3 January 15th 06 04:12 PM
Changing "returned" values from "0" to "blank" LATATC Excel Worksheet Functions 2 October 20th 05 04:41 PM


All times are GMT +1. The time now is 02:54 PM.

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"