+ Reply to Thread
Results 1 to 4 of 4

return rows based on MIN & MAX dates

  1. #1
    Registered User
    Join Date
    05-04-2006
    Posts
    56

    return rows based on MIN & MAX dates

    Hi,
    I'm having a bit of an issue returning a row/s from a table of data within a specified date range.

    I've used OFFSET(...MATCH... to return rows based on matching a number, but now I need to return many rows that are within the specified date range.

    I have attached a spreadsheet to illustrate:
    DATA A4:J10
    DATE MIN C16
    DATE MAX F16
    output range B21:J28

    If I were to enter 5/1 in DATE MIN and 10/4 in DATE MAX i would like Project #'s 2, 1 and 3 (see C3) to appear in the output range.

    Any direction is greatly appreciated .
    Cheers
    Cam
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Not sure if this helps...

    Try this in C21:

    Please Login or Register  to view this content.
    confirm this formula by holding the CTRL+SHIFT keys down and then pressing ENTER... you will see { } brackets appear around the formula.

    Then copy the formula down and to the right....

    Is that what you are looking for?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-04-2006
    Posts
    56
    Awesome

    It seems to duplicate the first output row.
    the rows read:
    proj 2
    proj 2
    proj 1
    proj 3

    But I can maybe get rid of that.

    Thanks very much!
    Cam

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Sorry minor glitch in the formula (I had -1 instead of +1) this one should work correctly, not giving duplicates....

    Please Login or Register  to view this content.

+ 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