K
Kym
I am looking for a method to use sumproduct on multiple
cells accross a series of columns, BUT I only want to do
the calculation if the column meets a criterea.
For instance, in the following example, I want to
sumproduct that multiplies row 2 and 3, provided the
criterea in row 1 meets my requirement. If I set the
required criterea as "S", then I want the result to be
(B2*B3) + (D2*D3). Similarly, if my criterea is "P",
then the result should be (C2*C3)+(E2*E3)
A B C D E
1 S P S P
2 Tonnes 1000 50 1000 50
3 Grade 10 7 10 7
Any help would be appreciated
cells accross a series of columns, BUT I only want to do
the calculation if the column meets a criterea.
For instance, in the following example, I want to
sumproduct that multiplies row 2 and 3, provided the
criterea in row 1 meets my requirement. If I set the
required criterea as "S", then I want the result to be
(B2*B3) + (D2*D3). Similarly, if my criterea is "P",
then the result should be (C2*C3)+(E2*E3)
A B C D E
1 S P S P
2 Tonnes 1000 50 1000 50
3 Grade 10 7 10 7
Any help would be appreciated