+ Reply to Thread
Results 1 to 7 of 7

Late indicator

  1. #1
    Forum Contributor
    Join Date
    09-09-2012
    Location
    Manila,Philippines
    MS-Off Ver
    Excel 2003
    Posts
    153

    Late indicator

    Hi,

    I need help to get the first entry of each day in a record. The first entry will serve as the employees time in. As the employee pass through the door it will be logged in the database.

    If the employee's shift is 8:30 AM and his first log is 8:45 AM then he will be tagged as late.

    For the first entry of each day, it will log the number of minutes the employee was recorded late in Minutes column and Late? column as Y. The other record will remain blank as it is not needed to monitor the late.

    Sheet1 will serve as the record of door logs and Sheet2 will be the employees' schedule for the whole month.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Late indicator

    HI,

    You could use a formula for this.

    This returns the time from the matrix on sheet 2, i had to make the name the same as sheet1, i.e. not firstname surname in separate columns, in the one column

    INDEX(Sheet2!A6:AG9,MATCH(A4,Sheet2!A6:A9,0),MATCH(DATE(YEAR(B4),MONTH(B4),DAY(B4)),Sheet2!6:6,0))

    Then you can use an IF statement on it, and check its the MIN time.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    07-04-2014
    Location
    Pune, India
    MS-Off Ver
    2016 & 365
    Posts
    18

    Re: Late indicator

    Step :1
    Text to Column (Alt+A+E) "Timestamp" from "Space"

    2
    First "Time Stamp" As Date and next column as day as in sheet.

    3
    formate output of Text to columns as time and proceed as per sheet.

    4.
    Prepare a base data in sheet 2 of name combining & date column which represent column number in vlookup formula.

    Check the sheet whether it as per your wish.. or need something else.

    $hiv
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    09-09-2012
    Location
    Manila,Philippines
    MS-Off Ver
    Excel 2003
    Posts
    153

    Re: Late indicator

    what does Sheet2!6:6 means?

  5. #5
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Late indicator

    sheet 2 row 6

  6. #6
    Forum Contributor
    Join Date
    09-09-2012
    Location
    Manila,Philippines
    MS-Off Ver
    Excel 2003
    Posts
    153

    Re: Late indicator

    Got it! Thanks! Combining all of your ideas make my workbook works...

    Now I need to make a table where I have multiple lookup values:

    For example:

    Summary of Lates:

    1-Mar 2-Mar 3-Mar and so on...
    Jennifer Santos
    Christine Tan


    Using Sheet1, I need to get the minutes that intersect the values for employee name and the date.

    Thanks so much!
    Attached Files Attached Files
    Last edited by krazyhype19; 07-09-2014 at 01:37 AM.

  7. #7
    Forum Contributor
    Join Date
    09-09-2012
    Location
    Manila,Philippines
    MS-Off Ver
    Excel 2003
    Posts
    153

    Re: Late indicator

    I am trying to use the formula in Sheet3 cell T4 for the summary. If I added an OR to IF statement, the answer is incorrect.

    The formula should state like this:

    if the result is not in sheet1 then it should lookup the value in sheet2. But, there are instance that the value is not only VL. It may be EL or SL or AWOL or VL 0.5 ... If this is not the value, then the result must be blank.
    Attached Files Attached Files

+ 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: 0
    Last Post: 02-17-2014, 07:44 AM
  2. A little late - Hi!
    By dmersinger in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 08-23-2013, 10:13 AM
  3. Better late than never or ??
    By Alf in forum The Water Cooler
    Replies: 8
    Last Post: 08-01-2013, 08:47 PM
  4. Progess Indicator - "Circle" Indicator By Andy Pope
    By NaNaBoo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-30-2009, 10:48 AM
  5. Late Binding or Late Anything
    By Piranha in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2005, 10:42 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