+ Reply to Thread
Results 1 to 2 of 2

Use Index(Match(0,If To Get List Of Employees Within Dates For Calendar

  1. #1
    Registered User
    Join Date
    08-28-2013
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2010, 2013
    Posts
    69

    Use Index(Match(0,If To Get List Of Employees Within Dates For Calendar

    Good Morning,

    I am trying to create a calendar that shows a list of employees who have vacation time for each calendar date. This has become tricky because the employee vacation start and end dates can be before or after the calendar dates. Formula below, which only captures employees with the current date and the next day's date for vacation. If the employee's vacation extends beyond this time, they aren't listed. The number of employee names should total the number of requests taken by DISNEY and HANNA BARBERA. As an example, Wed, 1/1/2014 should display 7 names, but we only get 4.TEMPScheduling.xlsx

    Please Login or Register  to view this content.
    Any assistance is appreciated!

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Use Index(Match(0,If To Get List Of Employees Within Dates For Calendar

    Try something like:

    =IFERROR(INDEX(VacationLog!$A$1:$A$90,1/(1/LARGE(ROW($I$3:$I$90)*(VacationLog!$I$3:$I$90<=DATEVALUE(F$5&" "&$C$3&" "&$G$2))*(VacationLog!$J$3:$J$90>=DATEVALUE(F$5&" "&$C$3&" "&$G$2)),ROW(A1)))),"")

    in F6 as an array formula and copy down. You will need to adjust the month/year cells as necessary to get the right datevalues.

+ 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: 3
    Last Post: 07-29-2014, 01:20 PM
  2. Replies: 4
    Last Post: 12-27-2012, 06:18 PM
  3. Replies: 1
    Last Post: 07-27-2011, 04:19 AM
  4. Need to delete expired dates from a list of employees
    By mrgillus in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-04-2009, 10:37 AM
  5. Link a list of employees with hire dates to a monthly schedule
    By lisabrmr in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-17-2005, 04:06 PM

Tags for this Thread

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