+ Reply to Thread
Results 1 to 7 of 7

Lookup 2 values - One Alphnumeric and other is Date.

  1. #1
    Registered User
    Join Date
    04-05-2016
    Location
    Delhi
    MS-Off Ver
    2013
    Posts
    21

    Lookup 2 values - One Alphnumeric and other is Date.

    I have 2 sets of data in same sheet.

    Table 1 and Table 2.

    Table 1 Contains Code, Date
    Table 2 Contain Code, Start_Date, End_Date, Value

    Need to fetch Value from Table 2 if Code = Code and Date >= Start_Date and Date<= End_Date

    Excel File attached.

    If someone can give me the formula for this I would highly appreciate.

    Thanks in Advance.

    Vetaal.
    Attached Files Attached Files
    Last edited by evilcreature; 04-05-2016 at 08:19 AM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Lookup 2 values - One Alphnumeric and other is Date.

    Paste this formula in H2 then double click the fill handle:
    Please Login or Register  to view this content.
    Let me know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,294

    Re: Lookup 2 values - One Alphnumeric and other is Date.

    I offer an option with the function AGGREGATE.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-05-2016
    Location
    Delhi
    MS-Off Ver
    2013
    Posts
    21

    Re: Lookup 2 values - One Alphnumeric and other is Date.

    Thank you Jetemc and Czeslaw. Some records are not getting fetched though. Please check row number 1236 to 1245 for which a corresponding entry in table 1 is available but not getting fetched.

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Lookup 2 values - One Alphnumeric and other is Date.

    After pasting this array formula* into H2, press the F2 key, then press Ctrl, Shift and Enter simultaneously, otherwise it will yield incorrect results:
    Please Login or Register  to view this content.
    Let me know if you have any questions.

  6. #6
    Registered User
    Join Date
    04-05-2016
    Location
    Delhi
    MS-Off Ver
    2013
    Posts
    21

    Re: Lookup 2 values - One Alphnumeric and other is Date.

    Perfect. Thank you so much JeteMC.

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Lookup 2 values - One Alphnumeric and other is Date.

    You're Welcome and thank you for the feedback. If you haven't already please take a moment to mark the thread 'Solved' using the thread tools link above your first post. I hope that you have a good day.

+ 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. Autofill a repeating alphnumeric series
    By Clutch Cargo in forum Excel General
    Replies: 0
    Last Post: 03-03-2015, 02:41 PM
  2. Extracting Text/Certain Numbers from Alphnumeric String
    By jjam103 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-12-2013, 06:45 PM
  3. [SOLVED] Lookup Date 14 days prior and add multiple values for that date into column
    By Shylmysten in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-03-2013, 02:15 AM
  4. lookup values by date
    By ShaylaMc in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-29-2012, 08:05 PM
  5. Sort Alphnumeric
    By Kellypeterson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-19-2012, 07:40 PM
  6. Lookup Date Value based on 3 Values
    By faucetguru in forum Excel General
    Replies: 5
    Last Post: 03-12-2009, 03:21 PM
  7. Alphnumeric formatting
    By cfyrefly in forum Excel General
    Replies: 0
    Last Post: 03-28-2005, 06:10 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