+ Reply to Thread
Results 1 to 6 of 6

lookup formula for multiple variables

  1. #1
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    666

    lookup formula for multiple variables

    Hi yesterday I posted a question which was quickly answered, then today I discovered that I'd asked the wrong question! Sorry about that.

    I've attached a workbook which illustrates the problem. I need to find the max (or min) values in a range of dates in an array, based on three variables.

    I will greatly appreciate your help!
    Attached Files Attached Files
    Last edited by jrtaylor; 08-16-2012 at 02:48 PM. Reason: solved

  2. #2
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: lookup formula for multiple variables

    Put in G2, array-enter (press CTRL+SHIFT+ENTER) to confirm the formula:
    =MAX(IF((Highs!$A$2:$A$163>=A5)*(Highs!$A$2:$A$163<=E5),OFFSET(Highs!$A$2:$A$163,,MATCH(C5,Highs!$1:$1,0)-1)))
    Copy down

  3. #3
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    666

    Re: lookup formula for multiple variables

    Thank you! Perfect!

  4. #4
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: lookup formula for multiple variables

    welcome, great to hear. btw, you could also click the little star at the bottom left of my post to express your satisfaction with the response

  5. #5
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    666

    Re: lookup formula for multiple variables

    There you go. I hope it worked. I'll start doing this from now on!

  6. #6
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: lookup formula for multiple variables

    Yes, it did. Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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