Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 07-21-2009, 12:55 PM
Stubrok Stubrok is offline
Registered User
 
Join Date: 21 Jul 2009
Location: Connecticut, USA
MS Office Version:Excel 2003 & 2007
Posts: 11
Stubrok is becoming part of the community
Formula Help - Performing "triple" vlookup?

Please Register to Remove these Ads

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
File Type: xls Formula Help.xls (14.5 KB, 9 views)
Reply With Quote
  #2  
Old 07-21-2009, 01:10 PM
Morrigan Morrigan is offline
Valued Forum Contributor
 
Join Date: 12 Mar 2004
Posts: 323
Morrigan is becoming part of the community
Re: Formula Help - Performing "triple" vlookup?

Try attached.
Attached Files
File Type: xls Formula Help.xls (16.0 KB, 11 views)
Reply With Quote
  #3  
Old 07-21-2009, 01:28 PM
newmisslesylo newmisslesylo is offline
Registered User
 
Join Date: 21 Jul 2009
Location: New York
MS Office Version:Excel 2003
Posts: 5
newmisslesylo is becoming part of the community
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
Reply With Quote
  #4  
Old 07-21-2009, 01:37 PM
Palmetto's Avatar
Palmetto Palmetto is offline
Forum Guru
 
Join Date: 04 Apr 2007
Location: South Carolina, USA
MS Office Version:XP, 2007
Posts: 2,183
Palmetto Has a higher level of understanding Palmetto Has a higher level of understanding Palmetto Has a higher level of understanding Palmetto Has a higher level of understanding Palmetto Has a higher level of understanding Palmetto Has a higher level of understanding
Re: Formula Help - Performing "triple" vlookup?

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

See attached.
Attached Files
File Type: xls 692391-formula-help-performing-triple-vlookup.xls (22.5 KB, 4 views)
Reply With Quote
  #5  
Old 07-21-2009, 02:59 PM
Stubrok Stubrok is offline
Registered User
 
Join Date: 21 Jul 2009
Location: Connecticut, USA
MS Office Version:Excel 2003 & 2007
Posts: 11
Stubrok is becoming part of the community
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?
Reply With Quote
  #6  
Old 07-21-2009, 04:27 PM
Palmetto's Avatar
Palmetto Palmetto is offline
Forum Guru
 
Join Date: 04 Apr 2007
Location: South Carolina, USA
MS Office Version:XP, 2007
Posts: 2,183
Palmetto Has a higher level of understanding Palmetto Has a higher level of understanding Palmetto Has a higher level of understanding Palmetto Has a higher level of understanding Palmetto Has a higher level of understanding Palmetto Has a higher level of understanding
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.
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump