Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
7/1/2016 8:17:37 PM EDT
Google can't help me on this one...

I have a chart in Excel (2010), simple line graph, x axis is date.

How can I have it so the x axis is only the dates I input (have data for)?

At the moment it is adding dates between my data points, I don't want it to do that, I want it to only plot the graph according to the dates I put in- even if they are not evenly spaced (ie I get the data about once a week- but it may not be on the same day of the week).
7/1/2016 8:34:27 PM EDT
[#1]
Sorry wish I could help you yet I can never get charts to do anything I want them to in Excel. Also I prefer just the numbers and setup conditions that change the color of the cell for good or bad.
7/2/2016 12:10:31 AM EDT
[#2]
If you still want to keep the placeholders, I believe you may be able to force the cell to not show with the na() function.

In other words, a "place" will still be there on the chart, but no date.
7/6/2016 7:27:22 AM EDT
[#3]
With the Axis selected, go the "Format Axis" section and under Axis Options, select "Text Axis" under "Axis Type"
7/6/2016 7:42:41 AM EDT
[#4]
Just so I understand, you want it to look like this?  



I collect data for every working day from different departments and compile it; so I don't count weekends or holidays.  If this is what you're looking for shoot me a message and I will send you a template for it.
7/8/2016 1:55:51 PM EDT
[#5]
How much leeway do you have with the data?









1. transform the date field to a text field:




= MONTH( C6 ) & "-" & DAY( C6 ) & "-" & YEAR( C6 )




2. choose chart type "Line", not "XY"






edit:


even easier way, thanks ncoday.


(It isn't under format axis for me. I'm on Excel 2003 at home. Method may be different for 2007 and up, but you should be able to find it somewhere.)







go to chart options --> Axes --> choose categorical instead of auto