+ Reply to Thread
Results 1 to 2 of 2

Trying to find overlapping duplicate values within a range.

  1. #1
    Registered User
    Join Date
    12-12-2012
    Location
    SW
    MS-Off Ver
    Excel 2010
    Posts
    1

    Trying to find overlapping duplicate values within a range.

    Hello,

    I work for a manufacturing company and use excel quite a bit. Someone came to me with a request and I've mulled it over for a few days and played around in Excel but I am unable to get it to do what I want it to do!

    Essentially, as we manufacture items they are put into batches, individually serialized, and then tested. Somewhere along the line the program that does serial numbers has created duplicate serials numbers (It could be several thousand as there are A LOT of parts).

    The serial numbers are stored in ranges.

    For example, in column A there might be:

    1001-1020
    1001-1020
    1021-1031
    1032-1094

    When the duplicate ranges are perfectly matched, say 1001-1020 and another instance of 1001-1020, I was able to create a countif function that returned how often it showed up thereby indicating it was a duplicate. The issue I am having is for the ranges that overlap each other. For example, a range from 1001-1020 and a second range from 1015-1025. The serials 1015, 1016, 1017, 1018, 1019 and 1020 are all duplicates in this scenario. I need some way of getting excel to let me know that those duplicates exist. I was playing around with some pretty big formulas that had greater than/less than with multiple if statements. I was able to get results when it was being compared to only one other serial number. Since there are several thousand it has to have a way of looking at all of those and returning a count or indicator that there are duplicates.

    Any help would be appreciated.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Trying to find overlapping duplicate values within a range.

    Please attach your sample data with expected output for better understanding.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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