+ Reply to Thread
Results 1 to 4 of 4

Array Formula to Match on 3 Variables

  1. #1
    Forum Contributor
    Join Date
    06-29-2008
    Location
    Grand Rapids, MI
    MS-Off Ver
    Office 2010
    Posts
    127

    Array Formula to Match on 3 Variables

    Hello,

    I have an array that I am trying to use. I want it to match based on three values. The first (listed in the formula as $B$9) is a name, the second is a start date ($H$9) and the third is an end date ($N$9).

    Please Login or Register  to view this content.
    I added the And() function to try to add the additional variables to the small() array, but it didn't work.
    It works perfect when I don't use the start dates and end dates, but I get more data then I want... I just want a picture of the data during a time frame. The Dates are stored in column DA on the database worksheet.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Array Formula to Match on 3 Variables

    With Array formulas, AND is replace with * between arguments...

    e.g.

    Please Login or Register  to view this content.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    06-29-2008
    Location
    Grand Rapids, MI
    MS-Off Ver
    Office 2010
    Posts
    127

    Re: Array Formula to Match on 3 Variables

    Awesome, I love it when solutions are this simple.

    as a second part, if i need it to match one of the variables against two columns, how would i use an "or" function in the array?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Array Formula to Match on 3 Variables

    The array formula equivalent to OR is +

+ 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