+ Reply to Thread
Results 1 to 4 of 4

Login/Logout Calendar

  1. #1
    Registered User
    Join Date
    01-08-2014
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2016
    Posts
    22

    Question Login/Logout Calendar

    Hello all,

    I receive a basic CSV from my time card site for my employees login and logout times.

    I have attached an example of what I have so far, Data tab has the export, I created the formulas on that tab to combine/split data and the final data is on Sheet 1.

    What I am trying to do is create a new Tab where it shows each agents down column A (2 lines per agent) and dates for the last 30 days (Time card is always last 30 days) across Row 1... effectively creating a calendar that will then pull in their Login time for the day and Logout time for the day.

    For example:
    Agent 2/22 2/23
    Test 06:00 06:01 (Start time of the first line for that date)
    Test 14:30 14:35 (End time of the second line for that date)
    Test 2 09:00 09:00
    Test 2 17:00 17:06

    The reason I am wanting to do this is so I can easily just dump the time card data into the data tab so the calendar always updates with the data in that tab or the cleaned tab "Sheet 1" since that pulls from the Data tab.
    Once I have the calendar I can then set conditional formatting on the cells for when they are late or early etc.

    Thanks for any help you can provide
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    01-08-2014
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2016
    Posts
    22

    Re: Login/Logout Calendar

    Since there is no response I am wondering if this is not possible? or to complex.

  3. #3
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Login/Logout Calendar

    Like most timecard questions,

    This is actually several threads worth of questions, plus some boring table-building.

    What you need is:
    1) The TRANSPOSE function for the dates across the column headers. (This is entered as an array with in a range, the support documentation is pretty good.) Maybe you can get away with a start date (driven off MIN(range) ?) with dates +1 marching across if you know when your start / end is, that might be easier.

    2) Some way to build the headers down the rows for people's names.
    This will probably be some variation of marching SMALLIF array formula.
    Because you need everyone's name twice, you might need to do something crazier, like the MAX(INDEX(Range*Boolean, 0)) construction, and wrap that with an IF to treat odd/even rows different, that kind of thing.

    3) Populating the data.
    This will be a lookup; since you've got two values you need for each index (eg, two clock-ins per date), you'll need to do something clever to accommodate that, similar to what you needed to do to handle the above. Just like above, you might be better served to do a combo of MIN/MAX on a boolean test to return the earlier/later values.

    4) And then yeah, jiggering that all into a table.


    So yeah, there is a lot of complexity here. It's not, like, impossibly complex, it's just... beyond the scope of a forum thread, basically.
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  4. #4
    Registered User
    Join Date
    01-08-2014
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2016
    Posts
    22

    Re: Login/Logout Calendar

    Hi Ben - Thank you for taking the time to respond, I figured it would be a tough one for me to build but I hit a wall on next steps, at least having the formulas you provided gives me a base point to start from and I thank you for taking the time to share

+ 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. Login/logout hrs - is there a quicker way?
    By jeffa0 in forum Excel General
    Replies: 3
    Last Post: 05-10-2016, 09:25 PM
  2. Login - Logout report
    By vamshi57 in forum Excel General
    Replies: 9
    Last Post: 04-19-2016, 12:38 AM
  3. Replies: 0
    Last Post: 02-17-2014, 07:44 AM
  4. 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
  5. Login Logout Report
    By excelnightmare in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-02-2011, 01:45 PM
  6. Login Logout userform
    By poitachi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2010, 03:01 PM
  7. [SOLVED] 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