+ Reply to Thread
Results 1 to 5 of 5

Return Valve based on Range

  1. #1
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Return Valve based on Range

    Hi All,

    Here is my puzzle, I am using excel 2007, I have attached a sample excel spreadsheet.

    I have a list of IP ranges in column G and H as low and high range and in I is the location.

    What I want to do is if column B falls with the IP range of column G and H then return the location in column I into cell C2.

    I hope that makes sense!!

    Thanks
    Attached Files Attached Files
    ==========
    Bigroo1958
    Austin, Texas
    ==========

  2. #2
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: Return Valve based on Range

    So long as the list of IP ranges are in order:

    =INDEX(G:I,MATCH(B2,G:G,1),3)

  3. #3
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Re: Return Valve based on Range

    Hi BrokenBiscuits,

    No, the IP ranges are not in order, does this change the formula?

  4. #4
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Re: Return Valve based on Range

    BrokenBiscuits,

    When you say in order, do you mean Column B or column G or both?

  5. #5
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: Return Valve based on Range

    Sorry, that would just be the range in Col G. You can put any value anywhere in Column B. Hope that helps!

+ 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