Here is a follow up to this previous post: Vlookup with 2 or more lookup criteria and return multiple matches in excel
Sum search criteria price values
Cell references in array formula in B14:
Named ranges in array formula in B14:
The array formula returns a sum of values from a column you specify. The column you specify is bolded in the above array formula.
The sumproduct formula:
The sumproduct formula expands significantly if many search criteria are being used. The first formula does not change in size when additional search criteria are added.
You can also sum specific price values using pivot table.
What is named ranges?
How to increase the number of search criteria
Change the named range search_tbl.
Download excel example file
(Excel 97-2003 Workbook *.xls)
Functions in this article:
Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE
Returns a value or reference of the cell at the intersection of a particular row and column, in a given range
ROW(reference) Returns the rownumber of a reference
SMALL(array,k) Returns the k-th smallest row number in this data set.
SEARCH() Returns the number of the character at which a specific character or text string is first found, reading left to right (not case sensitive)
Converts a vertical range to a horizontal range, or vice versa.
Adds all the numbers in a range of cells