+ Reply to Thread
Results 1 to 4 of 4

Reading Text into Excel

  1. #1
    Registered User
    Join Date
    10-20-2008
    Location
    New York City
    Posts
    6

    Reading Text into Excel

    Hi, I have a couple of hundred of pages of data in a similar format, and wanted to see if there was some way in which I could input it into excel into columns as needed without having to make changes manually. The data is formatted as follows:

    ...
    TA454516 UNIBANCO-UNIAO DE BANCOS BRAS. S.A. SP
    UNIBANCO - UNIAO DE CAYMAN, ILHAS USD 140.663,25
    TA454753 BANCO VOTORANTIM S.A. SP
    ZURCHER KANTONALBAN SUICA CHF 1.710.000,00
    TA454983 BANCO SANTANDER S.A. SP
    TORONTO DOMINION IN CANADA USD 269.109,82
    ...

    Where each two lines correspond to one row entry; the first element is a serial number (TA454516 ), followed by a name (UNIBANCO-UNIAO DE BANCOS BRAS. S.A.), then a desingation of two characters in the end of the first line (SP). the second line has a name (UNIBANCO - UNIAO DE CAYMAN, ILHAS ), followed by a currency designation (USD), and then a number (140.663,25). Can I somehow do it with a macro? With the data as is, there is one space between every word. Thanks so much for your help.

    Thanks and regards,
    fergzzq

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191
    Do you want the two lines to be in one row after you're done or still in two rows?

  3. #3
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848
    Assumptions:
    No header row
    Data is in column A
    You don't want column A or gaps in rows after the splitting of the data.


    Remove the ' in front of the blue '*1 if you want the data in the column to be usable as numeric value - I'm guessing this is "European" formatting of numbers.


    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    10-20-2008
    Location
    New York City
    Posts
    6

    Thumbs up

    Perfect! Thank you so much I really appreciate the help!

+ 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. Replies: 11
    Last Post: 05-31-2010, 06:25 AM
  2. Toolbar text in excel vs word
    By EnergyEngineer in forum Excel General
    Replies: 2
    Last Post: 02-08-2008, 02:07 PM
  3. Excel Macro - Read excel & read excel range - save as text
    By se.sathish in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2008, 09:00 AM
  4. Excel to text, compare, text to excel
    By VishalkumarT in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-19-2007, 09:30 AM
  5. From info in text file to Excel fields
    By daniel_nh in forum Excel General
    Replies: 0
    Last Post: 02-11-2007, 03:19 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