lemondifficult
New Member
- Joined
- Mar 19, 2014
- Messages
- 40
Hi,
I work in the energy industry and my role involves tracking wholesale energy prices. Every day, I obtain the previous working day's closing prices for wholesale gas and electricity prices that are broken down on a monthly delivery basis (as they would be for oil prices), of which I have provided a screenshot below
However the market doesn't really trade individual months after a certain point ahead in time, with energy trading in quarterly or seasonal blocks as per below
Q1 2017 = Jan 17 to Mar 17
Q2 2017 = Apr 17 to Jun 17 and so on.
Sum17 = Apr 17 to Sep 17
Win17 = Oct 17 to Mar 18 and so on.
At present, on the same sheet I have lots of additional columns to cover all the available quarters and seasons, with simple AVERAGE formulas to cover the relevant 3 or 6 months for that period that I manually need to add when I include new periods. Ideally I would like to leave these "INPUT - " sheets to just store the monthly prices, and then in a separate sheet have the quarters and seasons pre-defined across the top row, but automatically populate the cells in the column with the average of the monthly prices for that period.
I would need the cells to be left blank if there is no data on that date for even just one of the months included in the period that needs to averaged (i.e for Q1 2017, if there is no data for Jan 17, Feb 17 or Mar 17 then the cell should remain blank).
Is anyone able to provide some assistance with this? I have uploaded a workbook with the data in its monthly format on one sheet, and a second sheet laying out how the data needs to be output at this link - http://s000.tinyupload.com/?file_id=06114884213139691317
I would also need it to be fairly easy to add additional Quarter and Seasons to the output sheet and still have the data populate automatically.
I realise some people may say this type of thing would best be done in Access, however that isnt going to be an option in the short-medium term, so at the minute i need to try and find an Excel fix!
Any help people can provide would be much appreciated. Thanks in advance.
Micheal
I work in the energy industry and my role involves tracking wholesale energy prices. Every day, I obtain the previous working day's closing prices for wholesale gas and electricity prices that are broken down on a monthly delivery basis (as they would be for oil prices), of which I have provided a screenshot below

However the market doesn't really trade individual months after a certain point ahead in time, with energy trading in quarterly or seasonal blocks as per below
Q1 2017 = Jan 17 to Mar 17
Q2 2017 = Apr 17 to Jun 17 and so on.
Sum17 = Apr 17 to Sep 17
Win17 = Oct 17 to Mar 18 and so on.
At present, on the same sheet I have lots of additional columns to cover all the available quarters and seasons, with simple AVERAGE formulas to cover the relevant 3 or 6 months for that period that I manually need to add when I include new periods. Ideally I would like to leave these "INPUT - " sheets to just store the monthly prices, and then in a separate sheet have the quarters and seasons pre-defined across the top row, but automatically populate the cells in the column with the average of the monthly prices for that period.
I would need the cells to be left blank if there is no data on that date for even just one of the months included in the period that needs to averaged (i.e for Q1 2017, if there is no data for Jan 17, Feb 17 or Mar 17 then the cell should remain blank).
Is anyone able to provide some assistance with this? I have uploaded a workbook with the data in its monthly format on one sheet, and a second sheet laying out how the data needs to be output at this link - http://s000.tinyupload.com/?file_id=06114884213139691317
I would also need it to be fairly easy to add additional Quarter and Seasons to the output sheet and still have the data populate automatically.
I realise some people may say this type of thing would best be done in Access, however that isnt going to be an option in the short-medium term, so at the minute i need to try and find an Excel fix!
Any help people can provide would be much appreciated. Thanks in advance.
Micheal