+ Reply to Thread
Results 1 to 4 of 4

Need a formula to return an ARRAY prior to dynamic array functions - cannnot do it

Hybrid View

  1. #1
    Registered User
    Join Date
    09-02-2022
    Location
    Geneva, Switzerland
    MS-Off Ver
    O365
    Posts
    2

    Need a formula to return an ARRAY prior to dynamic array functions - cannnot do it

    OK, I am new here, so go easy on me, please.

    I have a matrix of data and I want a formula that will return an ARRAY where I need the formula to locate a single column (based on date) and then find all rows in that column that have a 1 in them, then return the contents of a different column for those rows. Gosh, its so hard to explain, especially when I've spent hours trying every conceivable thing to solve it.

    The catch: It has to work pre-dynamic array functions. I can do this formula easily in O365 using the filter function:

    =FILTER(E2:E9,FILTER(H2:AG9,H1:AG1=C11)=1) where H1:AG1 is a row with dates, and C11 is the date I'm looking for.

    As I am sure my description is horrid, I've attached a simple workbook to explain Excel-Help-Array-PreDynamic.xlsx.

    I hope someone can help with this!

    Thanks so much.
    Jim

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,741

    Re: Need a formula to return an ARRAY prior to dynamic array functions - cannnot do it

    How about in E13 dragged down
    Formula: copy to clipboard
    =IFERROR(INDEX($E$2:$E$9,AGGREGATE(15,6,(ROW($E$2:$E$9)-ROW($E$2)+1)/($H$2:$AG$9=1)/($H$1:$AG$1=$C$11),ROWS(E$13:E13))),"")

  3. #3
    Registered User
    Join Date
    09-02-2022
    Location
    Geneva, Switzerland
    MS-Off Ver
    O365
    Posts
    2

    Re: Need a formula to return an ARRAY prior to dynamic array functions - cannnot do it

    Hi, Fluff13

    Yeah, that will do it. THANKS! Honestly, I had seen reference to using Index and Aggregate in this manner during my search, but had
    it stuck in my head that the single formula needed to return the entire array and that. However, for my purpose, dragging down the formula in this way works just fine.

    So, THANKS AGAIN!

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,741

    Re: Need a formula to return an ARRAY prior to dynamic array functions - cannnot do it

    Glad to help & thanks for the feedback.

+ 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. [SOLVED] Search date + X days prior with Array Formula
    By whoisdane in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-07-2022, 12:15 PM
  2. Xlookup with dynamic return array
    By nmarcon in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-01-2022, 11:26 AM
  3. [SOLVED] COUNT Dynamic Array based on Date to return Dynamic Array Spill Range
    By dluhut in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-06-2022, 01:14 PM
  4. Joining columns vertically with dynamic array functions
    By Marbleking in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-19-2021, 09:43 AM
  5. Combining dynamic array functions
    By Quadhurst in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-22-2021, 03:49 PM
  6. Dynamic Row Lookup Array within Array formula
    By OLLY-7 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-17-2014, 04:55 PM
  7. VBA: Transferring Dynamic Array with data between functions
    By Sugarray in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-10-2012, 10:35 AM

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