+ Reply to Thread
Results 1 to 3 of 3

Lookup Date in Table of Holiday Dates

  1. #1
    Registered User
    Join Date
    08-03-2015
    Location
    California
    MS-Off Ver
    MS 2013
    Posts
    22

    Lookup Date in Table of Holiday Dates

    Hi all,

    I am having some difficulty with a lookup function to return a true/false value. I have a table of all bank holidays (1 column for 2014 and 1 column for 2015), and I am doing a lookup of a date to the table to see if it is included or not.

    Example:

    Sept 30, 2014 is FALSE, but am not sure how to get that result. I was using an IF(OR) function to lookup column 2, and then lookup column 3. I was receiving an error.

    Bank Holidays 2014 2015
    New Year's 1/1/2014 1/1/2015
    MLK 1/20/2014 1/19/2015
    President's 2/17/2014 2/16/2015
    Easter 4/20/2014 4/4/2015
    Memorial 5/26/2014 5/25/2015
    4th of July 7/4/2014 7/4/2015
    Labor Day 9/1/2014 9/7/2015
    Columbus Day 10/13/2014 10/12/2015
    Veterans' 11/11/2014 11/11/2015
    Thanksgiving 11/27/2014 11/26/2015
    Christmas 12/25/2014 12/25/2015

    Thanks,
    Scott

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Lookup Date in Table of Holiday Dates

    Assuming lookup date is in A1
    2014 date is in column B, 2015: column C
    try:

    =IFERROR(MATCH(A1,B:B,0)>0,IFERROR(MATCH(A1,C:C,0),0>1))
    Quang PT

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

    Re: Lookup Date in Table of Holiday Dates

    In c2 date to check

    in d2=or(c2=a1:b12) Control +Shift+Enter
    Last edited by CARACALLA; 10-14-2015 at 04:00 PM.

+ 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. Work out diffrence between 2 dates minus a couple of holiday range dates
    By wogboy112 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-20-2015, 07:04 AM
  2. Networkdays with holiday - start date falls on a holiday
    By skexcelforum in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-09-2014, 01:47 AM
  3. Find how many date between two dates but excluding Sunday and holiday
    By tantcu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-05-2013, 05:06 PM
  4. [SOLVED] IF function using WORKDAYS and a Bank Holiday list - trying to add new holiday dates
    By jowarks in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-05-2013, 05:42 AM
  5. Replies: 0
    Last Post: 01-17-2013, 06:51 AM
  6. [SOLVED] VBA Function that ignores dates in a Holiday Table
    By Sorbit in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-17-2006, 06:10 PM
  7. Returning Columns to a List Box for a Holiday LookUp Table
    By Noggy1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2005, 02:05 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