Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do I omit a blank cell from a calculation??

How do I discriminate between a blank cell and a zero value cell in a formula?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How do I omit a blank cell from a calculation??

It depends on what you want to accomplish with the formula.

One way to test for numeric 0:

AND(COUNT(A1),A1=0)


--
Biff
Microsoft Excel MVP


"marklg" wrote in message
...
How do I discriminate between a blank cell and a zero value cell in a
formula?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default How do I omit a blank cell from a calculation??

Some clarification as to what you want to do and what your existing formula
is would probably help. Also, when you say "blank" cell, do you mean a cell
that is truly empty or one that appears to be empty, but contains an empty
string (ie "")

A few suggestions you could play with:
=A1=""
=Len(A1)0
=Isnumber(A1)
=Isblank(A1) - this function will distinguish between a truly *empty* cell
and one that contains the empty string



"marklg" wrote:

How do I discriminate between a blank cell and a zero value cell in a formula?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default How do I omit a blank cell from a calculation??

What's your definition of "Blank"?

Is it an unused *empty* cell,
OR
a cell that appears empty but contains a zero length text string ( "" )?

Then, what is the formula you're trying to use?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"marklg" wrote in message
...
How do I discriminate between a blank cell and a zero value cell in a

formula?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do I omit a blank cell from a calculation??



"Ragdyer" wrote:

What's your definition of "Blank"?

Is it an unused *empty* cell,
OR
a cell that appears empty but contains a zero length text string ( "" )?

Then, what is the formula you're trying to use?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"marklg" wrote in message
...
How do I discriminate between a blank cell and a zero value cell in a

formula?

The cell is unused. I'm trying to solve an equation of the form ax-b where not all cells in the range of x have values and can be =0. Seems simple enough, but not to me I guess.


Thanks for answering.

marklg


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default How do I omit a blank cell from a calculation??

Hi,
If your maybe blank cell is (for example) A10, then try an IF around your
formula, something like:
=IF(A10="","x is blank",YourFormula)
Regards - Dave.
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
Blank cell calculation Duane Excel Discussion (Misc queries) 1 April 20th 06 08:45 PM
Omit blank cells from function results TanyaE Excel Worksheet Functions 3 September 1st 05 05:22 AM
Macro to omit blank cells needed Emece Excel Worksheet Functions 4 June 21st 05 08:07 PM
How can I make the graph omit blank cells in the data set? easy Charts and Charting in Excel 3 March 17th 05 02:48 PM
REPOST: How can I make the graph omit blank cells in the data set? easy Charts and Charting in Excel 2 March 17th 05 09:57 AM


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