If column a contains the 1's and column B contains the values
=SUMIF(A1:A800,1,B1:B800)
should suffice
Regards
Dav
--
Dav
------------------------------------------------------------------------
Dav's Profile:
http://www.excelforum.com/member.php...o&userid=27107
View this thread:
http://www.excelforum.com/showthread...hreadid=515277