+ Reply to Thread
Results 1 to 4 of 4

Text to Columns / Split first & last text in string

  1. #1
    Registered User
    Join Date
    01-13-2021
    Location
    Dallas, OR
    MS-Off Ver
    2019
    Posts
    2

    Text to Columns / Split first & last text in string

    Hi All,
    Sorry if this has already been asked - but I couldn't find one with a quick browse.

    I am basically trying to do something like Text to Columns, but I am wanting to split the first and last text in a string. The first value is a date and the last value is a number ex: 17.54

    I am copy/pasting bank statement transactions into a spreadsheet and want to easily separate the date and amount. I use text to columns for the date usually.

    I attached a sample with what pastes into the spreadsheet, and what I want it to look like.

    Thanks in advance!!!

    Rox.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Text to Columns / Split first & last text in string

    Easily solved using formulas.


    B1 =LEFT(A1,5)
    C1 =RIGHT(A1,LEN(A1)-FIND("¬",SUBSTITUTE(A1," ","¬",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))


    As a Macro:

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 01-13-2021 at 04:28 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,187

    Re: Text to Columns / Split first & last text in string

    deleted------------

  4. #4
    Registered User
    Join Date
    01-13-2021
    Location
    Dallas, OR
    MS-Off Ver
    2019
    Posts
    2

    Re: Text to Columns / Split first & last text in string

    Thank you! I new it had to be something simple. I am sure I was overthinking it!!

+ 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. Formula(s) to Split Text String Across Columns Using Columns as Seperator
    By WaylettChris in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-24-2016, 01:13 PM
  2. [SOLVED] complex split string (delimit-text to columns)
    By EXLwiz in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 05-09-2014, 09:59 AM
  3. Replies: 2
    Last Post: 04-09-2014, 11:48 AM
  4. [SOLVED] Split text string into 5 columns
    By Desree86 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 01-14-2014, 10:07 AM
  5. Advanced Split Function: Need to pull text string in quotes, within a text string
    By Zamboni in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-27-2013, 04:38 PM
  6. Replies: 4
    Last Post: 07-25-2013, 05:28 AM
  7. Split text string to different columns
    By liarliar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2008, 09:13 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