A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

vertical line in graph



 
 
Thread Tools Display Modes
  #1  
Old August 15th, 2004, 06:33 PM
Jack Sons
external usenet poster
 
Posts: n/a
Default vertical line in graph

Hi all,

I have data, let's say

weeknumber cars sold in 2003 (cumulative) cars sold in 2004
(cumulative)
1 0
0
2 2
2
3 3
5
4 6
9
5 10
13
6 12
17
7 16
22
8 19
28
9 21
10 25
11 29
12 33
etc. etc.

This will give a nice graph (line graph, first sub type, so a "normal" line
graph, weeknumbers along the x-axis, cars sold along the y-axis).
Suppose we are now in week 8. This year so far sold 28 cars (don't know if
it is a lousy performance compared to USA standards for car salesmen, this
is just an example).
Now I want in my graph automatically a vertical line originating in the
point on the x-axis that corresponds with this week (8 in this example), so
next week it will automatically shift one place to the right (to 9).
I tried to make that line by adding to the graph a set of data like this

=weeknum(today())+0.001 0
=weeknum(today())+0.002 1
=weeknum(today())+0.003 2
=weeknum(today())+0.004 3
=weeknum(today())+0.005 4
=weeknum(today())+0.006 5
=weeknum(today())+0.007 6
etc. etc.


This line should look vertical, but whatever I do, I always get sloped lines
or a horizontal line that intersects the y-axis at the point that
corresponds with the current weeknumber, so in my above example I get a
horizontal line through y=8 in stead of a vertical one through x=8.

I have the feeling that my whole set up (the =weeknum(today())+0.001
contraption) is stupid anyhow.

Your help will be very much appreciated.

Jack Sons
The Netherlands


  #2  
Old August 15th, 2004, 06:39 PM
Debra Dalgleish
external usenet poster
 
Posts: n/a
Default

Jon Peltier has instructions for adding vertical lines to a chart:

http://www.peltiertech.com/Excel/Cha...s.html#AddLine

Jack Sons wrote:
Hi all,

I have data, let's say

weeknumber cars sold in 2003 (cumulative) cars sold in 2004
(cumulative)
1 0
0
2 2
2
3 3
5
4 6
9
5 10
13
6 12
17
7 16
22
8 19
28
9 21
10 25
11 29
12 33
etc. etc.

This will give a nice graph (line graph, first sub type, so a "normal" line
graph, weeknumbers along the x-axis, cars sold along the y-axis).
Suppose we are now in week 8. This year so far sold 28 cars (don't know if
it is a lousy performance compared to USA standards for car salesmen, this
is just an example).
Now I want in my graph automatically a vertical line originating in the
point on the x-axis that corresponds with this week (8 in this example), so
next week it will automatically shift one place to the right (to 9).
I tried to make that line by adding to the graph a set of data like this

=weeknum(today())+0.001 0
=weeknum(today())+0.002 1
=weeknum(today())+0.003 2
=weeknum(today())+0.004 3
=weeknum(today())+0.005 4
=weeknum(today())+0.006 5
=weeknum(today())+0.007 6
etc. etc.


This line should look vertical, but whatever I do, I always get sloped lines
or a horizontal line that intersects the y-axis at the point that
corresponds with the current weeknumber, so in my above example I get a
horizontal line through y=8 in stead of a vertical one through x=8.

I have the feeling that my whole set up (the =weeknum(today())+0.001
contraption) is stupid anyhow.

Your help will be very much appreciated.

Jack Sons
The Netherlands




--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[URGENT] Line Graph jamesjustinaaron General Discussion 1 July 28th, 2004 07:24 PM
The line in a line graph Andy Pope Charts and Charting 1 June 8th, 2004 10:32 PM
help with line graph darci Charts and Charting 1 February 22nd, 2004 12:52 PM
Line graph along a single axis conaghan Charts and Charting 1 November 29th, 2003 09:05 PM
How to use (and move) a vertical line as a cursor in x-y plot Rick Jones Charts and Charting 1 November 3rd, 2003 05:52 PM


All times are GMT +1. The time now is 01:18 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.