Weighted Average with Two Weighting Criteria

NYMerc

New Member
Joined
Dec 28, 2016
Messages
3
Thanks for your help in advance...

I have to figure out pricing, using a weighted average. But I have two Weighting Criteria. Dates & Distance (Fractions of a Mile).

Date of SaleDistancePricing
11/6/20170.12654.36
7/11/20180.21765.31
12/19/20170.32695.58
8/9/20180.53858.16
8/9/20180.53777.70
4/25/20180.57809.44
8/29/20180.58942.01
11/28/20170.61736.94
2/15/20180.63930.54
9/26/20180.76722.15
1/24/20180.9759.44

<colgroup><col><col><col></colgroup><tbody>
</tbody>

How would I accomplish this - I tried using the Sumproduct over Sum method, but I think I am doing it wrong...
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
NYMerc,

I do not get the logic of using the date as a weight.

Anyways, if you use the serial number of the date, an array formula will find the value:

=SUM(A2:A12*B2:B12*C2:C12)/SUM(A2:A12*B2:B12)

I assumed 11/6/2017 is in the cell A2.. and so on.

Copy and paste the above formula in any empty cell, after you must hit Ctrl Alt Enter simultaneusly, then the formula will show as

{=SUM(A2:A12*B2:B12*C2:C12)/SUM(A2:A12*B2:B12)} the result is 799.48.

It will not work if the {} are manually entered. If you press only Enter, you will get #Value !

I hope it helps!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,565
Messages
6,114,338
Members
448,569
Latest member
Honeymonster123

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