Charting a continuous trend line with repeating x axis data

211

New Member
Joined
Dec 3, 2005
Messages
24
I'm trying to build a spreadsheet which charts annual snowfall of a particular ski resort and displays a graph showing the x values as days of the month (spanning a 6 month season), and the Y values as inches.
Problem I'm having is because the days of the month repeat (1-30, 1-31, 1-29, etc) excel wants to stack the graphs instead of create one long trendline which spans the whole 6 month season.
I want the x value data to show up as the day of the month but the only way I can create a single continuous line is to make the x values not repeat (IE 1-30, 31-60, 61-90, etc). I also want to be able to be able to correlate the series of days with the name of the month, something like:

1-30 1-31 1-31
Nov. Dec. Jan.


I feel like I need separate "dummy" x values; say 1-180 (in order to create the uninterrupted line) but have it reference and display the desired values of 1-30,1-31,1-31.
I don't know if this is correct or perhaps I'm going about this all wrong.

Which is why come seeking assistance :)

Hope what I described is not confusing...
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
I think I figured it out. I just reformatted my Day of the Month column to actual DATE format instead of general number. So instead of my x values being 1,2,3,4,5...31 etc it's 11/1/2009, 11/2/2009, 11/3/2009...11/31/2009

...duh

This creates a very simple graph, but gets the job done.
I'm open to other suggestions if someone has a way to make this graph fancier or more dynamic. Pivot table chart maybe? I'm not too familiar w/ pivot tables myself...
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,935
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top