LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Richard H
 
Posts: n/a
Default Date format collapses diagram

I have a strange problem which is different to explain.

I have a workbook with five sheets containing data and a cell with
a date in it. A sixth sheet contains a table with data collected
from the first five sheets, with the dates as categories, like
this;

08.2004 09.2004 10.2004 11.2004 12.2004
3 4 4 5 3
4 3 5 4 4
3 2 5 3 4


The table is used for generating a line diagram. Now, the diagram
looks fine when I only include data and categories from the first
four columns. If I include the last column, the diagram collapses
to one set of data points on top of each other, with a category
label of 38292 or something like it.

If I delete the last category (12.2004), the error goes away and a
proper line reappears. But then I lose the category label in the
diagram.

The error only appears when the category cells are formatted as
dates. If I format them as text, the line diagram is OK. The
trouble is that the five data sheets contain data which is
supposed to be imported via a macro, and the dates import in date
format, even if I've preformatted the cells they're copied into as
text. With some combinations of cell formats texts values (like
38292) appear in the diagram instead of dates.

I can't find a way to have Excel keep the dates in text format
when importing. And I can't for the life of me figure out why the
problem only appears when the last one of the five dates is added.

Does anybody understand what I mean here ...? And - please -
suggest a way to get around this??

 
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
Format date dd.mm.yyyy to dd/mm/yyyy Kiwi User Excel Discussion (Misc queries) 7 May 7th 23 11:44 AM
prevent 4/5 in a cell automatically transfer to a date format kei Excel Discussion (Misc queries) 3 December 9th 04 11:52 AM
Problem with Date format from VBA code twig Excel Discussion (Misc queries) 3 December 7th 04 06:01 PM
Date on two lines using a custom cell format possible? .:mmac:. Excel Discussion (Misc queries) 5 December 4th 04 09:41 PM
How can I format a cell so date field only displays the Month? tk_2u Excel Discussion (Misc queries) 3 December 4th 04 12:54 AM


All times are GMT +1. The time now is 10:56 AM.

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

About Us

"It's about Microsoft Excel"