#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 42
Default formulas

What kind of formula do I use for:

blank cell + blank cell = 0 how do I get it to not show if the value is 0?
--
Sandi
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default formulas

=IF(SUM(A1,A5),SUM(A1,A5),"")


"Sandi" wrote:

What kind of formula do I use for:

blank cell + blank cell = 0 how do I get it to not show if the value is 0?
--
Sandi

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default formulas

Hi,

Try

=IF(A1+B1=0,"",A1+B1)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Sandi" wrote:

What kind of formula do I use for:

blank cell + blank cell = 0 how do I get it to not show if the value is 0?
--
Sandi

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 143
Default formulas

What kind of formula do I use for:

blank cell + blank cell = 0 how do I get it to not show if the value
is 0?


If the cells are A1 and B2, one way is
=IF(LEN(A1&B2)=0,"",A1+B2)

If A1=17 and B2=-17, maybe you do want zero as the result -- I would. The
above formula does that.
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default formulas

blank cell + blank cell = 0
=IF(A1+B1=0,"",A1+B1)


What if:

A1 = 5
B1 = -5

If the OP only wants a blank returned when *both* cells are empty:

=IF(COUNT(A1:B1)=0,"",A1+B1)

Or, to be more robust:

=IF(COUNT(A1:B1)=0,"",SUM(A1:B1))

--
Biff
Microsoft Excel MVP


"Shane Devenshire" wrote in
message ...
Hi,

Try

=IF(A1+B1=0,"",A1+B1)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Sandi" wrote:

What kind of formula do I use for:

blank cell + blank cell = 0 how do I get it to not show if the value is
0?
--
Sandi



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
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
lookup formulas dependent upon lookup formulas Skibee Excel Worksheet Functions 1 July 20th 07 01:06 PM
automatically copy formulas down columns or copy formulas all the HowlingBlue Excel Worksheet Functions 1 March 16th 07 11:11 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM
formulas for changing formulas? creativeops Excel Discussion (Misc queries) 4 January 26th 06 03:07 AM


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