+ Reply to Thread
Results 1 to 8 of 8

Finding Missing Dates

  1. #1
    Registered User
    Join Date
    09-05-2017
    Location
    Columbus, OH
    MS-Off Ver
    2016
    Posts
    6

    Finding Missing Dates

    Hello,

    I am new to this forum and enjoy reading responses to learn more about excel. Anywho, I am working on a spreadsheet and trying to locate missing dates to determine absences. The issue I am having is employees clock in and out multiple times a day (for lunch). So, in doing so it will create duplication of dates (see excel example). Not sure how to proceed. Thank you for your help in advance!
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Finding Missing Dates

    Hi,

    One way would be a helper column which concatenates the date and the employee number, then in a table consisting of every date in a vertical column and each employee number across the column headings, use an =MATCH() formulae to determine whether the combination of date and employee number exists.

    See attached.
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Finding Missing Dates

    Hi acarey and welcome to the forum,

    I have 2 ways to count those missing days. On your June sheet I created a table to the right with all workdays and then did a count for the first few people. You would need to do a different range for each and that seemed too hard, so I copied your data to sheet 1 and inserted a column to give a "Full Name" formula that I copied down to the bottom. THEN a Pivot Table to the right of that data might be exactly what you are looking for. See the attached. Time to learn more about Pivot tables?

    Missing Work Days.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Finding Missing Dates

    Hey Richard,

    Those aren't employee numbers. It looks like they are all the same number. Maybe they are employee numbers, before the OP cleaned up the data??

  5. #5
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Finding Missing Dates

    =IF(ISNA(MATCH($A4,INDEX(June!$C:$C,B$3+1):INDEX(June!$C:$C,C$3),)),"abs","job")
    Attached Files Attached Files

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Finding Missing Dates

    IsNa.JPG
    Match.JPG

    Formula for Joe, then drag down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula for John, then drag down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    09-05-2017
    Location
    Columbus, OH
    MS-Off Ver
    2016
    Posts
    6

    Re: Finding Missing Dates

    Marvin you are a genius! Didn't even think about using a Pivot table. It makes it easy to see if there are any "missing dates".

  8. #8
    Registered User
    Join Date
    09-05-2017
    Location
    Columbus, OH
    MS-Off Ver
    2016
    Posts
    6

    Re: Finding Missing Dates

    I will have to try that as well. I haven't used match or index much, more familiar with vlookup. Thank you!

+ 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. Insert missing dates into a list of dates using vba
    By Declamatory in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-24-2015, 12:18 PM
  2. Finding Missing Dates In a Column of Dates
    By ExcelStudent123 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-09-2014, 05:37 PM
  3. Finding missing dates with time in sequence
    By yuvrajcbe in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-03-2014, 08:29 AM
  4. [SOLVED] Formula to find missing dates from a list of dates
    By PWinkz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-22-2014, 08:11 AM
  5. Excel Macro to find missing dates and insert missing date as blank row
    By JevaMarie in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-26-2013, 11:08 AM
  6. Finding missing value using exce
    By zen89 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 08-16-2011, 02:47 PM
  7. Help finding missing numbers
    By fuegoman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-03-2005, 07:54 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