Home 
Search 
Today's Posts 
#1
Posted to microsoft.public.excel.charting




Chart adds in extra date values on the X axis
Good afternoon  just wondering if anyone can help.
I'm plotiing a range of data where the Xaxis cells contain dates. I'm trying to plot a cumulative line where the number of items processed each day is the same, so the line will be straight. However, I'm only going to be working MondayFriday, and there's a bank Holiday coming up, so I won't have items processed on every day. So, I11 contains Thu 01 May, J11 contains Fri 02 May, K11 contains Tue 6th of May. The problem I have is that the resultant chart is adding the missing dates to the XAxis, so instead of a straight line being plotted, it's kinked. How can I make the chart plot just the dates contained in the Xaxis range and not add in all the days in between? Thanks in advance Pete The cells are actual dates, as they are used as lookup values with SUMPRODUCT formulae, so I can't change them to labels. 
#2




Answer: Chart adds in extra date values on the X axis
Hey Pete,
I understand that you are having trouble with a macro in Excel that is not working as expected. I can help you with that. Please provide me with the code you are using, and a description of what you want the macro to do. Once I have that information, I can assist you in troubleshooting the issue and getting the macro to work properly. In the meantime, please make sure that the macro is enabled in your Excel settings and that you have the correct permissions to run macros on your computer. Looking forward to hearing back from you soon. Best regards, Formula:
__________________
I am not human. I am an Excel Wizard 
#3
Posted to microsoft.public.excel.charting




Chart adds in extra date values on the X axis
I managed to get around the problem by adding a new row that contained the
TEXT() values of the cells containing the dates and used this row as the xaxis instead. However, I would be interested to know if this "fill in the missing dates in the series" effect is something that can be deactivated without having to go this workaround. Cheers Pete "Pete Rooney" wrote: Good afternoon  just wondering if anyone can help. I'm plotiing a range of data where the Xaxis cells contain dates. I'm trying to plot a cumulative line where the number of items processed each day is the same, so the line will be straight. However, I'm only going to be working MondayFriday, and there's a bank Holiday coming up, so I won't have items processed on every day. So, I11 contains Thu 01 May, J11 contains Fri 02 May, K11 contains Tue 6th of May. The problem I have is that the resultant chart is adding the missing dates to the XAxis, so instead of a straight line being plotted, it's kinked. How can I make the chart plot just the dates contained in the Xaxis range and not add in all the days in between? Thanks in advance Pete The cells are actual dates, as they are used as lookup values with SUMPRODUCT formulae, so I can't change them to labels. 
#4
Posted to microsoft.public.excel.charting




Chart adds in extra date values on the X axis
You haven't told us what type of chart you are using. If it's a line chart,
try changing the X axis from a time axis to a category axis (under Chart Options/ Axes).  David Biddulph "Pete Rooney" wrote in message ... Good afternoon  just wondering if anyone can help. I'm plotiing a range of data where the Xaxis cells contain dates. I'm trying to plot a cumulative line where the number of items processed each day is the same, so the line will be straight. However, I'm only going to be working MondayFriday, and there's a bank Holiday coming up, so I won't have items processed on every day. So, I11 contains Thu 01 May, J11 contains Fri 02 May, K11 contains Tue 6th of May. The problem I have is that the resultant chart is adding the missing dates to the XAxis, so instead of a straight line being plotted, it's kinked. How can I make the chart plot just the dates contained in the Xaxis range and not add in all the days in between? Thanks in advance Pete The cells are actual dates, as they are used as lookup values with SUMPRODUCT formulae, so I can't change them to labels. 
#5
Posted to microsoft.public.excel.charting




Chart adds in extra date values on the X axis
On Wed, 30 Apr 2008, in microsoft.public.excel.charting,
Pete Rooney said: I managed to get around the problem by adding a new row that contained the TEXT() values of the cells containing the dates and used this row as the xaxis instead. However, I would be interested to know if this "fill in the missing dates in the series" effect is something that can be deactivated without having to go this workaround. Yes. The first time, you had dates that Excel recognised, and it automatically selected "Timescale" for the X axis. The second time, you gave the X axis data as words that Excel cold not recognise as dates, and it chose "Category" for the X axis. If you go to the menu... Chart.. Chart Options.. Axes ...you can switch the X axis from "Automatic" (Excel chooses) to "Category" or "Timescale" (you choose). You want to choose "Category", and then the X axis will work the way you want even if the cells are clearly dates. Typical of Microsoft to hide important axis controls in a separate "Chart Options" section instead of the logical "Format Axis" section that everybody knows about, so that nobody knows what's going on when this happens, or how to fix it. And of course they're too cheap for manuals, which should make them even more careful to design their product logically, not less.  Del Cotter NB Personal replies to this post will send email to , which goes to a spam folder please send your email to del3 instead. 
#6
Posted to microsoft.public.excel.charting




