Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 56
Default 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 X-axis 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 Monday-Friday, 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 X-Axis, so instead of a straight line being plotted, it's kinked.

How can I make the chart plot just the dates contained in the X-axis 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   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up 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:
YourName 
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 56
Default 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
x-axis 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 X-axis 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 Monday-Friday, 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 X-Axis, so instead of a straight line being plotted, it's kinked.

How can I make the chart plot just the dates contained in the X-axis 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   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 8,651
Default 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 X-axis 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 Monday-Friday, 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 X-Axis, so instead of a straight line being plotted, it's kinked.

How can I make the chart plot just the dates contained in the X-axis 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   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 560
Default 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
x-axis 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 "Time-scale" 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 "Time-scale" (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   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 56
Default 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
x-axis 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 "Time-scale" 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 "Time-scale" (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   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 56
Default 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 X-axis 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 Monday-Friday, 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 X-Axis, so instead of a straight line being plotted, it's kinked.

How can I make the chart plot just the dates contained in the X-axis 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   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 8,651
Default 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 X-axis 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 Monday-Friday, 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 X-Axis, so instead of a straight line being plotted, it's
kinked.

How can I make the chart plot just the dates contained in the X-axis
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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
When I save a TAB Delimited file Excel it adds extra quotations Mohaukla Excel Discussion (Misc queries) 0 October 27th 07 03:26 AM
importing xml files adds extra zeros P Boric Setting up and Configuration of Excel 1 May 22nd 07 02:21 PM
Problem: Copying a cell that contains line breaks adds extra quotes [email protected] Excel Discussion (Misc queries) 0 November 2nd 06 07:58 PM
special formatting adds extra zeroes nosnil14 Excel Worksheet Functions 0 February 1st 06 03:51 PM
How do I change X-Axis values in a chart with 2 Y-Axis? ESGLCC Charts and Charting in Excel 1 May 4th 05 02:41 PM


All times are GMT +1. The time now is 05:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"