+ Reply to Thread
Results 1 to 9 of 9

Look Up Values Between Dates

  1. #1
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Thumbs up Look Up Values Between Dates

    Hi,

    Conducting a financial reviews & seeking to modify this function to look up / index whole table instead of single column's but still give same type of results per column


    '=LOOKUP(2,1/($D$23:$D$87>=C5)/($D$23:$D$87<=C6),F23:F87)

    Will a VLookup work if can add between dates portion?

    See example file

    Thanks again for assistance
    Attached Files Attached Files
    Last edited by mycon73; 01-18-2019 at 11:04 AM.
    MyCon
    -- Using Latest Version of Excel

  2. #2
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Look Up Values Between Dates

    Hi

    Does anyone have a solution?

    Cell D9

    I modified to this but it's not working

    =INDEX(D23:G39,MATCH(1,IF(E23:E39>=D5,IF(E23:E39<=D6,1)),0))

    What's missing or needs to be modified?


    Thanks
    Last edited by mycon73; 01-13-2019 at 01:44 PM.

  3. #3
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Look Up Values Between Dates

    Hi Group,

    How to modify one of these or get solution to get desired results?

    =LOOKUP(2,1/($D$23:$D$87>=C5)/($D$23:$D$87<=C6),F23:F87)

    =INDEX(D23:G39,MATCH(1,IF(E23:E39>=D5,IF(E23:E39<=D6,1)),0))

    Looking to simply worksheet because I have a relatively large or number of years to cover

    Thanks

  4. #4
    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: Look Up Values Between Dates

    ...and what's the monthly balance when the table has several cells for the same date?
    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.

  5. #5
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Look Up Values Between Dates

    Richard Buttrey

    If there are duplicate dates, then 2 or more payments were made during same month

    I suppose the higher balance should be captured along with full payments made during the month

    Is this doable or make function a bit more complex?

  6. #6
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Look Up Values Between Dates

    Hi Group

    How to find value within table that between specific dates?

    Date Due Monthly Balance Minimum Due Amount Paid


    This works well if looking at date column & desired column but looking to minimize all the Name Manager inputs for 12 + worksheets


    Thanks

  7. #7
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Question Re: Look Up Values Between Dates

    Hi Group

    Still conducting financial reviews & seeking a way to either modify this function to look up / index whole table instead of single column's & get same types of results per column.


    In my work file, I have multiple worksheets & the following function works well if name ranges or pointing to specific columns are defined.

    =LOOKUP(2,1/($D$23:$D$87>=C5)/($D$23:$D$87<=C6),F23:F87)

    Looking for ways to fast track the process or look up, vlookup, index the whole table instead.

    In some of my tables, there may be multiple transactions within the same month. Not sure how to capture these - Primarily interested with Total Amount Paid per month


    See example file

    Thanks again for assistance
    Attached Files Attached Files

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Look Up Values Between Dates

    Please try at C12 drag to N12 and drag down

    =SUMIFS(INDEX($E$26:$G$99,,ROWS(C$12:C12)),$D$26:$D$99,">="&C$8,$D$26:$D$99,"<="&C$9)
    Attached Files Attached Files

  9. #9
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Look Up Values Between Dates

    Hi Bo_Ry

    This works great!!

    Awesome solution to (semi) complex scenario!!

+ 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. Replies: 7
    Last Post: 08-30-2016, 12:48 PM
  2. [SOLVED] Skipping dates have blank values and plot remaining dates.
    By Sekars in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-31-2016, 11:15 AM
  3. Adding values between dates and Dates are derived from formula
    By jenita.kurlawala in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-09-2013, 04:03 AM
  4. Replies: 2
    Last Post: 10-21-2013, 07:55 PM
  5. Replies: 7
    Last Post: 05-02-2013, 09:50 PM
  6. [SOLVED] Request a Macro to Convert data into Dates (Multiple Dates Values separated by Line)
    By seenai in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-30-2012, 02:28 AM
  7. [SOLVED] Averaging values if desired dates fall between range of dates
    By gbcpurdue in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2012, 02:51 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