+ Reply to Thread
Results 1 to 4 of 4

Bar chart showing time intervals for breastfeeding data

  1. #1
    Registered User
    Join Date
    10-28-2016
    Location
    London
    MS-Off Ver
    mac 2011
    Posts
    2

    Bar chart showing time intervals for breastfeeding data

    Hi,

    I have an app that I have been using to record the times that I feed my baby.
    I have put the data into an excel, so that I have 3 columns: date, start time and duration

    I would like to plot a graph to visualise the data. I am aiming for x axis= time, y axis= date, and horizontal bars to show each feed
    i.e. if I started feeding at 1pm for duration 20 mins, this would show as a filled bar starting at 1pm and finishing at 1:20pm.

    Would appreciate any suggestions on how to do this, thanks!
    (I couldn't seem to attach the excel, so extract data below).


    Date Time Duration, mins
    10/08/16 11:20 pm 5
    11/08/16 1:14 am 27
    11/08/16 5:12 am 30
    11/08/16 7:55 am 24
    11/08/16 9:20 am 8
    11/08/16 12:07 pm 6
    11/08/16 12:17 pm 7
    11/08/16 1:38 pm 21
    11/08/16 2:19 pm 14
    11/08/16 4:08 pm 10
    11/08/16 5:02 pm 12
    11/08/16 5:19 pm 6
    11/08/16 8:12 pm 16
    11/08/16 8:33 pm 7
    11/08/16 11:02 pm 16
    12/08/16 12:15 am 8
    12/08/16 1:44 am 12
    12/08/16 12:40 am 12
    12/08/16 1:02 am 6
    12/08/16 5:56 am 29
    12/08/16 9:59 am 36
    12/08/16 12:59 pm 4
    12/08/16 2:54 pm 20
    12/08/16 5:27 pm 22
    12/08/16 8:25 pm 18
    12/08/16 10:22 pm 17
    12/08/16 10:45 pm 7
    12/08/16 11:52 pm 8
    13/08/16 12:13 pm 15
    13/08/16 4:18 am 19
    13/08/16 4:41 am 5
    13/08/16 6:30 am 15
    13/08/16 10:00 am 26
    13/08/16 10:30 am 23
    13/08/16 1:53 pm 6
    13/08/16 2:04 pm 27
    13/08/16 3:07 pm 12
    13/08/16 6:09 pm 56
    13/08/16 7:05 pm 11
    13/08/16 9:04 pm 25
    13/08/16 9:55 pm 10
    13/08/16 11:13 pm 15

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

    Re: Bar chart showing time intervals for breastfeeding data

    If I understand what you describe, it sounds a lot like a Gantt chart, which is basically a specially formatted stacked bar chart: https://www.smartsheet.com/blog/gantt-chart-excel I would suggest you start there with the basics of creating such a chart.

    Such an approach should work just fine with your data, you will need to move/copy some data around to match the layout in the tutorial. You will probably need to convert your duration values from minutes to days (=minutes/24/60) to get them to show up correctly on the Excel chart.

    Where do you get stuck?
    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
    10-28-2016
    Location
    London
    MS-Off Ver
    mac 2011
    Posts
    2

    Re: Bar chart showing time intervals for breastfeeding data

    Thanks MrShorty, I will have a go at that

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

    Re: Bar chart showing time intervals for breastfeeding data

    The kid will be grown up by now
    But is this what you were looking for ?
    Attached Files Attached Files
    Kind regards,
    Piet Bom

+ 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. Replies: 1
    Last Post: 09-27-2016, 12:41 AM
  2. Replies: 2
    Last Post: 09-14-2015, 11:00 AM
  3. How do I make a chart showing time intervals that something is present?
    By smelltheflowers in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 11-25-2014, 01:10 PM
  4. Chart Time Axis Showing Only 0:00
    By gtcwalker6 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 09-12-2014, 11:06 AM
  5. Converting Data in Irregular Time Intervals into Regular Time Intervals
    By AlexJT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2011, 02:42 AM
  6. Need to Transpose Irregular Time Intervals into Regular Time Intervals
    By AlexJT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2011, 08:30 PM
  7. Making a line chart showing increases in data usage over time
    By rebecca08 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-24-2008, 04:55 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