> I need find a formula to identify duplicate numbers in a column being either
> a debit or a credit. For example:
[quoted text clipped - 5 lines]
> -1234.00 duplicate
> -3456.00 duplicate
One way (array-entered with CMD-RETURN):
B1: =IF(SUMPRODUCT(--(ABS($A$1:$A$6)=ABS(A1)))>1,"duplicate","")
Copy down to B6
JE McGimpsey - 24 Aug 2007 19:23 GMT
> One way (array-entered with CMD-RETURN):
>
> B1: =IF(SUMPRODUCT(--(ABS($A$1:$A$6)=ABS(A1)))>1,"duplicate","")
>
> Copy down to B6
Oops - changed the formula, but didn't change the instruction:
No array-entering needed....
Joe H. - 24 Aug 2007 19:36 GMT
Is there a way to not have "dulplicate" print next to blank cells?
> > One way (array-entered with CMD-RETURN):
> >
[quoted text clipped - 5 lines]
>
> No array-entering needed....
JE McGimpsey - 24 Aug 2007 20:33 GMT
> Is there a way to not have "dulplicate" print next to blank cells?
One way:
=IF(SUMPRODUCT(--($A$1:$A$6<>""),--(ABS($A$1:$A$6)=ABS(A9)))>1,
"duplicate", "")
Joe H. - 24 Aug 2007 20:49 GMT
I had to change the "A9" to "A1" and it worked fine. Thanks for your help!
> > Is there a way to not have "dulplicate" print next to blank cells?
>
> One way:
>
> =IF(SUMPRODUCT(--($A$1:$A$6<>""),--(ABS($A$1:$A$6)=ABS(A9)))>1,
> "duplicate", "")