Hi,
How can you calculate the weighted average using a query. The weighted average should be calculated from table Dataentry, Field name "Amount", weighted by the FIrate in the same table, and than sum("amount"). --- in MS excel the formula is roughly Sumproduct( column A,Column B)/ sum(column A). Hipotetically, Column A= Amount, Column B= FIrate.
Ofoucrse I must perform this in MS Access.
Additional selection from table should be last 5 records, Using the "Dop" named column in the same table .
Help needed, please??!
How can you calculate the weighted average using a query. The weighted average should be calculated from table Dataentry, Field name "Amount", weighted by the FIrate in the same table, and than sum("amount"). --- in MS excel the formula is roughly Sumproduct( column A,Column B)/ sum(column A). Hipotetically, Column A= Amount, Column B= FIrate.
Ofoucrse I must perform this in MS Access.
Additional selection from table should be last 5 records, Using the "Dop" named column in the same table .
Help needed, please??!