SumProduct

Manny74

Board Regular
Joined
May 6, 2016
Messages
124
Office Version
  1. 365
  2. 2016
Platform
  1. Windows


How would I use a Sumproduct to calculate V7, W7, X7 &Z7? (For April)

I was able to use the Sumproduct for Jan, Feb, March, but am having trouble including April...


V
W
X
Y
Z
Jan
Feb
Mar
Q1
Apr
7
57.60%
73.90%
74.70%
69.51%
71.40%
8
22
23
31
76
29
<tbody> </tbody>


Here is the formula I created for Jan thru March:


=SUMPRODUCT($V$7:X7,$V$8:X8)/SUM($V$8:X8)


= 69.51





 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Why not put April in column Y and move the Q1 result to column Z? You'd then have SUMPRODUCT($V$7:Y7,$V$8:Y8)/SUM($V$8:Y8)
 
Upvote 0
Because I have to have 4 quarters in my report.

Plus I have several other rows with data which also require (contains) quarterly data....

If I move all 4 quarters to the end of the report, then I'd have to change the formulas on another long report, which is pulling data using HLookup.....
 
Upvote 0
Hi,

Assuming you have Headers in Row 6, or at least for Y6 showing Q1 as in your sample, does this give you what you want:


Book1
VWXYZAA
6Q1Apr
757.60%73.90%74.70%69.51%71.40%
822233176290.700305
Sheet457
Cell Formulas
RangeFormula
AA8=SUMPRODUCT((V6:Z6<>"Q1")*(V7:Z7)*V8:Z8)/SUMIF(V6:Z6,"<>Q1",V8:Z8)
 
Upvote 0
Wow, that's cool, thanks!
So would I still use "Q1" in the Sumproduct formula?
Since I would only be obtaining data from row 7 and 8....


V W X Y Z
6 Jan Feb Mar Q1 Apr
7 57.60% 73.90% 74.70% 69.51% 71.40%
8 22 23 31 76 29
 
Upvote 0
Yes, as you described above, you would use my formula "as-is".
 
Upvote 0
When I use that formula, I get 0.700305, so I converted it to a percentage ands it's 70.03?
 
Upvote 0
Are you saying that's Not the result you're looking for ?

Since you didn't explain the logic you're using,
My formula is based Strictly on you sample in OP (based on your current formula in Post # 1, but adding Column Z and excluding Column Y - "Q1")

So what's the Expected/Correct answer ? With explanation please.
 
Upvote 0
Sorry for not explaining...So I am trying to track scores....scores as a percent then the number of surveys for each of my users.

So quarterly, I can add up the number of surveys (row 8), but I am trying to figure out how to add percentages.

Besides using averages, I was told to use Sumproduct in my formula.....We use Sumproduct here but no one can show me or explain how..

So my data looks like this.....but again not sure how to use Sumproduct to add up percentages each month?



VWXYZAAABACADAEAFAGAHAIAJAK
ROW 3
JANFEBMARQ1APRMAYJUNEQ2JULYAUGSEPTQ3OCTNOVDECQ4
ROW 7
57.60%73.90%74.70% 71.40%68.80%75.00% 75.80%54.50%83.30% 59.60%72.70%90.50%
ROW 8
2223+22=4531+45=767629+76=10531+105=13638+136=17417422+174=19611+196=20712+207=21921919+219=23811+238=2497+249=25637+256=293
<colgroup><col width="259" style="width: 194pt; mso-width-source: userset; mso-width-alt: 9472;"> <col width="64" style="width: 48pt;"> <col width="107" style="width: 80pt; mso-width-source: userset; mso-width-alt: 3913;"> <col width="64" style="width: 48pt;" span="2"> <col width="70" style="width: 53pt; mso-width-source: userset; mso-width-alt: 2560;"> <col width="77" style="width: 58pt; mso-width-source: userset; mso-width-alt: 2816;" span="2"> <col width="64" style="width: 48pt;"> <col width="77" style="width: 58pt; mso-width-source: userset; mso-width-alt: 2816;" span="3"> <col width="64" style="width: 48pt;"> <col width="77" style="width: 58pt; mso-width-source: userset; mso-width-alt: 2816;" span="2"> <col width="70" style="width: 53pt; mso-width-source: userset; mso-width-alt: 2560;"> <col width="77" style="width: 58pt; mso-width-source: userset; mso-width-alt: 2816;"> <tbody> </tbody>
 
Upvote 0
So you haven't explained, what's the relationship between the % in row 7 and the numbers in row 8?
The % in row 7 is in relation to what, how is it calculated?
What are the expected/correct results for each month? ( Jan, Feb, Mar, Apr, May, etc. )
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,293
Members
449,077
Latest member
Rkmenon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top