#1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 68
Default X-Axis Date

Hi,
I am making a graph with dates along the X-axis. The data was exported from
Access and is in the format m/dd/yyyy h:mm:ss AM/PM. Excell doesnt seem to
recognize this as a data format and it wont graph properly. I have tried
"format cells", but it doesnt work. What is really strange is that when I
click in the cell and then press enter, it converts to a date format that is
recognized by excell. I have over 2 years of hourly data, so I dont really
want to click in every cell. Anyone have any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1,104
Default X-Axis Date

Dates in Excel are actually numbers (see
http://www.cpearson.com/excel/datetime.htm)
Since editing converts you data to a date, it might be that you have
imported text not numbers

Try this:
Select and copy and empty cell (you have copied the value 0)
Select all the dates that need fixing; use Edit | Paste Special with Add
specified
Excel often converts text to numbers (when it is possible) with this trick
Tell us if it worked
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Amber" wrote in message
...
Hi,
I am making a graph with dates along the X-axis. The data was exported
from
Access and is in the format m/dd/yyyy h:mm:ss AM/PM. Excell doesnt seem
to
recognize this as a data format and it wont graph properly. I have tried
"format cells", but it doesnt work. What is really strange is that when I
click in the cell and then press enter, it converts to a date format that
is
recognized by excell. I have over 2 years of hourly data, so I dont
really
want to click in every cell. Anyone have any suggestions?



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 68
Default X-Axis Date

Yes it worked!
Thank you!

"Bernard Liengme" wrote:

Dates in Excel are actually numbers (see
http://www.cpearson.com/excel/datetime.htm)
Since editing converts you data to a date, it might be that you have
imported text not numbers

Try this:
Select and copy and empty cell (you have copied the value 0)
Select all the dates that need fixing; use Edit | Paste Special with Add
specified
Excel often converts text to numbers (when it is possible) with this trick
Tell us if it worked
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Amber" wrote in message
...
Hi,
I am making a graph with dates along the X-axis. The data was exported
from
Access and is in the format m/dd/yyyy h:mm:ss AM/PM. Excell doesnt seem
to
recognize this as a data format and it wont graph properly. I have tried
"format cells", but it doesnt work. What is really strange is that when I
click in the cell and then press enter, it converts to a date format that
is
recognized by excell. I have over 2 years of hourly data, so I dont
really
want to click in every cell. Anyone have any suggestions?




  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1,104
Default X-Axis Date

Great! Thanks for the feedback
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Amber" wrote in message
...
Yes it worked!
Thank you!

"Bernard Liengme" wrote:

Dates in Excel are actually numbers (see
http://www.cpearson.com/excel/datetime.htm)
Since editing converts you data to a date, it might be that you have
imported text not numbers

Try this:
Select and copy and empty cell (you have copied the value 0)
Select all the dates that need fixing; use Edit | Paste Special with Add
specified
Excel often converts text to numbers (when it is possible) with this
trick
Tell us if it worked
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Amber" wrote in message
...
Hi,
I am making a graph with dates along the X-axis. The data was exported
from
Access and is in the format m/dd/yyyy h:mm:ss AM/PM. Excell doesnt
seem
to
recognize this as a data format and it wont graph properly. I have
tried
"format cells", but it doesnt work. What is really strange is that
when I
click in the cell and then press enter, it converts to a date format
that
is
recognized by excell. I have over 2 years of hourly data, so I dont
really
want to click in every cell. Anyone have any suggestions?





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
Date Axis Skip4t Excel Discussion (Misc queries) 5 January 18th 08 03:50 PM
How do I force a secondary horizontal axis to act as a date axis? The_Tim Charts and Charting in Excel 5 July 6th 07 05:18 AM
X axis date - display beyond latest date. Dave F. Charts and Charting in Excel 1 January 3rd 07 03:17 AM
Date Axis Must be on Date Basis Hamsicik Charts and Charting in Excel 1 July 6th 06 08:06 PM
how to draw a chart using x,y axis not the date with x-axis? elshohna Excel Worksheet Functions 0 December 12th 05 12:19 PM


All times are GMT +1. The time now is 07:06 PM.

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"