+ Reply to Thread
Results 1 to 6 of 6

Help. Cant get the results I need Looking for overlap in ranges

  1. #1
    Registered User
    Join Date
    07-10-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    3

    Help. Cant get the results I need Looking for overlap in ranges

    I two columns representing page numbers of documents. they need to be sequential without overlap. the pages have been assigned and I have found over lap. I need to find all over laps. my souloution does not work when an offending document is a single page. see below for the results I am getting:

    50627 50627 FALSE
    50628 50631 FALSE
    50632 50633 FALSE
    50633 50633 TRUE

    row 3 should be true since 50633 is in row 4

    I have tried :
    =SUMPRODUCT(($F$2:$F$7857<=F7851)*($G$2:$G$7857>=F7851)*($F$2:$F$7857<=G7851)*($G$2:$G$7857>=G7851))>1

    (Disregard row and column references in formula: they are to my spreadsheet and the example above is a small portion.)

    I did try to search this site, but did not get what I needed.

    I will try to attach a sample of m
    Attached Files Attached Files
    Last edited by vincent783; 07-10-2012 at 01:59 PM. Reason: add sample sheet

  2. #2
    Forum Contributor
    Join Date
    04-01-2009
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    280

    Re: Help. Cant get the results I need Looking for overlap in ranges

    I may be over simplifing this but aren't you just saying:

    Please Login or Register  to view this content.
    This will say true if the last page is the same as the next page.

  3. #3
    Registered User
    Join Date
    07-10-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    3

    Thumbs up Re: Help. Cant get the results I need Looking for overlap in ranges

    Yes, it oversimplifies. it would only cath certain types of issues. There are issues that would not identify such as:

    1 10
    7 8
    9 9
    10 11

    It would not identify first offending document nor sub

    this example would return "nothing", false, false, false when it should be true, true, true, true

    Thanks, though.



    Quote Originally Posted by Chance2 View Post
    I may be over simplifing this but aren't you just saying:

    Please Login or Register  to view this content.
    This will say true if the last page is the same as the next page.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help. Cant get the results I need Looking for overlap in ranges

    See the forumrules and this link.

    http://www.mrexcel.com/forum/showthr...lapping-ranges
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Registered User
    Join Date
    07-10-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Help. Cant get the results I need Looking for overlap in ranges

    This link is mine on a different forum. There are no relpies. I am still needing to identify what the problem with the formula is.

    thank you


    Quote Originally Posted by oeldere View Post

  6. #6
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Help. Cant get the results I need Looking for overlap in ranges

    I'd keep it simple and use an OR formula. Include your formula which seems to work most of the time, and then add checks to see if a number appears more than once for your single page issue.

    Pauley

+ 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