+ Reply to Thread
Results 1 to 8 of 8

How to look up "time in" based on employee name and date of login

  1. #1
    Registered User
    Join Date
    11-06-2023
    Location
    Canada
    MS-Off Ver
    MS365
    Posts
    40

    How to look up "time in" based on employee name and date of login

    how to get time in based from employees name and based from the date of login using formula in excel.

    what formula should i used? the data is from a different sheet.
    Lets say I have Sheet 1. where I used data validation to choose the employee name. let say B4 is where the cell of the employee name.
    on the same sheet. I have cell B10 for the date which is "Oct 21" and C10 for "Time in"


    Sheet 2 - where the raw data is located.
    Column A - Name of Employee
    Column C - Date
    Column D - Time in

    Can you help me on what formula to use in Sheet 1 in able to get the time in of employee in specific dates.
    Thank you

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,792

    Re: How to look up "time in" based on employee name and date of login

    Fast answers need clear examples. Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.

  3. #3
    Registered User
    Join Date
    11-06-2023
    Location
    Canada
    MS-Off Ver
    MS365
    Posts
    40

    Re: How to look up "time in" based on employee name and date of login

    here is the sample file.
    I want to see whenever I change the name of the employee. I want to see their data from below .
    Attached Files Attached Files
    Last edited by thealndyn; 11-29-2023 at 11:22 PM.

  4. #4
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,863

    Re: How to look up "time in" based on employee name and date of login

    Try this in Sheet1, cell c7 and copy down

    =XLOOKUP($B$1&B7,Sheet2!$A$2:$A$3&Sheet2!$C$2:$C$3,Sheet2!$D$2:$D$3,"",0)

    Your profile shows MS Office version as MS Windows 10. This is your operating system, not Excel version. Your excel version would be something like 2013, 2016, 2019, MS365, etc.

    If you don't have Office 365, then the above formula will probably not work.

  5. #5
    Registered User
    Join Date
    11-06-2023
    Location
    Canada
    MS-Off Ver
    MS365
    Posts
    40

    Re: How to look up "time in" based on employee name and date of login

    it worked. Thank you so much!
    Last edited by thealndyn; 11-29-2023 at 11:53 PM.

  6. #6
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,863

    Re: How to look up "time in" based on employee name and date of login

    You're welcome.
    Please update your profile.

  7. #7
    Registered User
    Join Date
    11-06-2023
    Location
    Canada
    MS-Off Ver
    MS365
    Posts
    40

    Re: How to look up "time in" based on employee name and date of login

    Hi. Question with regards to this formula.

    =XLOOKUP($B$1&B7,Sheet2!$A$2:$A$3&Sheet2!$C$2:$C$3,Sheet2!$D$2:$D$3,"",0)

    will this work if the employee did a "DOUBLE SHIFT" in one day?

    it seems xlookup will just look the first entry. how about the second one?
    Last edited by thealndyn; 12-06-2023 at 09:14 PM.

  8. #8
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,863

    Re: How to look up "time in" based on employee name and date of login

    Yes, XLOOKUP brings back the first entry it finds. Please mock up a sample spreadsheet to show how you would want it to look if they worked a double shift. (There's only 1 cell for "Time In" per day.

+ 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. [SOLVED] Calculate the difference from the earlies Login time to the Oldest Login time
    By dlealb in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-05-2022, 11:26 AM
  2. Automatically Login and Logout to the employee's time tracker on website.
    By albert28 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-27-2018, 04:51 AM
  3. Replies: 1
    Last Post: 04-30-2017, 08:26 PM
  4. Replies: 5
    Last Post: 08-31-2016, 01:15 PM
  5. log in time out for employee login logout system
    By codillajocyl in forum Excel General
    Replies: 0
    Last Post: 09-11-2013, 10:53 PM
  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. how do I set up an employee time in/out login
    By kordahl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-18-2006, 07:45 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