+ Reply to Thread
Results 1 to 5 of 5

extract the next future date with criteria from other column

  1. #1
    Registered User
    Join Date
    07-04-2011
    Location
    mexico
    MS-Off Ver
    Excel 2007
    Posts
    2

    extract the next future date with criteria from other column

    hi all

    i have a table of names (A1:A10) and dates (B1:B10). names can and do repeat. i need a formula that will help me extract the fitting date for a specific name that occurs in the future. i need this to establish for each name when is the next payment due.

    example:

    name date
    joe 1-8-11
    jack 20-6-11
    jack 5-7-11
    ben 15-5-11
    joe 13-4-10
    ben 20-9-10
    jack 1-1-2010

    so i want to make a formula that refers to another cell where i just put the name of the client and it gives me the next available date of payment (today is 1-7-11 so for jack it would answer 5-7-11 for Joe it would answer 1-8-11 and for Ben it would say that there is no future payment)

    the "=MIN(IF" option is good for giving me the earliest date number but not in the future.

    please help...i am stuck with a big project.

    a huge thanks in advance

  2. #2
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: extract the next future date with criteria from other column

    Hi, here is a possible solution (if I have understood correctly what you are trying to do).
    This can without doubt be done with a more efficient code, but this is what I have come up with.

    The formula in E4 must be entered with ctrl/shift/enter.
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: extract the next future date with criteria from other column

    I forgot to include message whwn there is no future date (see new attachment)
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-04-2011
    Location
    mexico
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: extract the next future date with criteria from other column

    I am throwing all my comic books!!! you are my new hero!!!!!!!!!!!!

  5. #5
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: extract the next future date with criteria from other column

    Aim to please:-D

+ 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