This is a very simple trick but seems many not aware of it. Let say we need a chart for daily production out put and the data is updated every day.
Lets add (insert) a bar chart.
Select the data
Insert chart
The chart looks like,
Now need to add some titles for horizontal and vertical axis.
Select "DESIGN" from menu → select "Add Chart Element" → select "Axis Titles" → select "Primary Horizontal"
Do the above for "Primary Vertical" also.
The chart will look like,
Now change the "Axis Title".
Click on the Horizontal "Axis Title" and in the "Formula Bar" type =Sheet1!$B$5.
For vertical axis title type =Sheet1!$C$5.
Now the chart looks like,
Now, Chart title need to be changed to "Output report for 25 January 2014" and if the data changed to another date the chart title to be changed accordingly. This is where we need a bit more complicated formula.
In a cell (E1) key in the following formula
=CONCATENATE("Output Report for ",(CONCATENATE(DAY($C$3)," ",TEXT($C$3,"mmmm")," ",YEAR($C$3))))
(CONCATENATE(DAY($C$3)," ",TEXT($C$3,"mmmm")," ",YEAR($C$3)))) = 25 January 2014
Please pay attention to the month "TEXT($C$3,"mmmm")" formula.
Then click on the chat title and key in =Sheet1!$E$1 in the formula bar.
Now the chart will look like,
Now if the data changed to 1 March 2014, the chart will be changed automatically,
Please leave your comments, thanks.
Is this for excel 2013 oder some mac version? Cause im using excel 2010 and the guide i used till now ( http://www.excel-aid.com/excel-chart-label-adding-removing-positioning-chart-labels.html ) looks different to yours, but doesnt describe how to adjust the date automatically. And thats a function that i would really like to have, but i dont know if its even in excel 2010? Sorry, im pretty new to excel, so i dont know alot about it (yet).
ReplyDeleteAs far as I know this works Excel 2010 and 2013 for windows.
ReplyDeleteNice information
ReplyDelete