How to sum adjacent cells based on values of each cell?
Hi,
Am Mon, 13 Oct 2014 20:54:07 +0200 schrieb Claus Busch:
=SUMIF(A1:A4,"0",B1:B4)
if there can be values < 0 in column B then try:
=SUMIFS(B1:B4,A1:A4,"0",B1:B4,"0")
or
=SUMPRODUCT(--(A1:A40),--(B1:B40),B1:B4)
Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
|