I need to know how to sum cell values in column b, if the corresponding
row in column c value is equal to 1. Column B contains the data, column
C contains flags to use or not use the data. All help is greatly
appreciated.
Peo Sjoblom - 29 Apr 2004 19:11 GMT
=SUMIF(C2:C50,1,B2:B50)

Signature
Regards,
Peo Sjoblom
> I need to know how to sum cell values in column b, if the corresponding
> row in column c value is equal to 1. Column B contains the data, column
[quoted text clipped - 4 lines]
> Excel Templates, Training, Add-ins & Business Software Galore!
> Free Excel Forum http://www.ozgrid.com/forum ***
Arvi Laanemets - 29 Apr 2004 19:13 GMT
Hi
=SUMIF(C:C,1,B:B)
--
Arvi Laanemets
(Don't use my reply address - it's spam-trap)
> I need to know how to sum cell values in column b, if the corresponding
> row in column c value is equal to 1. Column B contains the data, column
[quoted text clipped - 4 lines]
> Excel Templates, Training, Add-ins & Business Software Galore!
> Free Excel Forum http://www.ozgrid.com/forum ***