Dear all,
If in a spreadsheet you have years 1985, 1986, 1987, 1988, 1989, 1990,
2050 with associated data for each year, how do you produce a line
graph of this without 2050 being positioned at the same interval on the
x-axis as the difference between the other years? To clarify, because
the difference between 2050 and 1990 is greater than the difference
between the previous years (all 1), how do get Excel to represent this
on the x-axis of a line graph?
Thanks for your help,
Steve--
smurray444
------------------------------------------------------------------------
smurray444's Profile: www.excelforum.com/member.php...oamp;userid=28956
View this thread: www.excelforum.com/showthread...hreadid=509485Steve -
There are two ways, both involving the use of a time scale axis.
Method 1. In the worksheet, change the years to dates like the first of each
year, or 1/1/1985, 1/1/1986. Then recreate the chart. Excel is likely to
generate a time-scale axis without human intervention, and the spaces
between points will reflect the years between points. If Excel still doesn't
make a time scale axis, choose Chart Options from the Chart menu, and on the
Axes tab, under Category X Axis select the Time-Scale option.
Method 2. Leave the years as they are. Change to a time-scale axis: choose
Chart Options from the Chart menu, and on the Axes tab, under Category X
Axis select the Time-Scale option. Excel converts the years to a date, but
it's based on the number of days since 1/1/1900 (and 1985, for example,
reads like 6/7/1905). Double click the axis, and on the Number tab, change
the number format to General.
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
PeltierTech.com/
_______
quot;smurray444quot; gt; wrote
in message ...
gt;
gt; Dear all,
gt;
gt; If in a spreadsheet you have years 1985, 1986, 1987, 1988, 1989, 1990,
gt; 2050 with associated data for each year, how do you produce a line
gt; graph of this without 2050 being positioned at the same interval on the
gt; x-axis as the difference between the other years? To clarify, because
gt; the difference between 2050 and 1990 is greater than the difference
gt; between the previous years (all 1), how do get Excel to represent this
gt; on the x-axis of a line graph?
gt;
gt; Thanks for your help,
gt; Steve
gt;
gt;
gt; --
gt; smurray444
- Oct 18 Sat 2008 20:47
An uneven time-increment
close
全站熱搜
留言列表
發表留言