+ Reply to Thread
Results 1 to 5 of 5

How to enter time data? (making scatter plot)

  1. #1
    Registered User
    Join Date
    03-15-2016
    Location
    Boston, MA
    MS-Off Ver
    N/A
    Posts
    2

    Post How to enter time data? (making scatter plot)

    I'm creating a scatter plot from laboratory time data, in the form minutes:seconds. I entered the data in that way, however upon making a scatter plot it is interpreting this as hours:minutes. Thus, the x-axis simply oscillates between 0 and 12. How do I specify that this is minutes:seconds?
    Thanks!

  2. #2
    Registered User
    Join Date
    01-08-2014
    Location
    Missouri
    MS-Off Ver
    365
    Posts
    87

    Re: How to enter time data? (making scatter plot)

    Try this:

    Select all the cells where you plan to enter this data, press Ctrl 1 (or right click, and select Format Cells).

    Pick the Number Tab, and select the Custom Category.

    Where it says Type: you want to enter h:mm:ss

    This will display as hours:minutes:seconds

    Note that (as far as I know) when you input the time, you can't enter only mm:ss, you'll have to key 0 hours then colon, minutes, colon, seconds, which is a nuisance. But I think it will fix your chart problem.

  3. #3
    Registered User
    Join Date
    03-15-2016
    Location
    Boston, MA
    MS-Off Ver
    N/A
    Posts
    2

    Re: How to enter time data? (making scatter plot)

    After changing the type and re-entering data, it is still displayed in relation to days- in the chart, 24:59 (m:s) is displayed as just over 1.0 on x-axis. How can I change from days to minutes:seconds.

  4. #4
    Registered User
    Join Date
    01-08-2014
    Location
    Missouri
    MS-Off Ver
    365
    Posts
    87

    Re: How to enter time data? (making scatter plot)

    If you have the data right and just want to change the format of the chart axis,

    1. single-click on the chart axis, right click, select Format Axis.

    2. under Number, change the Category to Time, and Type to the format you like best.

    (You can also choose Custom and enter h:mm:ss for the Format Code)

    However, this doesn't change the data, it only changes the display format of the x-unit of the chart.

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

    Re: How to enter time data? (making scatter plot)

    When you enter a value like 00:00, Excel interprets that value as hours and minutes.

    What kind of laboratory data are you working with, and exactly how are you using these times? In my laboratory, I usually avoid Excel's built in date/time system for this and simply enter values as decimal minutes. Because Excel's built in time system stores times as "fraction of a day", I like to avoid such a dramatic difference between the value I see and the value actually stored (http://www.cpearson.com/Excel/datetime.htm#SerialDates for a description of how Excel stores date/time data).

    Often times I will convert times to decimal minutes on a hand calculator before entering in Excel. 1min 15 seconds becomes 1.25 minutes before entry.
    If I don't want to deal with the computation outside of Excel, or deal with the repeating decimals, I will use a fractional format to enter minute/seconds. 1 min 15 seconds will be entered as 1 15/60. If I want to see the minutes and seconds, I will format as # ##/60 or similar so that I can see min sec/60 in the cell.
    Sometimes I will use the DOLLARDE() and DOLLARFR() functions: =DOLLARDE(1.15,60) will result in 1.25. =DOLLARFR(1.25,60) results in 1.15.

    I prefer these strategies because it keeps the actual cell value and the displayed fractional minutes much closer to each other. It also simplifies most computations that I want to do with times, such as rate calculations and such, because I don't need a separate "convert fraction of a day to decimal minutes" step when I want some "rate per minute" calculation.

    If you do want to use Excel's built in time serial numbers, I find it is easiest to simply include the hour as part of the entry. 0:01:15 to enter 1 minute and 15 seconds. This can be formatted as "mm:ss" so that only minutes/seconds is displayed. If times will be longer than an hour, you may need to use "[mm]:ss" for elapsed minutes.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Making one line graph with two different time interval data from 2 plot
    By sohel_for in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-30-2016, 11:10 PM
  2. How do I add the time dimension in a XY scatter or bubble plot?
    By kyr in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 05-22-2013, 05:01 PM
  3. Replies: 2
    Last Post: 07-26-2012, 09:27 AM
  4. Trouble making scatter plot loop
    By henboffman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-22-2011, 09:37 AM
  5. how do you make a scatter plot with date and time ?
    By masterinex in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-23-2010, 04:08 AM
  6. XY Scatter plot with time
    By bingo7 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-30-2009, 10:48 AM
  7. Can I copy x-y scatter plot data direct from one plot to another?
    By Chris in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-03-2005, 09:05 AM

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