Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Excelerate-nl
 
Posts: n/a
Default How to get a formula result zero as blank cell

Dear Excel experts,

How can I make the outcome of a formula (eg. =A1*A2) result in a blank cell
if either Cell A1 or Cell A2 is blank (no data typed in the cell)?
If either Cell A1 or A2 is actually zero it should not result in a blank Cell.

I need to define the outcome of the folrmula as blank, because I want to
take the average of a range of rhese formulas. If some data have not been
entered, they should be ignored in the average and not counted as 0.

Hope you can give me a clue,

Jan Bart
  #2   Report Post  
Posted to microsoft.public.excel.misc
SteveG
 
Posts: n/a
Default How to get a formula result zero as blank cell


Jan,

=IF(OR(ISBLANK(A1),ISBLANK(A2)),"",A1*A2)

Regards,

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=487245

  #3   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default How to get a formula result zero as blank cell

=IF(OR(A1="",A2=""),"",A1*A2)

Average, sum, and count functions will ignore cells with a result of "".
COUNTA will still count cells with "".

"Excelerate-nl" wrote:

Dear Excel experts,

How can I make the outcome of a formula (eg. =A1*A2) result in a blank cell
if either Cell A1 or Cell A2 is blank (no data typed in the cell)?
If either Cell A1 or A2 is actually zero it should not result in a blank Cell.

I need to define the outcome of the folrmula as blank, because I want to
take the average of a range of rhese formulas. If some data have not been
entered, they should be ignored in the average and not counted as 0.

Hope you can give me a clue,

Jan Bart

  #4   Report Post  
Posted to microsoft.public.excel.misc
Excelerate-nl
 
Posts: n/a
Default How to get a formula result zero as blank cell

Thanks Steve.

I already thought of this solution, but it results is 34*365 formulas
(besides lots of other formulas) of this type which may overload the
processor.
So I am still hoping for another clue.

regards,

Jan Bart

"SteveG" wrote:


Jan,

=IF(OR(ISBLANK(A1),ISBLANK(A2)),"",A1*A2)

Regards,

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=487245


  #5   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default How to get a formula result zero as blank cell

One mo

=if(count(a1,a2)<2,"",a1*a2)



Excelerate-nl wrote:

Dear Excel experts,

How can I make the outcome of a formula (eg. =A1*A2) result in a blank cell
if either Cell A1 or Cell A2 is blank (no data typed in the cell)?
If either Cell A1 or A2 is actually zero it should not result in a blank Cell.

I need to define the outcome of the folrmula as blank, because I want to
take the average of a range of rhese formulas. If some data have not been
entered, they should be ignored in the average and not counted as 0.

Hope you can give me a clue,

Jan Bart


--

Dave Peterson
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
Cell displays formula and not result Ettienne Excel Discussion (Misc queries) 5 June 5th 05 10:01 PM
How to stop excel from plotting a "blank" cell with formula as zer tiw Excel Discussion (Misc queries) 5 April 21st 05 08:38 PM
formula in cell not showing result Leolin Excel Worksheet Functions 8 March 18th 05 05:36 PM
Formula result not showing in cell Leolin Excel Worksheet Functions 2 March 17th 05 06:03 AM
Cell shows formula and not the result of the formula. stumpy1220 Excel Worksheet Functions 2 January 14th 05 05:11 PM


All times are GMT +1. The time now is 06:07 AM.

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"