Thank you all! I have used SumIf function. It is easiler for me to do.
You guys saved me whole week of work. Thanks!
--
smash123
------------------------------------------------------------------------
smash123's Profile:
http://www.excelforum.com/member.php...o&userid=29974
View this thread:
http://www.excelforum.com/showthread...hreadid=542888