Thanks for that Steve but I am trying to get this formula to eventually
work up to
VB code which will check if that customer has any duplicate
order numbers before running more complicated code.
I don't think a pivot table will help in this situation.
Thanks
John
--
johncassell
------------------------------------------------------------------------
johncassell's Profile:
http://www.excelforum.com/member.php...o&userid=25016
View this thread:
http://www.excelforum.com/showthread...hreadid=511027