+ Reply to Thread
Results 1 to 7 of 7

VLOOKUP of Date

  1. #1
    Registered User
    Join Date
    05-15-2019
    Location
    Lake Forest, CA
    MS-Off Ver
    10 Pro
    Posts
    18

    VLOOKUP of Date

    I have a 2-column data set. The first column contains monthly dates over a period of years in the dd/mm/yy format. The second column contains the data.
    In my search-for field I insert a date in the mm/yy format. (I don't want to insert the exact date, just the month and year.) I want to return the data associated with that mm/yy date. How do I ask VLOOKUP to look for the last entry in that particular mm/yy, and then return the pertinent data?

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: VLOOKUP of Date

    Can you attach a sample showing some data and what you want as your result mocked-up?

    Go Advanced -> Manage Attachments -> Upload

  3. #3
    Registered User
    Join Date
    05-15-2019
    Location
    Lake Forest, CA
    MS-Off Ver
    10 Pro
    Posts
    18

    Re: VLOOKUP of Date

    I think I attached the file correctly. THANKS for the help.
    Attached Files Attached Files

  4. #4
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: VLOOKUP of Date

    Try this;
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: VLOOKUP of Date

    may be the below formula will work in your case
    =VLOOKUP(EOMONTH(F4,0),C4:D11,2,1)
    Note: The Column C must be in ascending order then only the above formula will give correct answer
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Registered User
    Join Date
    05-15-2019
    Location
    Lake Forest, CA
    MS-Off Ver
    10 Pro
    Posts
    18

    Re: VLOOKUP of Date

    WONDERFUL, that worked. What I was missing was knowledge of EOMONTH. Now I know!

  7. #7
    Registered User
    Join Date
    05-15-2019
    Location
    Lake Forest, CA
    MS-Off Ver
    10 Pro
    Posts
    18

    Re: VLOOKUP of Date

    THANKS! This is also helpful.
    Last edited by mcarver49; 05-15-2019 at 01:54 AM.

+ 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] Excel VBA 2016 32bit - Vlookup Date after date typed in and return value from named range
    By theshybutterfly in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-27-2017, 02:34 AM
  2. [SOLVED] vlookup between 2 worksheets, return yes/no if date is between date range
    By mmor5 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-05-2017, 03:09 PM
  3. need to vlookup a date and Need to sum a column based on a date
    By Rossovich in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-10-2015, 02:01 PM
  4. Replies: 0
    Last Post: 11-16-2015, 08:57 AM
  5. [SOLVED] Converting Date Text to Number format to use in a VLOOKUP to polpulate data based by date
    By Rossovich in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-08-2015, 10:43 AM
  6. Replies: 2
    Last Post: 12-21-2013, 07:44 PM
  7. Replies: 4
    Last Post: 07-13-2011, 05:43 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