+ Reply to Thread
Results 1 to 16 of 16

multiple start/stop times in excel chart

  1. #1
    Registered User
    Join Date
    09-07-2017
    Location
    Lock Haven, PA
    MS-Off Ver
    2007
    Posts
    7

    multiple start/stop times in excel chart

    My friend is tracking a medical problem that has multiple start/stop times each day. I put her data in excel using military time, but do not know how to get the graph to show the data correctly.
    Thank you in advance for your help

    Judy

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

    Re: multiple start/stop times in excel chart

    Times are just numbers (fractions of a day), so they should chart up just fine. Without knowing more detail about what you are doing (chart type, how you are trying to incorporate times in your chart, etc.) I don't think we can provide much specific help. Can you explain in more detail what you are doing -- perhaps upload a sample spreadsheet?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    09-07-2017
    Location
    Lock Haven, PA
    MS-Off Ver
    2007
    Posts
    7

    Re: multiple start/stop times in excel chart

    Thank you for your prompt reply.

    My friend has Restless Leg Syndrome (RLS) - and the Dr has requested a chart showing when the affliction
    starts and ends each day (start/stop times 'duration' each day).

    I think I have attached a portion of the spreadsheet (Excel 2010) - but let me know if it is not attached -
    still figuring this out.

    Judy
    Attached Files Attached Files

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: multiple start/stop times in excel chart

    maybe something like this one

  5. #5
    Registered User
    Join Date
    09-07-2017
    Location
    Lock Haven, PA
    MS-Off Ver
    2007
    Posts
    7

    Re: multiple start/stop times in excel chart

    Thank you sandy666 - but the chart needs to show the stop and start times for each day -
    I 'drew' something in MS Word to better show a possible 'output'
    Let me know if it makes sense...

    Judy
    Attached Files Attached Files

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: multiple start/stop times in excel chart

    like this one?

  7. #7
    Registered User
    Join Date
    09-07-2017
    Location
    Lock Haven, PA
    MS-Off Ver
    2007
    Posts
    7

    Re: multiple start/stop times in excel chart

    Thanks Sandy - Much more like this - but can we get the end time to stop (instead of extending to another time)?

    Judy

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: multiple start/stop times in excel chart

    I'll try it a little later
    Maybe, in the meantime, someone else will give you more accurate solution.

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

    Re: multiple start/stop times in excel chart

    That looks like a basic Gantt chart. Most Gantt charts are stacked bar, where your picture shows a stacked column, but that doesn't change the basic ideas. Here's how I would proceed

    0) Hopefully useful links about creating charts in Excel:
    stacked bar/column tutorial: https://www.extendoffice.com/documen...umn-chart.html
    basic Gantt chart tutorial (based on duration in days, but the same basic idea applies to times): https://www.officetimeline.com/gantt-chart-excel
    introduction to how Excel stores dates and times: http://www.cpearson.com/Excel/datetime.htm
    1) What is the most "starts -- stops" intervals you expect to ever see in a day? Set up that many pairs of columns.
    2a) Enter data. I would expect a format like this:
    Please Login or Register  to view this content.
    2b) Note that I enter the values as decimal hours at this point, because I find that easier to enter. Also note that I subtracted each time pair in my head to get the durations. If you want to take advantage of Excel's time formatting, you need to convert these values to "fraction of a day" by dividing everything by 24 (Enter 24 in a convenient cell -> Copy this cell to clipboard -> select these durations -> Paste -> Paste special -> Divide -> Format cells as desired time format).
    2c) If you don't want to compute durations in your head, it would be easy enough to enter start and end times in the same table format, then use simple subtraction formulas to get the durations. Just remember that you are going to build the Gantt chart based on durations, not the original time data. If you go this route, it will be important to get your times entered in a way that Excel will recognize them as time. Based on your sample, that is probably easiest by entering hh:mm AM/PM like you did in column B and C, but you must include a space before the AM/PM to get Excel to recognize the time entry.
    3a) With your table of durations set up, select the table -> Insert -> Chart -> Stacked column (or bar if you decide you like the horizontal arrangement better).
    3b) Hopefully Excel correctly interpreted the chart. If not, go into the Select Data dialog and fix Excel's mistakes (try not to grumble too much).
    3c) Format data series as desired (mostly this is selecting the columns/bars between the End times and the Start times where the RSL was absent to have no fill). If needed, format vertical axis (horizontal axis if you changed to a stacked bar chart) so that it shows time in the desired format.
    3d) Other formatting as desired.

    Note that most of the work in creating a Gantt chart is in building the table of values that feed into the chart. If you spend the necessary time getting a good arrangement of the data, the chart will be easy to create and maintain. If you try any shortcuts in step 2, you will probably have trouble with your Gantt chart.

    Does that help? Where do you get stuck?

  10. #10
    Registered User
    Join Date
    09-07-2017
    Location
    Lock Haven, PA
    MS-Off Ver
    2007
    Posts
    7

    Re: multiple start/stop times in excel chart

    Thank you MrShorty - I am printing your response and will work on it today and get back with any questions

    Thanks to sandy also - for helping me clarify specifics

    Judy

  11. #11
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: multiple start/stop times in excel chart

    One more
    You can play with this like you want

  12. #12
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: multiple start/stop times in excel chart

    I had a different approach with a stacked barchart.
    Attached Files Attached Files
    Kind regards,
    Piet Bom

  13. #13
    Registered User
    Join Date
    09-07-2017
    Location
    Lock Haven, PA
    MS-Off Ver
    2007
    Posts
    7

    Re: multiple start/stop times in excel chart

    Dear Piet Bom,

    This DOES work -
    It looks like multiple formulas for start/stop times -
    I did add dates and start/stop times to the data - and it continues to graph accordingly -

    So my question is - what do I need to do to make sure I can continue to add info? My friend has an appointment at Yale in mid-October, so she will have data from 7/1 - 10/15

    Thank you in advance

    Judy (the Excel novice - but I am taking a course on Swift programming

  14. #14
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: multiple start/stop times in excel chart

    Hi Judy,
    I extended the sheet to 4 months.
    Is this what helps you ?
    Attached Files Attached Files
    Last edited by PietBom; 09-11-2017 at 05:43 PM.

  15. #15
    Registered User
    Join Date
    09-07-2017
    Location
    Lock Haven, PA
    MS-Off Ver
    2007
    Posts
    7
    Quote Originally Posted by PietBom View Post
    Hi Judy,
    I extended the sheet to 4 months.
    Is this what helps you ?
    Indeed it is - I hope I can figure out how you did this -
    thank you very much

    Judy

  16. #16
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: multiple start/stop times in excel chart

    Glad to help you and your friend with RLS.
    Please let me know if the Dr could use the chart info as it is presented in this format.

+ 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. excel chart with date, start and end times (duration)
    By ravivaranasi in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 03-09-2016, 01:18 PM
  2. [SOLVED] Excel 2010 calculate time used with stop /start at given times
    By Roger1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-08-2015, 10:59 AM
  3. Trying to list start and stop times in a chart
    By Rambam in forum Excel General
    Replies: 2
    Last Post: 07-28-2015, 11:45 PM
  4. Identify distinct start stop times
    By dmoe2k1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-21-2014, 11:02 AM
  5. start stop times issues in excel
    By superchew in forum Excel General
    Replies: 7
    Last Post: 08-18-2013, 03:13 PM
  6. Match Start & Stop Times
    By dreicer_Jarr in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-09-2010, 10:46 PM
  7. How to chart start and stop times
    By tresscott in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-10-2005, 06:06 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