If values are in a2:a100 and pending etc in cells b2:b100 and the
reference at the top is in cell c1
sumif(b2:b100,c1,a2:a100)
regards
Dav
--
Dav
------------------------------------------------------------------------
Dav's Profile:
http://www.excelforum.com/member.php...o&userid=27107
View this thread:
http://www.excelforum.com/showthread...hreadid=573829