I think i got it to work using Bob Phillips' formula. Thanks to all.
--
abryan
------------------------------------------------------------------------
abryan's Profile:
http://www.excelforum.com/member.php...o&userid=29118
View this thread:
http://www.excelforum.com/showthread...hreadid=488360