Assuming this range is in A1:A9
=SUMIF(A1:A9,"20")-SUMIF(A1:A9,"50")
--
Bearacade
------------------------------------------------------------------------
Bearacade's Profile:
http://www.excelforum.com/member.php...o&userid=35016
View this thread:
http://www.excelforum.com/showthread...hreadid=557489