Charting New Territory

dwhims

Board Regular
Joined
Sep 10, 2003
Messages
155
I love projects like this for a Friday afternoon! (and of course, the big guy needs it first thing Monday morning!)

I am trying to create a graph showing (almost) daily data from 2/14/1990 through 9/30/2001, meaning I have over 3000 lines of data to chart.

I'm getting my line to chart nicely, but I'm having problems with my data labels. My ideal would be to show the beginning date, then every 12/31 date, and my ending date.

How can I tell Excel what I want and get it to respond nicely?
 

Some videos you may like

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

AlohaJulio

Board Regular
Joined
Feb 10, 2004
Messages
188
Try this: If the dates are in column A, insert a new column - B. In B put the formula
=IF(B16=EOMONTH(B16,0),B16,"") this will only show the last day of the month.
Make your chart with Column B as you X axis, go to chart options, on the Axes tab, choose time scale and click OK.
Double click on the X axis, go to the Scale tab and set major unit to 1 month.

That should do the trick.

EDIT: Sorry, didn't read closely the first time. The above will give you a label for the last day of each month.
Try this formula:
=IF(B16=EOMONTH(B16,12-MONTH(B16)),B16,"")
 

Watch MrExcel Video

Forum statistics

Threads
1,127,560
Messages
5,625,507
Members
416,115
Latest member
Gonzo5711

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
Top