+ Reply to Thread
Results 1 to 7 of 7

Array formula to extract information in-between two dates

Hybrid View

  1. #1
    Registered User
    Join Date
    05-24-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Array formula to extract information in-between two dates

    Thank you for your tip:
    Small Example attached
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    09-11-2009
    Location
    Paris
    MS-Off Ver
    Excel 2003
    Posts
    102

    Re: Array formula to extract information in-between two dates

    slt,
    see attached file for your reference,

    Hope this helps!
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-24-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Array formula to extract information in-between two dates

    Wow!!! SUMPRODUCT you are one clever dude!!
    Thank you very much!!

  4. #4
    Registered User
    Join Date
    05-24-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Array formula to extract information in-between two dates

    Hi duanzhuanming,

    I find this SUMPRODUCT formula very unstable. It works well will little data but as soon as the data grows, it gives weird behavior.
    Attached is an example where I added more data then the formula "broke". To proof the point easily I changed the "Place visited" to the persons name so that it is easy to see inconsistencies.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    09-11-2009
    Location
    Paris
    MS-Off Ver
    Excel 2003
    Posts
    102

    Re: Array formula to extract information in-between two dates

    Quote Originally Posted by Kayees View Post
    Hi duanzhuanming,

    I find this SUMPRODUCT formula very unstable. It works well will little data but as soon as the data grows, it gives weird behavior.
    Attached is an example where I added more data then the formula "broke". To proof the point easily I changed the "Place visited" to the persons name so that it is easy to see inconsistencies.
    Hi,
    The formula will return the incorrect value if it finds two true conditions! you can see the attached shot! on the same day(08/02)--> 2 different places! In this case, using "If" function instead of Sumproduct
    =IFERROR(INDEX(Database!$A$11:$A$225,MIN(IF((Database!$C$11:$C$225<=B$2)*(Database!$D$11:$D$225>=B$2)*(Database!$A$11:$A$225=$A3),ROW(Database!$B$11:$B$225)-10,6553655))),"")
    Confirmed with Ctrl+shift+Enter!
    see attached file,
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by duanzhuanming; 05-25-2013 at 05:03 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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