+ Reply to Thread
Results 1 to 4 of 4

Array Pull With Transpose Between Two Dates? [Tricky Index/Match Formula]

  1. #1
    Registered User
    Join Date
    03-28-2010
    Location
    New York
    MS-Off Ver
    Office 365
    Posts
    57

    Question Array Pull With Transpose Between Two Dates? [Tricky Index/Match Formula]

    Hi Guys,

    I have the following Data in cells A1:

    Start Day Finish Day Vendor
    01/09/2017 03/09/2017 ABC
    03/09/2017 05/09/2017 DEF
    04/09/2017 06/09/2017 XYZ
    06/09/2017 08/09/2017 QWE
    06/09/2017 08/09/2017 ABC
    09/09/2017 11/09/2017 YOU
    10/09/2017 12/09/2017 ABC
    12/09/2017 14/09/2017 DEF

    In cells F1 onwards I am sequentially listing dates down like so:

    1/9/2017
    2/9/2017
    3/9/2017
    etc...

    I'd like to right a formula in cell G1 (that I can drag to the right) that enables me to pull all the vendors by day. For example, this is what the data would look like for the first few days starting in cell F1.

    01/09/2017 ABC
    02/09/2017 ABC
    03/09/2017 ABC DEF
    04/09/2017 DEF XYZ
    05/09/2017 DEF XYZ
    06/09/2017 XYZ QWE ABC

    I am essentially trying to create an array formula that will pull all the vendors available by a particular day (of which there are multiple listed over several days).

    Thanks very much!

    Larry

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Array Pull With Transpose Between Two Dates? [Tricky Index/Match Formula]

    =IFERROR(INDEX($C$2:$C$9,SMALL(IF(($F1>=$A$2:$A$9)*($F1<=$B$2:$B$9),ROW($C$1:$C$8)),COLUMNS($F$1:F$1))),"") as array formula

  3. #3
    Registered User
    Join Date
    03-28-2010
    Location
    New York
    MS-Off Ver
    Office 365
    Posts
    57

    Re: Array Pull With Transpose Between Two Dates? [Tricky Index/Match Formula]

    Hi Tim201110,

    Thanks for your quick response - it appears this formula works almost perfectly. The only issue is for 6/9/2017 this formula doesn't pull the value "ABC" which should be the third listed value.

    Thanks!

    Larry

  4. #4
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Array Pull With Transpose Between Two Dates? [Tricky Index/Match Formula]

    i think our Excels are different
    Attached Files Attached Files

+ 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: 4
    Last Post: 04-14-2017, 07:47 PM
  2. Replies: 3
    Last Post: 04-02-2016, 08:16 PM
  3. [SOLVED] INDEX MATCH and MIN/SMALL to pull first and second smallest values from array
    By tlafferty in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-18-2014, 04:03 AM
  4. Using the INDEX and MATCH Formula to pull costs.
    By AntP_ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-15-2014, 08:09 AM
  5. Replies: 6
    Last Post: 04-12-2013, 05:50 AM
  6. Replies: 8
    Last Post: 07-09-2012, 02:38 PM
  7. Tricky index and match
    By robbo46 in forum Excel General
    Replies: 1
    Last Post: 06-21-2011, 04:18 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