+ Reply to Thread
Results 1 to 3 of 3

Determine if a number is between a non-continuous range

  1. #1
    Registered User
    Join Date
    04-12-2013
    Location
    New York, US
    MS-Off Ver
    Excel 2010
    Posts
    8

    Determine if a number is between a non-continuous range

    I'm look for a formula that will enable me to calculate a true if a number (cell D10) is between non continuous ranges. Please see attached. I need to repeat this formula several times so I'd like a simple way to achieve this true or false calculation.
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Determine if a number is between a non-continuous range

    try

    =IF(SUMPRODUCT(--(D10>=C3:C7),--(D10<=D3:D7)),LOOKUP(D10,C3:C7)&" - "&LOOKUP(D10,C3:D7),"")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    04-12-2013
    Location
    New York, US
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Determine if a number is between a non-continuous range

    Thanks. Hugely helpful. I'm not sure what the "--" in the formula does but the formula worked. Thanks again

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Determine a Range despite number of rows
    By FCarv in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-23-2012, 11:10 AM
  2. Replies: 0
    Last Post: 02-20-2012, 05:42 PM
  3. How to determine number of Saturdays in a date range?
    By casper_1981 in forum Excel General
    Replies: 4
    Last Post: 03-09-2010, 02:53 PM
  4. Replies: 9
    Last Post: 02-24-2010, 07:20 AM
  5. [SOLVED] Formula to determine whether number falls within range??
    By Cat in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-16-2005, 10:05 PM

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