+ Reply to Thread
Results 1 to 2 of 2

Lookup value in table (not unique) and check if date is within range, then code from table

  1. #1
    Registered User
    Join Date
    07-10-2014
    Location
    England
    MS-Off Ver
    Office 2010
    Posts
    13

    Lookup value in table (not unique) and check if date is within range, then code from table

    Hi

    I am trying to figure out if this is possible. I have attached an example spreadsheet.

    I have made the Holiday Tracker on the attached. It can change to display any month and also includes Public/Bank Holidays. What I would like to do is if the day is not a public holiday, lookup by name to see if person has a holiday already booked on the selected date. These are specified in another table on the Calculations sheet. If they have a holiday, then I want to return the value from the Code column of the holidays table on the Calculations sheet.

    So on my attached spreadsheet, I want to have the code HH for dates between 30/03/15 and 10/04/15 that are not Public Holidays. HH again for 01/03/15 - 02/03/15, SI for 03/03/15 and AA for 05/05/15, all on the Holiday Tracker.

    Is this possible with one formula in a cell?
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-07-2013
    Location
    Brussels
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Lookup value in table (not unique) and check if date is within range, then code from t

    Not clear to me! was thinking of "=VLOOKUP([vacation day];$S:$W;4;FALSE)" but ??!

+ 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] A lookup function based on two criteria; one unique & one not unique to the lookup table
    By Trevasaurus in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2014, 11:35 AM
  2. [SOLVED] code that will check the date from a table if its MM/YY is current and if not then date=YY
    By richzter in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-24-2014, 10:27 PM
  3. [SOLVED] Code to move data from an entry table to a historical table by date.
    By rlh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-17-2014, 11:04 AM
  4. [SOLVED] Collate (lookup) Multiple orders at the same time, based on DATE range in a table
    By Prodschdler in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-05-2013, 05:19 PM
  5. Replies: 4
    Last Post: 07-22-2013, 03:43 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