+ Reply to Thread
Results 1 to 4 of 4

Showing date and time properly on plots

  1. #1
    Registered User
    Join Date
    10-03-2016
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    2

    Showing date and time properly on plots

    Hello everyone,
    I'm trying to plot time series. I combined date column and time column to have both in each cell. Now when I choose the scatter plot it just shows the numbers instead of date. I tried several things such as changing the format before (number or text) and after plotting and (custom) and ...
    The only way that worked is choosing each cell and push enter bottom, then it changes the appearance a little and shows that properly but I can't do this for 36000 line of data
    Would you please help me with this problem?
    Thanks.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Showing date and time properly on plots

    Click on your graph, then position the mouse cursor over the axis that you want to change and right-click. On the pop-up dialogue box you will see an option to Format Axis, and this will allow you to apply the format you wish to see (maybe "Linked to Source").

    Hope this helps.

    Pete

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Showing date and time properly on plots

    Your "select then push enter" suggests to me that those "dates" are actually text strings. Selecting and pressing enter causes Excel to convert the text to an actual date/time serial number. The first check I would probably do is to use the ISTEXT() function on one or more of those cells to see if they are text or not.

    If they are text, you can often use the "enter 1 in a cell, copy, select cells with dates, paste special - multiply" sequence to convert them to numbers/dates. You can also use the TIMEVALUE() function (https://support.office.com/en-us/art...d-f3eb6d186645 ) to convert date/time as text to date/time values. You might visit the data entry/importation step and see if there are options there to force Excel to see those as date/time instead of text.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    10-03-2016
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    2

    Re: Showing date and time properly on plots

    Thanks Pete for your suggestion. I tried it and it didn't work.

    Thanks, MrShorty. You are right. They were text, so I could convert them to the correct format by =Datevalue(text)+timevalue(text)
    function. Thanks a lot for your help

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Date+Time not calculating properly
    By DoodlesMama in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-15-2015, 12:14 PM
  2. Date and Time showing in number format..
    By uttam.mothe in forum Excel General
    Replies: 2
    Last Post: 02-17-2015, 04:14 AM
  3. [SOLVED] Chart showing date and names on a time axis
    By D-smoke in forum Excel Charting & Pivots
    Replies: 24
    Last Post: 10-30-2012, 10:18 AM
  4. [SOLVED] how to stop a date showing where a 'time' should be
    By nje in forum Excel General
    Replies: 2
    Last Post: 06-27-2012, 11:54 AM
  5. Help showing date/time between entries
    By Ricdic in forum Excel General
    Replies: 2
    Last Post: 10-11-2008, 09:35 AM
  6. CSV file not showing the db results properly
    By philweb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-24-2008, 04:27 PM
  7. Extract the hour from a cell showing the date and time
    By Paul Sexton in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-27-2006, 02:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1