Professional Documents
Culture Documents
Excel Sum Product Quick Start Guide PDF
Excel Sum Product Quick Start Guide PDF
com
John Franco
www.Excel-Spreadsheet-Authors.com
2 | Page
Notice of Liability
The author and publisher have made every effort to ensure the accuracy
of the information herein. However, the information contained in this book
is sold without warranty, either express or implied. Neither the authors
and Excel-Spreadsheet-Authors.com, nor its dealers or distributors, will
be held liable for any damages to be caused either directly or indirectly by
the instructions contained in this book, or by the software or hardware
products described herein.
Trademark Notice
Rather than indicating every occurrence of a trademarked name as such,
this book uses the names only in an editorial fashion and to the benefit of
the trademark owner with no intention of infringement of the trademark.
Cover image Kurhan - Fotolia.com
www.Excel-Spreadsheet-Authors.com
3 | Page
TOC
TOC ................................................................................................ 4
Introduction ..................................................................................... 5
7 Hidden formulas of Excel SUMPRODUCT ........................................... 8
1.
2.
3.
4.
5.
6.
7.
www.Excel-Spreadsheet-Authors.com
4 | Page
Introduction
At first glance, the Excel SUMPRODUCT function can only help you
multiplying corresponding arrays, and returning the sum of those
products into a cell.
For example, in the following table the formula on F1 is:
=SUMPRODUCT(B2:B6,C2:C6).
5 | Page
Referenced
=SUMPRODUCT($E$2:$E$5=A2
Number
=SUMPRODUCT($E$2:$E$5=A2
Date
=SUMPRODUCT($E$2:$E$5=A2
www.Excel-Spreadsheet-Authors.com
Notes
You can replace = by the following
operators: <. <=, >, >=, <>
You can replace = by the following
operators: <. <=, >, >=, <>
You can replace = by the following
operators: <. <=, >, >=, <>
6 | Page
Or
You can hard code the criteria in several ways:
Data
type
Text
Hard coded
Notes
=SUMPRODUCT($E$2:$E$5="Susan", )
Number
=SUMPRODUCT($E$2:$E$5=1000, )
=SUMPRODUCT($E$2:$E$5=10%, )
Date
=SUMPRODUCT($E$2:$E$5=40091, )
=SUMPRODUCT($E$2:$E$5=DATEVALUE(
"10/5/2009"), )
=SUMPRODUCT($E$2:$E$5=DATE(2009,1
0,5),H5:I7,2,0),...)
Conclusion:
Add SUMPRODUCT to your toolbox and you will have one single function
that allows you to do multiple things.
Moreover, you will have almost the same functionality of Array Formulas
without pressing the CTRL + SHIFT + ENTER.
7 functions in one make SUMPRODUCT really an Excel Army Swiss
knife
John Franco
www.Excel-Spreadsheet-Authors.com
www.Excel-Spreadsheet-Authors.com
7 | Page
www.Excel-Spreadsheet-Authors.com
8 | Page
9 | Page
The above formulas will compute Smith and smith as separate entries.
Important reminder
Explore the 7 formulas in the provided .xls file (Excel-Sumproduct-QuickStart-Guide_7-formulas.xls). Practice and adapt the formulas to your
convenience.
Additionally; you can explore the bonus examples provided below
Excel-Sumproduct-Quick-Start-Guide_bonus-example-1.xls
Excel-Sumproduct-Quick-Start-Guide_bonus-example-2.xls
Excel-Sumproduct-Quick-Start-Guide_bonus-example-3.xls
Excel-Sumproduct-Quick-Start-Guide_bonus-example-4.xls
www.Excel-Spreadsheet-Authors.com
10 | P a g e
The haystack
How to
At the Backend (haystack)
SUMPRODUCT((criteria
column 1 = criteria
1)*attribute column)
www.Excel-Spreadsheet-Authors.com
11 | P a g e
The haystack
How to
At the Backend (haystack)
1. Prepare the table_array to be ready to lookup unique entries (see
backend troubleshooting in page 14)
At the Frontend (needle)
1. Write the formula in C2:
=SUMPRODUCT((Haystack!$A$2:$A$12=A2)*(Haystack!$B$2:$
B$12=B2)*Haystack!$E$2:$E$12)
Notes
SUMPRODUCT only retrieves numeric values. The array
Haystack!$E$2:$E$12 must be numeric or date only. When you use
SUMPRODUCT with text arrays you will receive a #VALUE! Error
www.Excel-Spreadsheet-Authors.com
12 | P a g e
The haystack
How to
At the Backend (haystack)
SUMPRODUCT((criteria
column 1 = criteria
1)*attribute column)
www.Excel-Spreadsheet-Authors.com
13 | P a g e
The haystack
How to
At the Backend (haystack)
SUMPRODUCT((criteria
column 1 = criteria
1)*attribute column)
www.Excel-Spreadsheet-Authors.com
14 | P a g e
www.Excel-Spreadsheet-Authors.com
15 | P a g e
John Franco
Excel-Spreadsheet-Authors.com
www.Excel-Spreadsheet-Authors.com
16 | P a g e
About John
John Franco is a native of Ecuador, he is a Civil Engineer
and a Bachelor in Applied Linguistics with focus on creating
systems for work, his long term objective in life is helping
others to gain momentum in the application of ideas.
For over seven years, he worked as a Civil Engineer
for Norberto Odebrecht Construction Company (the 44th largest
construction contracting firm from around the world according to
Engineering News Record 2008).
During that time, He had an Excel Maven Boss; Nilton Teti, one of
those old-time-Excel-geniuses who makes precious models, uses just the
keyboard and hates BI corporate packages. His almost religious fervor
for Excel, and his amazing knowledge, was the source of Johns great
interest in Spreadsheets.
During all these years John really experienced the professional benefits of
using Excel to accomplish his duties; he says to you that: being skilled
in Excel gives you a tremendous advantage at the office and in
your career!
Having always been very entrepreneurial in his nature, he quit his job at
Norberto Odebrecht in order to devote his full passion and knowledge of
advanced Excel methods to others around the world who can benefit from
it.
His first entrepreneurial initiative is the site
www.Excel-Spreadsheet-Authors.com; a blog dedicated to Mid/Advanced
Excel users so they can polish their skills to reach higher productivity and
clarity.
www.Excel-Spreadsheet-Authors.com
17 | P a g e