+ Reply to Thread
Results 1 to 3 of 3

Excel Formula Test If Value Matches any Item In An Array Or Range

  1. #1
    Forum Contributor
    Join Date
    01-07-2004
    Posts
    314

    Excel Formula Test If Value Matches any Item In An Array Or Range

    Hi all,

    Using Excel 2013,

    It trying to see if the Month() of a date is in a Array / Range

    I tried =IF(MONTH(E8)={2,6,9,11},"Yes","No") where E8 = 9/30/12
    I did not get the answer I expected.
    What am I doing wrong?

    thx
    w
    Kind regards,
    w

    http://dataprose.org

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Excel Formula Test If Value Matches any Item In An Array Or Range

    use or
    =IF(OR(MONTH(E8)={2,6,9,11}),"Yes","No")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Contributor
    Join Date
    01-07-2004
    Posts
    314

    Re: Excel Formula Test If Value Matches any Item In An Array Or Range

    Perfect!

    Thanks Martin

+ 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] INDEX MATCH array formula that matches substring n gives multiple matches
    By bkwins in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-12-2013, 04:57 AM
  2. Replies: 7
    Last Post: 04-11-2013, 12:46 AM
  3. [SOLVED] two-array matching formula with multiple matches
    By ilikeexcel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-09-2013, 02:19 PM
  4. [SOLVED] Array Formula - To determine exact matches
    By [email protected] in forum Excel Formulas & Functions
    Replies: 38
    Last Post: 11-10-2012, 01:17 AM
  5. Replies: 6
    Last Post: 05-26-2012, 04:56 AM

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