Very tough weighted average/logic problem

hfler

Board Regular
Joined
Jun 10, 2008
Messages
95
I'm trying to come up with a weighted average formula for commodity futures curves. The end goal is to produce a confidence band for where future commodity prices will be. If I simply use a formula that rolls off each futures contract at expiry, the confidence band looks jagged on a graph, because the futures curve has some curvature. My plan is to come up with a formula that weights each month's futures curve price more strongly as the time series gets nearer to that month, which should smooth out the bands. But I'm having trouble doing this (using match function) - the biggest problem is figuring out how to have the weight of the weights increase as the time series gets nearer to that month's contract.

Any suggestions would be much appreciated. If what I've written here is unclear, please contact me for more clarification. Thanks for your time.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,215,372
Messages
6,124,532
Members
449,169
Latest member
mm424

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