Marvin, here is one way, will check for duplicates in A1:A10, change as
needed
=IF(SUMPRODUCT((COUNTIF(A1:A10,A1:A10)>1)+0)>1,"Duplicates exist","")
--
Paul B
Always backup your data before trying something new
Using Excel 2000 & 97
Please post any response to the newsgroups so others can benefit from it
** remove news from my email address to reply by email **
"Marvin Hlavac" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi All,
>
> In column A I enter invoice numbers. Occasionally the same invoice number
is
> entered by a mistake. How to avoid that? Perhaps in column B a warning
would
> be displayed beside the invoice number that was entered second time. What
> formula could I use?
>
> --
> Regards,
> Marvin Hlavac
> Toronto, Canada
>
>
|