#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default Simple One

Hello I want to add column A and column B, but if the total is zero I do
not want the zero to show, I tried =if(a2+a3=0), " ",)a2+a2) .. but it is
obviously wrong thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Simple One


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

"Wanna Learn" wrote:

Hello I want to add column A and column B, but if the total is zero I do
not want the zero to show, I tried =if(a2+a3=0), " ",)a2+a2) .. but it is
obviously wrong thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Simple One

contents of C2 will be the following, and display the sum of the
adjacent cells in column A with column B.

=if(A2*B2, A2+B2,"")

Not sure what you were doing adding up rows. A2 + A3 is row addition.

Wanna Learn wrote:

Hello I want to add column A and column B, but if the total is zero I do
not want the zero to show, I tried =if(a2+a3=0), " ",)a2+a2) .. but it is
obviously wrong thanks


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Simple One

The OP asked for the zero not to show if the TOTAL is zero, not if the
PRODUCT is zero, so you could change that to
=if(A2+B2, A2+B2,"")
--
David Biddulph

"Bob I" wrote in message
...
contents of C2 will be the following, and display the sum of the adjacent
cells in column A with column B.

=if(A2*B2, A2+B2,"")

Not sure what you were doing adding up rows. A2 + A3 is row addition.


Wanna Learn wrote:

Hello I want to add column A and column B, but if the total is zero I
do not want the zero to show, I tried =if(a2+a3=0), " ",)a2+a2) .. but
it is obviously wrong thanks




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Simple One

Thank you for the correction, I transposed the request.

David Biddulph wrote:

The OP asked for the zero not to show if the TOTAL is zero, not if the
PRODUCT is zero, so you could change that to
=if(A2+B2, A2+B2,"")




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
maybe by another more simple way been dribbled to 2007 Excel Discussion (Misc queries) 2 January 3rd 07 08:26 PM
Simple lookup - or maybe not so simple - help! ChrisHodds Excel Worksheet Functions 1 September 27th 06 03:09 PM
Please help. Very simple but I don't know. :) GarryKhoo Excel Worksheet Functions 6 September 20th 05 12:45 PM
Simple Simple Excel usage question BookerW Excel Discussion (Misc queries) 1 June 23rd 05 10:06 PM
Make it more simple or intuitive to do simple things Vernie Charts and Charting in Excel 1 March 16th 05 04:01 AM


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