+ Reply to Thread
Results 1 to 3 of 3

Return a value if a range of cells contain a specific number.

Hybrid View

  1. #1
    Registered User
    Join Date
    07-27-2018
    Location
    Dublin, Ireland
    MS-Off Ver
    2013
    Posts
    14

    Return a value if a range of cells contain a specific number.

    Hi all,

    Would anyone know a formula I could use to return a result e.g. "True " or "False" if a range of cells contain certain specific numbers?

    I've tried online to find it but I can't find one that allows a range of cells to be checked for a series of specific numbers.

    Simple image attached.

    Thanks in advance for any help!!

    Alan
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-01-2019
    Location
    HK
    MS-Off Ver
    2010
    Posts
    32

    Re: Return a value if a range of cells contain a specific number.

    e.g. =COUNTIF(A2:B20,2)+COUNTIF(A2:B20,15)+COUNTIF(A2:B20,4)>0

  3. #3
    Registered User
    Join Date
    07-27-2018
    Location
    Dublin, Ireland
    MS-Off Ver
    2013
    Posts
    14

    Re: Return a value if a range of cells contain a specific number.

    Hi efvba, that worked a treat. I just tweaked the range and added the numbers I wanted it to look for... you are a legend thank you!!!!!

+ 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. Formula to return number of cells lapsed after specific reading occurred
    By lamlam28 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-15-2019, 12:11 PM
  2. Replies: 3
    Last Post: 06-13-2017, 02:46 AM
  3. [SOLVED] return the number of cells with the most consecutive specific values.
    By Bab1 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-13-2014, 07:11 AM
  4. Formula for a range of cells with a certain value to return a specific cell
    By kajjampur in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-05-2013, 06:24 PM
  5. [SOLVED] Return value if any of cells in range equals a specific value (cell)
    By G.Bregvadze in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-30-2013, 07:59 AM
  6. [SOLVED] Find specific cell and return column number from a dynamic range
    By nivoe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-18-2012, 12:39 PM
  7. Replies: 7
    Last Post: 09-18-2012, 04:17 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