from Pierre Leclerc at http://www.excel-vba.com
Excel-lence.net - by Affordable Solutions
Excel Lesson 17 of 30: Excel SUMPRODUCTI use SUMPRODUCT daily to solve all kinds of business data problems. It is the most powerful and simple function in Excel. Here
are a few examples of what can be done with SUMPRODUCT Case 1 Here is a typical set of sales data. But imagine a set of accounting data, manufacturing data, planning data....there can be 65,000 lines and 256 columns in the table and the order of the data in unimportant, SUMPRODUCT will do the job. With a SUMIF formula you can find the total sales for New York =SUMIF(N1:N7,"New York",P1:P7) but with SUMPRODUCT: -
you can add sales (Amount or quantities) for bicycles sold in
New York (2 criteria) With SUMPRODUCT you can design 5 different reports looking at the same set of data (by city, by month, by product or any other combination) and when you add new data or when you replace the set of data (copy/paste) the reports are automatically refreshed.
Case 2 With SUMPRODUCT you can extract the price of a car from the list above based on the make AND the model AND the year. No other formula can do that. So on an invoice or quotation spreadsheet you enter the make, the model and the year and a SUMPRODUCT formula will find the price for you automatically. No manual entry, no mistake. You can lookup in any table with 1, 2, 3 or any number of criteria with SUMPRODUCT. Case 3
You have a list of 3,000 names of people with the State they reside in and their annual salary. You need a simple formula that will extract a tax rate from a table like the one above. What is the rate for a New York resident who earns $59,254? What is the rate for an Oregon resident who earns $125,654? The ONLY solution is SUMPRODUCT. |