Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Skip Cell In Column Sum 2

Status
Not open for further replies.

tj007

IS-IT--Management
Mar 14, 2003
129
US
Hi

I would like to add the values in a column, but two cells must be omitted during the calculation. Here is the formula: =COUNTIF(D14:D25,">0")*0.02083333333. I need to skip cellS D18&D19 and count D14:D17 & D20:D25. I have tried the following: =COUNTIF(D14:D17:D20:D25,">0")*0.02083333333 but it does not work.
 
Try:

=(COUNTIF(D14:D17,">0")*0.02083333333)+(COUNTIF(D20:D25,">0")*0.02083333333)



Blue [dragon]

If I wasn't Blue, I would just be a Dragon...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top