+ Reply to Thread
Results 1 to 6 of 6

Vlookup Based on Date

  1. #1
    Registered User
    Join Date
    07-27-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    41

    Vlookup Based on Date

    I am trying to put together a schedule in excel 2003 to return the applicable application date for a project dependent on the given month the schedule is being viewed.

    I attempted long combination of IF & VLookup but excel 2003 doesnt allow me adequate space to complete the formula. Is there an alternative way?

    Example attached
    Attached Files Attached Files
    Last edited by MjRmatt; 03-24-2011 at 11:32 AM.

  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: Vlookup Based on Date

    Hi Matt,

    First format B2 on Summary as a date rather than text.
    Now ensure all your dates on row 2 of the Applications sheet are proper dates, e.g. 1/1/2011, 1/2/2011, etc. After March they were just text.

    Now the formula in C4 of Summary is
    Please Login or Register  to view this content.
    Note that this is an array formula and must be entered with Ctrl-Shift-Enter. This is necessary since presumably any date could be entered in B2. If B2 always contains the first of any month then you could use the non array formula

    Please Login or Register  to view this content.
    HTH
    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
    Registered User
    Join Date
    07-27-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    41

    Re: Vlookup Based on Date

    Many thanks, I cannot however get this to work. I have attached an updated example using your code, where am I going wrong?
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-27-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    41

    Re: Vlookup Based on Date

    I also didnt point out that there will be multiple projects, hence my original use of vlookups. Can this formula be modified to match both the date entered with the relevant application date and return values based for multiple projects?

  5. #5
    Registered User
    Join Date
    03-17-2011
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Vlookup Based on Date

    Heres an updated spreadsheet with logic to lookup the project name and the application date based on user input for month and project#.

    Edited file 12:15est
    Attached Files Attached Files
    Last edited by mrc1386; 03-24-2011 at 12:14 PM.

  6. #6
    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: Vlookup Based on Date

    Hello Matt,

    Yes you just need to include another MATCH() function to find the Project name. See attached.

    Regards
    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)

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