• need to remove the xml code from a cell

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » need to remove the xml code from a cell

    Author
    Topic
    #472140

    I have a sql database having xml fields for phone numbers, when I transfer the field to excel i get a lot of unwanted xml code

    here is an example

    1
    Travail
    450-430-2000
    </Teleph

    How can I remove everthing but the 10 didgit phone number or just extract into another cell the 10 didgit 0r 12 character phone number.

    Richard

    Viewing 1 reply thread
    Author
    Replies
    • #1248243

      I found a way using the find and subtring function, but i need to find three distinct area codes 514 ou 450 or 819

    • #1248297

      You can do a 3 finds (grouped with an OR) for “514-“, “450-” , and “819-”

      Steve

    Viewing 1 reply thread
    Reply To: need to remove the xml code from a cell

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: