+ Reply to Thread
Results 1 to 5 of 5

Appending Dynamic Arrays

  1. #1
    Registered User
    Join Date
    02-03-2021
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    Office 365
    Posts
    3

    Appending Dynamic Arrays

    Hi everyone,

    Is there any way to append dynamic arrays?

    For example, imagine having two dynamic arrays:
    =SEQUENCE(4,1,1,1)
    and
    =SEQUENCE(4,1,1,2)

    So that would be:
    {1,2,3,4}
    and
    {1,3,5,7}

    Is there any formula append the second one to the first one? Getting a dynamic array {1,2,3,4,1,3,5,7}.

    I plan to do this for more than two dynamic arrays.

    See 'DA workbook' for my dynamic arrays and the results I am after.

    P.S.

    My ultimate goal is to use the start and end dates of a list of projects (see left table in 'workbook') to create a new column (inside right table) that finds the ongoing project for each date in a year. So, 'Project ID', 'Start Date' and 'End date' are what I have (blue). 'Ongoing project' is what I need (yellow).

    Thank you,

    Coen
    Attached Files Attached Files
    Last edited by cgbakker; 02-03-2021 at 01:39 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Appending Dynamic Arrays

    What is the connection between the text and the picture?

    If the picture is relevant, please upload the sheet, not a picture of the sheet.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    02-03-2021
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Appending Dynamic Arrays

    I now see the reminder to not 'cross-post'. Will delete post on other forum. Relatively new to these forums.

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Appending Dynamic Arrays

    Sheet F2
    =TEXTJOIN(",",,REPT(LeftTable[Project ID],(E2>=LeftTable[Start Date])*(E2<=LeftTable[End Date])))

    Sheet1 B2
    =FILTERXML("<x><m>"&TEXTJOIN("</m><m>",,A2#,B2#)&"</m></x>","//m")
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-03-2021
    Location
    Amsterdam, The Netherlands
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Appending Dynamic Arrays

    Thank you, Bo_Ry.

+ 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. Dynamic Arrays, Dynamic Drop down list, Filters and multiple rows
    By Big_Kev007 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2020, 06:35 AM
  2. Dynamic Arrays
    By Subtle in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-19-2017, 09:09 AM
  3. [SOLVED] Dynamic arrays
    By Rockafella in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-22-2012, 08:30 AM
  4. Using Dynamic Arrays
    By ozi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-27-2007, 09:35 AM
  5. Dynamic Arrays
    By chaz in forum Excel General
    Replies: 1
    Last Post: 05-22-2006, 07:50 PM
  6. [SOLVED] Dynamic arrays
    By Driver in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 11-07-2005, 06:15 PM
  7. Dynamic Arrays
    By Chiba in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 09-06-2005, 12:05 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