Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Excel / August 2007



Tip: Looking for answers? Try searching our database.

FORMULA TO FIND DUPLICATES

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joe H. - 24 Aug 2007 18:11 GMT
I need find a formula to identify duplicate numbers in a column being either
a debit or a credit.  For example:
          A                        B
     1234.00            duplicate
     2345.00
     3456.00            duplicate
     4567.00
    -1234.00            duplicate
    -3456.00            duplicate
Thanks!
JE McGimpsey - 24 Aug 2007 19:21 GMT
> 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", "")
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.