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?
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
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,"")
 
Upvote 0

Forum statistics

Threads
1,214,648
Messages
6,120,725
Members
448,987
Latest member
marion_davis

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