ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula Help (https://www.excelbanter.com/excel-discussion-misc-queries/123705-formula-help.html)

bbc1

Formula Help
 
I have a formula that sums the total accrss a series of cells and then adds
the total of the cell above it.
=IF(COUNTA(A7:T8),SUM(A7:T8)+X4,0)
What I am trying to do is have the same formula but have it not add cells
C7:D8 and S7:T8

CLR

Formula Help
 
Brute force way, until something more sophisticated comes along.........

=IF(COUNTA(A7:T8),SUM(A7:T8)+X4,0)-SUM(C7:D8)-SUM(S7:T8)

Vaya con Dios,
Chuck, CABGx3



"bbc1" wrote in message
...
I have a formula that sums the total accrss a series of cells and then

adds
the total of the cell above it.
=IF(COUNTA(A7:T8),SUM(A7:T8)+X4,0)
What I am trying to do is have the same formula but have it not add cells
C7:D8 and S7:T8




David Biddulph

Formula Help
 
=IF(COUNTA(A7:T8),SUM(A7:B8,E7:R8)+X4,0)
or
=IF(COUNTA(A7:B8,E7:R8),SUM(A7:B8,E7:R8)+X4,0)
depending on what you want.
--
David Biddulph

"bbc1" wrote in message
...
I have a formula that sums the total accrss a series of cells and then adds
the total of the cell above it.
=IF(COUNTA(A7:T8),SUM(A7:T8)+X4,0)
What I am trying to do is have the same formula but have it not add cells
C7:D8 and S7:T8





All times are GMT +1. The time now is 06:24 PM.

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