M
mharvey
I need to create a calculation in either a query or a
report that will give me a weighted average. Let' say I
have 5 items and each item has a dollar amount and a
volume of items per package, and I want to know the
average price per item. In Excel, the dollar amount is in
column a and the item count is in column b. The
calculation would be =sumproduct(a1:a5,b1:b5)/sum(B1:B5)
this would give me the average of the cost in cells
a1,a2,a3,a4 and a5 weighted against the values in cells
b1, b2, b3, b4 and b5. I just don't know how to do that
within an Access query or within a cell on an access
summary report. I have the table that includes the values
in column A and column B within each record. Can someone
help me?
report that will give me a weighted average. Let' say I
have 5 items and each item has a dollar amount and a
volume of items per package, and I want to know the
average price per item. In Excel, the dollar amount is in
column a and the item count is in column b. The
calculation would be =sumproduct(a1:a5,b1:b5)/sum(B1:B5)
this would give me the average of the cost in cells
a1,a2,a3,a4 and a5 weighted against the values in cells
b1, b2, b3, b4 and b5. I just don't know how to do that
within an Access query or within a cell on an access
summary report. I have the table that includes the values
in column A and column B within each record. Can someone
help me?