M
Martin
I have an excel spreadsheet for charting share prices of the FTSE 100.
The first worksheet stores closing prices of all the FTSE 100 shares
from May last year. Each day I paste & copy the closing prices into
this sheet.
Sheet 2 consists of a pivot table that resorts the data from sheet 1
with Company names listed along the top of the worksheet as column
headings and dates listed down the left hand side of the sheet. So,
with every new days closing prices a new row gets added to the bottom
of the pivot table.
Next, I have a sheet for each Company that lists the latest 70 dates
and their associated closing prices. The date information is imported
into each sheet by way of the following formula:
=VLOOKUP(MAX(OFFSET(HistoricData!$A$1,1,0,COUNTA(HistoricData!$A:$A)-1,1)),HistoricDate,1,FALSE)
Where 'HistoricData' is a name space that represents the pivot table
data containing the closing prices summary.
The data in each worksheet for each Company updates perfectly.
I have then created a line graph in each worksheet to show the
movement of the closing prices over time. The line graph updates
correctly upon each day's addition of closing prices, apart from the
dates on the X axis which seem to stubbornly stay at their original
values. This is also the case when you hover the mouse over a point on
the line graph - it displays the correct closing price as per the data
in the sheet but the incorrect date.
I have tried setting the X axis property set to Automatic and Category
in the Chart options but all this does is change the scale of the X
axis not the date values displayed.
Can anyone help me with this problem?
The first worksheet stores closing prices of all the FTSE 100 shares
from May last year. Each day I paste & copy the closing prices into
this sheet.
Sheet 2 consists of a pivot table that resorts the data from sheet 1
with Company names listed along the top of the worksheet as column
headings and dates listed down the left hand side of the sheet. So,
with every new days closing prices a new row gets added to the bottom
of the pivot table.
Next, I have a sheet for each Company that lists the latest 70 dates
and their associated closing prices. The date information is imported
into each sheet by way of the following formula:
=VLOOKUP(MAX(OFFSET(HistoricData!$A$1,1,0,COUNTA(HistoricData!$A:$A)-1,1)),HistoricDate,1,FALSE)
Where 'HistoricData' is a name space that represents the pivot table
data containing the closing prices summary.
The data in each worksheet for each Company updates perfectly.
I have then created a line graph in each worksheet to show the
movement of the closing prices over time. The line graph updates
correctly upon each day's addition of closing prices, apart from the
dates on the X axis which seem to stubbornly stay at their original
values. This is also the case when you hover the mouse over a point on
the line graph - it displays the correct closing price as per the data
in the sheet but the incorrect date.
I have tried setting the X axis property set to Automatic and Category
in the Chart options but all this does is change the scale of the X
axis not the date values displayed.
Can anyone help me with this problem?