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.
Try attached.
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
Another Option: maybe use a Pivot Table? It's very flexible.
See attached.
Sumproduct.....perfect! Thanks much for the quick replies.
Question for Morrigan: What do the double dashes (--) signify in the formula you wrote?
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks