Thanks for both davesexcel and Martin.
Martin forumla was more what I needed. It worked fine.
--
harishnehru
------------------------------------------------------------------------
harishnehru's Profile:
http://www.excelforum.com/member.php...o&userid=32262
View this thread:
http://www.excelforum.com/showthread...hreadid=527075