ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   EXCEL i have a formula example.. IF(C20,SUM(C2),"") (https://www.excelbanter.com/excel-worksheet-functions/119890-excel-i-have-formula-example-if-c2-0-sum-c2.html)

rkordet

EXCEL i have a formula example.. IF(C20,SUM(C2),"")
 
i am doing subtotals (manually) within one column

1
2
3 subtotal
4
4
4
12 subtotal

at the top, i want to add the subtotals to get the overal total. However,
in each subtotal argument, i want to suppress any ZERO's, but at the top, the
overall total of the subtotals gives me a #VALUE instead of a numerical
total.
How can i supress 0's in the subtotals, and also have the overal total cell
return a total and not a #VALUE
thank you
rkordet


PapaDos

EXCEL i have a formula example.. IF(C20,SUM(C2),"")
 
Use SUM() to add your subtotals (not +), it will ignore the "blanks"...
--
Regards,
Luc.

"Festina Lente"


"rkordet" wrote:

i am doing subtotals (manually) within one column

1
2
3 subtotal
4
4
4
12 subtotal

at the top, i want to add the subtotals to get the overal total. However,
in each subtotal argument, i want to suppress any ZERO's, but at the top, the
overall total of the subtotals gives me a #VALUE instead of a numerical
total.
How can i supress 0's in the subtotals, and also have the overal total cell
return a total and not a #VALUE
thank you
rkordet



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

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