+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    07-21-2009
    Location
    Connecticut, USA
    MS-Off Ver
    Excel 2010
    Posts
    17

    Formula Help - Performing "triple" vlookup?

    I was hoping for a little help because this formula is driving me mad! I understand vlookup returns a result after matching the left most result field in a table. But what if 3 column rules need to be met prior to returning the desired result?

    I tried Match/Index and Offset (which I can't seem to understand) and even dabbled in array formulas but can't seem to get the language right (or syntax?). In any event I enclosed a sample spreadsheet detailing what I'd like to accomplish. The formula in there now is the closest I've come.

    Any assistance would be much appreciated.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-12-2004
    Posts
    323

    Re: Formula Help - Performing "triple" vlookup?

    Try attached.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-21-2009
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Formula Help - Performing "triple" vlookup?

    In cell H4 enter:

    =SUMPRODUCT(($A$4:$A$15=$G4)*($B$4:$B$15=H$3)*($C$4:$C$15=$G$2),$D$4:$D$15)

    Then fill down and across

  4. #4
    Forum Guru Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007
    Posts
    3,440

    Re: Formula Help - Performing "triple" vlookup?

    Another Option: maybe use a Pivot Table? It's very flexible.

    See attached.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-21-2009
    Location
    Connecticut, USA
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Formula Help - Performing "triple" vlookup?

    Sumproduct.....perfect! Thanks much for the quick replies.

    Question for Morrigan: What do the double dashes (--) signify in the formula you wrote?

  6. #6
    Forum Guru Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007
    Posts
    3,440

    Re: Formula Help - Performing "triple" vlookup?

    See this link for explanation: SUMPRODUCT Double Unary

    Note: xldynamics has a great white paper on this, but the site has lost its registration. Pity.

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.2.0