ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Simple One (https://www.excelbanter.com/excel-discussion-misc-queries/133691-simple-one.html)

Wanna Learn

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

Toppers

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


Bob I

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



David Biddulph[_2_]

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





Bob I

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,"")




All times are GMT +1. The time now is 03:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com