Grand total sum of formula

D

Dan K

I had created a formula of (column 1) * (column 2) and the results are
correct. The problem that I am having is that the grand total does not sum
the results. The grand total takes the (sum of colum 1 * the sum of column 2)

Is there a way to sum the formula total in the pivot table?
 
M

Mike H

Dan,

I'm not sure I understand this but maybe your using something like

=SUM(A1:A40)*SUM(B1:B40)

and what you should be using is

=SUMPRODUCT(A1:A40*B1:B40)

Mike
 
J

John C

Assuming your data is in A2:A10 and B2:B10...

Grand Total would be equal to:
=SUMPRODUCT(($A$2:$A$10)*($B$2:$B$10))

Hope this helps.
 
D

Dan K

Currently the Pivot table is doing that and I do not wat that

example:

item Qty Price Formula
x 10 5 50.00
y 5 10 50.00
z 1 50 50.00
GrdT 16 65 1040.00 <-- Currently shown in pivot table
GrdT 16 65 150.00 <-- This is what I want

Hope that helps
 
F

F.G.

Currently the Pivot table is doing that and I do not wat that

example:

item Qty Price Formula
x        10   5       50.00
y         5    10     50.00
z         1    50     50.00
GrdT   16   65     1040.00 <-- Currently shown in pivot table
GrdT   16   65     150.00  <-- This is what I want

Hope that helps  






- Show quoted text -

Just add a sum on the C column that will always show the grand total
of all lines.
The total unit price is not accurate because you are selling different
products with different prices so I don’t see how this would apply?
I mean if you go the the supermarket and you buy 32 different products
with different prices there is not going to be a total unit price.

FG
 
F

F.G.

Just add a sum on the C column that will always show the grand total
of all lines.
The total unit price is not accurate because you are selling different
products with different prices so I don’t see how this would apply?
I mean if you go the the supermarket and you buy 32 different products
with different prices there is not going to be a total unit price.

FG- Hide quoted text -

- Show quoted text -

I meant D column instead of C sorry.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top