+ Reply to Thread
Results 1 to 3 of 3

Check if values are within a list of ranges

  1. #1
    Registered User
    Join Date
    08-06-2012
    Location
    Shipley, UK
    MS-Off Ver
    Excel 2010
    Posts
    69

    Check if values are within a list of ranges

    Hi All,

    Please can anyone assist.

    I have a list of numbers in range A1:A10, a table consisting of two columns (D1:E5), the table contains varying ranges, eg D1 = 10, E1 = 19, D2 = 20, E2 = 29, etc, not corresponding ranges.

    I would like a formula that, when entered into B1:B10, will check to see if the value is within one of the ranges, ie, if A1 = 10, then is would be a TRUE, as the value 10 is within range 1 (D1=10 to E1=19).

    Image of Sample spreadsheet attached.

    Thank you all.

    Sample.PNG

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Check if values are within a list of ranges

    Try this in B2
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Check if values are within a list of ranges

    Try this in B1 and copy down

    =IF(SUMIF($D$1:$E$5,A10,$D$1:$E$5)=0,FALSE,TRUE)
    Teach me Excel VBA

+ 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. List Unique Values from Multiple Ranges
    By Jonathan78 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2016, 10:36 AM
  2. Replies: 0
    Last Post: 05-06-2014, 08:45 AM
  3. Replies: 5
    Last Post: 10-26-2013, 01:03 PM
  4. Check if values are in a list
    By rhysa in forum Excel General
    Replies: 13
    Last Post: 02-22-2012, 07:43 AM
  5. Check if all values in a list are the same
    By aldredd in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-07-2008, 04:51 AM
  6. IF statement to check against list of values
    By Dan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-01-2006, 07:26 PM
  7. [SOLVED] How do I check for values in a list in an if statement?
    By DJC in forum Excel General
    Replies: 1
    Last Post: 07-27-2005, 03:05 PM

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