+ Reply to Thread
Results 1 to 7 of 7

dividing substrings with xml.filter

  1. #1
    Forum Contributor
    Join Date
    02-27-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    2013
    Posts
    425

    dividing substrings with xml.filter

    Hi,

    I have a column of strings containing substrings, which are divided by a blank space. I would like to split the substrings into the subsequent cells using the xml.filter function. Some substrings contain a blank space in themselves and should not be divided. So the substring "John Williams" should stay one substring instead of two.

    How can this be done with a xml filter function?
    Attached Files Attached Files

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: dividing substrings with xml.filter

    If you are actually using 2013 as your profile says, you don't have that function...

    You could use a quote followed by a space as the delimiter based on that sample data.
    Rory

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

    Re: dividing substrings with xml.filter

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If you are actually using 2013 as your profile says, you don't have that function...
    I though it came out in 2013.
    Attached Files Attached Files

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: dividing substrings with xml.filter

    Quote Originally Posted by Fluff13 View Post
    I though it came out in 2013.
    You're right - my mistake. I thought it originated in 2016 but I just checked the docs. Apologies to Maarten!

  5. #5
    Forum Contributor
    Join Date
    02-27-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    2013
    Posts
    425

    Re: dividing substrings with xml.filter

    @ Rorya, no problem
    @ Fluff13, thanks that works great!

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: dividing substrings with xml.filter

    @MaartenRo

    If you have moved on from Excel 2013, please update your profile. Thanks.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    Re: dividing substrings with xml.filter

    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] Color substrings if between 2 substrings
    By Jonathan78 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-17-2021, 04:10 PM
  2. Creating substrings
    By VTEC in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-22-2013, 06:24 PM
  3. [SOLVED] VBA substrings in string
    By mikejclark in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-28-2013, 08:36 AM
  4. Find Substrings out of several
    By Kraen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-23-2010, 11:07 AM
  5. Substrings from String
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-23-2010, 05:08 PM
  6. [SOLVED] Macro Help for Substrings
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2006, 11:10 AM
  7. sum wrt substrings!
    By via135 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2006, 02:06 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