+ Reply to Thread
Results 1 to 6 of 6

Searching for duplicated numbers

  1. #1
    Registered User
    Join Date
    07-26-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2007
    Posts
    2

    Searching for duplicated numbers

    I input data for a survey company and come across roughly 300 new numbers a day and i have to make sure none of these numbers are duplicated within the day and including any previous numbers i have ever inputted into the spread sheet. Right now my only solution to this task is scrolling through a list of about 10,000 every morning after putting them in descending I watch the last digit in each number and if i ever come across two last digits that are the same then i check the preceding numbers to see if they match. Is there any formula or tool that might help me complete this task more efficiently?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Searching for duplicated numbers

    Suggesting a formula would require seeing how your data is arranged, but See Help for the COUNTIF function.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    07-26-2012
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Searching for duplicated numbers

    I copy all my numbers that i need to check from one sheet and paste them all into column A in *increasing* order of another sheet
    Ex.
    523-3
    581-4
    629-5
    676-6
    694-4
    695-3<<<<<this is what im looking for as im scrolling through the spreadsheet
    695-3
    768-4
    778-3

    ---------- Post added at 02:54 PM ---------- Previous post was at 02:53 PM ----------

    I copy all my numbers that i need to check from one sheet and paste them all into column A in *increasing* order of another sheet
    Ex.
    523-3
    581-4
    629-5
    676-6
    694-4
    695-3<<<<<this is what im looking for as im scrolling through the spreadsheet
    695-3
    768-4
    778-3

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Searching for duplicated numbers

    assuming your data is in column A, use this formula, it will only show when an exact match is found...

    =IF(COUNTIF($A$1:$A$9,A1)=1,"",COUNTIF($A$1:$A$9,A1))

    an alternate would be to use the "remove duplicates" if that is an option that could work for you?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Searching for duplicated numbers

    If you're sorting then anyway,
    Please Login or Register  to view this content.
    The formula in B2 and copied down is =IF(A2=A1, "oops", "")

    If they were not sorted, you could use instead

    =IF(COUNTIF(A$1:A1, A2), "oops", "")

    That's more resource-intensive.

  6. #6
    Forum Contributor day92's Avatar
    Join Date
    04-20-2010
    Location
    Los Angeles
    MS-Off Ver
    Excel 360
    Posts
    600

    Re: Searching for duplicated numbers

    Or you can use conditional formatting. click conditional formatting -- highlight cell rules -- duplicate values.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1