+ Reply to Thread
Results 1 to 7 of 7

Help graphing login logout times over a 24 hour period

  1. #1
    Registered User
    Join Date
    05-18-2018
    Location
    Boston
    MS-Off Ver
    365
    Posts
    4

    Help graphing login logout times over a 24 hour period

    Hello, I have seen similar questions come up in the forums but never quite seem to find an answer that completely answers my question.


    I need to graph a time line that shows when a person logged in and logged out. They may login and out several times a day. The X axis would be time from midnight through 11:59pm and the y axis would be binary, either on or off. I am sorry if I am not being clear as it is hard to describe. I am attaching a screenshot that should display what I am trying to do. The Excel specific data is an export from an application showing login and logout times. The chart in the background is from the application itself but does not come as part of the export so I am hoping I can reproduce it in excel and ultimately do a lot more with this data over multiple days etc. Really having trouble getting started which seems like it should be so simple.

    Any help would be greatly appreciated!
    Attached Images Attached Images

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

    Re: Help graphing login logout times over a 24 hour period

    If I understand your screenshot correctly, it looks like a basic Gantt chart or something very similar to a Gantt chart. I don't know what built in Gantt charting abilities your newer version of Excel may have. In my older version of Excel, a Gantt chart is basically a stacked bar chart with appropriate data computed in the spreadsheet, so that is what I know best.

    MS Excel's Gantt chart helpfile: https://support.office.com/en-us/art...rs=en-US&ad=US
    A previous discussion thread: https://www.excelforum.com/excel-cha...cel-chart.html Note that a lot of the work is getting all of the data in the spreadsheet.
    Another previous thread: https://www.excelforum.com/excel-gen...ance-time.html In this case, the durations are in days rather than hours, but the same ideas apply.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,619

    Re: Help graphing login logout times over a 24 hour period

    Easy option to start could be stacked bar chart. Data for series shall be prepared in a way showing length of each period - see helper column in attachment.
    Attached Files Attached Files
    Last edited by Kaper; 05-21-2018 at 01:57 PM. Reason: whoops, havent seen answer above
    Best Regards,

    Kaper

  4. #4
    Registered User
    Join Date
    05-18-2018
    Location
    Boston
    MS-Off Ver
    365
    Posts
    4

    Re: Help graphing login logout times over a 24 hour period

    Thank you for the fast response. Yes it is definitely similar to a gantt chart but I'm trying to stay on one line. I'll look through those other threads you mentioned to see if I can find a solution within them.

    In the meantime here is a sample of the export we get from the application. this is the sort of data I'm trying to graph out.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-18-2018
    Location
    Boston
    MS-Off Ver
    365
    Posts
    4

    Re: Help graphing login logout times over a 24 hour period

    Quote Originally Posted by Kaper View Post
    Easy option to start could be stacked bar chart. Data for series shall be prepared in a way showing length of each period - see helper column in attachment.
    !YES! Thank you, this looks exactly what I was trying to do. I will review this! THANK YOU!

  6. #6
    Registered User
    Join Date
    05-18-2018
    Location
    Boston
    MS-Off Ver
    365
    Posts
    4

    Re: Help graphing login logout times over a 24 hour period

    Thank you MrShorty and Kaper. Those threads from MrShorty had a lot of good info and Kaper's example give me an apples for apples solution. It was fun seeing how it was solved.

  7. #7
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,619

    Re: Help graphing login logout times over a 24 hour period

    Glad to hear so.
    And thanks for marking thread SOLVED and for reputation point :-)

+ 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. Finding the First Login and Last Logout Times of Employees
    By ExcelTip in forum Tips and Tutorials
    Replies: 19
    Last Post: 02-17-2018, 01:47 AM
  2. Replies: 0
    Last Post: 02-17-2014, 07:44 AM
  3. First login and Last logout times of windows system
    By chinraj in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2014, 05:52 AM
  4. How to log multiple changing values 120 times over a 2 hour period.
    By mmpuk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-18-2013, 12:25 PM
  5. Maximum value from login and logout times
    By callan133 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2013, 07:22 AM
  6. login and logout time , with total login time ,break> 1 hours
    By shrinivasmj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-12-2013, 05:37 AM
  7. Spreadsheet to determine login / logout times
    By fullysic in forum Excel General
    Replies: 2
    Last Post: 12-08-2010, 09:25 AM
  8. First login & last Logout
    By Vikky in forum Excel General
    Replies: 2
    Last Post: 08-19-2006, 01:20 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