You can use SUMIF for that.
=SUMIF(SearchRange,SearchCriteria,SumRangeIfDiffer ent)
=SUMIF(A1:A100,"Socks",B1:B100)
--
JBeaucaire
------------------------------------------------------------------------
JBeaucaire's Profile:
http://www.thecodecage.com/forumz/member.php?userid=73
View this thread:
http://www.thecodecage.com/forumz/sh...ad.php?t=45617