ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   On an invoice - with sums equations - don't want zero values to sh (https://www.excelbanter.com/excel-programming/426394-invoice-sums-equations-dont-want-zero-values-sh.html)

Daveg

On an invoice - with sums equations - don't want zero values to sh
 
Hi,
I have done an automated invoice sheet with 4 columns and ten rows.
The four columns are labelled: number of units, description, price per item
and total.
The auto sum calculation shown in column 4 for each row is configured to
give me the monetary value of columns 1 x column 3.
My dilemma is this: having added the auto sum function to every row I now
have $00.00 showing in every row I have not added goods for which makes the
sheet look ridiculous.
Is there a way of telling the sheet to display the monetary totals only
where there are products entered?
Thanks, Dave

Mike H

On an invoice - with sums equations - don't want zero values to sh
 
Hi,

Modify your formula like this which requires at least 1 numeric value before
the sum is evaluated

=IF(COUNT(A1:C1),SUM(A1:C1),"")

Mike

"DaveG" wrote:

Hi,
I have done an automated invoice sheet with 4 columns and ten rows.
The four columns are labelled: number of units, description, price per item
and total.
The auto sum calculation shown in column 4 for each row is configured to
give me the monetary value of columns 1 x column 3.
My dilemma is this: having added the auto sum function to every row I now
have $00.00 showing in every row I have not added goods for which makes the
sheet look ridiculous.
Is there a way of telling the sheet to display the monetary totals only
where there are products entered?
Thanks, Dave


Dominik Petri

On an invoice - with sums equations - don't want zero valuesto sh
 
Mike,

since he wants to multiply, there should be values in both columns and
then either use PRODUCT() or *

=IF(AND($A10,$C10),A1*C1,"")

Regards,
Dominik.



Mike H schrieb:
Hi,

Modify your formula like this which requires at least 1 numeric value before
the sum is evaluated

=IF(COUNT(A1:C1),SUM(A1:C1),"")

Mike

"DaveG" wrote:

Hi,
I have done an automated invoice sheet with 4 columns and ten rows.
The four columns are labelled: number of units, description, price per item
and total.
The auto sum calculation shown in column 4 for each row is configured to
give me the monetary value of columns 1 x column 3.
My dilemma is this: having added the auto sum function to every row I now
have $00.00 showing in every row I have not added goods for which makes the
sheet look ridiculous.
Is there a way of telling the sheet to display the monetary totals only
where there are products entered?
Thanks, Dave



All times are GMT +1. The time now is 10:09 PM.

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