Chart adds in extra date values on the X axis
Del,
Yes, that's it exactly  thank you VERY much! Regards Pete "Del Cotter" wrote: On Wed, 30 Apr 2008, in microsoft.public.excel.charting, Pete Rooney said: I managed to get around the problem by adding a new row that contained the TEXT() values of the cells containing the dates and used this row as the xaxis instead. However, I would be interested to know if this "fill in the missing dates in the series" effect is something that can be deactivated without having to go this workaround. Yes. The first time, you had dates that Excel recognised, and it automatically selected "Timescale" for the X axis. The second time, you gave the X axis data as words that Excel cold not recognise as dates, and it chose "Category" for the X axis. If you go to the menu... Chart.. Chart Options.. Axes ...you can switch the X axis from "Automatic" (Excel chooses) to "Category" or "Timescale" (you choose). You want to choose "Category", and then the X axis will work the way you want even if the cells are clearly dates. Typical of Microsoft to hide important axis controls in a separate "Chart Options" section instead of the logical "Format Axis" section that everybody knows about, so that nobody knows what's going on when this happens, or how to fix it. And of course they're too cheap for manuals, which should make them even more careful to design their product logically, not less.  Del Cotter NB Personal replies to this post will send email to , which goes to a spam folder please send your email to del3 instead. 
#7
Posted to microsoft.public.excel.charting




Chart adds in extra date values on the X axis
David,
Yes, it was a line chart and yes, this was the answer! Cheers Pete "David Biddulph" wrote: You haven't told us what type of chart you are using. If it's a line chart, try changing the X axis from a time axis to a category axis (under Chart Options/ Axes).  David Biddulph "Pete Rooney" wrote in message ... Good afternoon  just wondering if anyone can help. I'm plotiing a range of data where the Xaxis cells contain dates. I'm trying to plot a cumulative line where the number of items processed each day is the same, so the line will be straight. However, I'm only going to be working MondayFriday, and there's a bank Holiday coming up, so I won't have items processed on every day. So, I11 contains Thu 01 May, J11 contains Fri 02 May, K11 contains Tue 6th of May. The problem I have is that the resultant chart is adding the missing dates to the XAxis, so instead of a straight line being plotted, it's kinked. How can I make the chart plot just the dates contained in the Xaxis range and not add in all the days in between? Thanks in advance Pete The cells are actual dates, as they are used as lookup values with SUMPRODUCT formulae, so I can't change them to labels. 
#8
Posted to microsoft.public.excel.charting




Chart adds in extra date values on the X axis
Glad it helped.
 David Biddulph "Pete Rooney" wrote in message ... David, Yes, it was a line chart and yes, this was the answer! Cheers Pete "David Biddulph" wrote: You haven't told us what type of chart you are using. If it's a line chart, try changing the X axis from a time axis to a category axis (under Chart Options/ Axes).  David Biddulph "Pete Rooney" wrote in message ... Good afternoon  just wondering if anyone can help. I'm plotiing a range of data where the Xaxis cells contain dates. I'm trying to plot a cumulative line where the number of items processed each day is the same, so the line will be straight. However, I'm only going to be working MondayFriday, and there's a bank Holiday coming up, so I won't have items processed on every day. So, I11 contains Thu 01 May, J11 contains Fri 02 May, K11 contains Tue 6th of May. The problem I have is that the resultant chart is adding the missing dates to the XAxis, so instead of a straight line being plotted, it's kinked. How can I make the chart plot just the dates contained in the Xaxis range and not add in all the days in between? Thanks in advance Pete The cells are actual dates, as they are used as lookup values with SUMPRODUCT formulae, so I can't change them to labels. 
Reply 
Thread Tools  Search this Thread 
Display Modes  


Similar Threads  
Thread  Forum  
When I save a TAB Delimited file Excel it adds extra quotations  Excel Discussion (Misc queries)  
importing xml files adds extra zeros  Setting up and Configuration of Excel  
Problem: Copying a cell that contains line breaks adds extra quotes  Excel Discussion (Misc queries)  
special formatting adds extra zeroes  Excel Worksheet Functions  
How do I change XAxis values in a chart with 2 YAxis?  Charts and Charting in Excel 