+ Reply to Thread
Results 1 to 6 of 6

split text within an dynamic array does not work

  1. #1
    Forum Contributor
    Join Date
    09-15-2022
    Location
    Marseille, France
    MS-Off Ver
    O365 (PC) V 2303
    Posts
    265

    split text within an dynamic array does not work

    Hello guys:

    I do not understand why I cannot explode, within an existing dynamic array, in multiple arrays (columns) depending on a separator.

    Please see:

    split_text.jpg

    I would expect to get a table as a result with 3 columns. Instead, the function keep the first value, erase everything after the delimiter and return a single array with one word only, the first word.

    Any ideas?
    Attached Files Attached Files

  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: split text within an dynamic array does not work

    One way:

    =IFNA(DROP(REDUCE("",A3:A11,LAMBDA(a,b,VSTACK(a,TEXTSPLIT(b,"_",,1,0)))),1),"")
    Attached Files Attached Files
    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
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,209

    Re: split text within an dynamic array does not work

    Try this:

    =IFERROR(TEXTSPLIT(TEXTJOIN(",",,A3:A11),"_",","),"")
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    09-15-2022
    Location
    Marseille, France
    MS-Off Ver
    O365 (PC) V 2303
    Posts
    265

    Re: split text within an dynamic array does not work

    Thanks it works.

  5. #5
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,505

    Re: split text within an dynamic array does not work

    You can handle errors within Textsplit

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    09-15-2022
    Location
    Marseille, France
    MS-Off Ver
    O365 (PC) V 2303
    Posts
    265

    Re: split text within an dynamic array does not work

    Thanks JEC, even better indeed.

+ 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] 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
  2. [SOLVED] Filter and concat text as an dynamic array
    By v6093486218 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-13-2022, 11:29 AM
  3. Function to Split Bracket-Delimited Text into an Array
    By Monkihunta in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-09-2019, 11:56 AM
  4. [SOLVED] Read entire text file into array and split each line into name and value
    By webwyzard in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-06-2018, 01:08 PM
  5. Split text into array using multiple delimiters
    By TKFRMjarvis in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-26-2014, 03:07 PM
  6. [SOLVED] Split Array, Listing Marked Items in Split Arrays
    By lesoies in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-27-2013, 02:07 AM
  7. Dynamic Array with Text to Columns
    By sp00nix in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2006, 09:20 PM

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