It sounds like you're looking for a combination of SUMIF and VLOOKUP
formulas.
--
shternm
------------------------------------------------------------------------
shternm's Profile:
http://www.excelforum.com/member.php...nfo&userid=858
View this thread:
http://www.excelforum.com/showthread...hreadid=472703