+ Reply to Thread
Results 1 to 8 of 8

Text to column funtion.

  1. #1
    Registered User
    Join Date
    12-23-2011
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    5

    Text to column funtion.

    I’m using Windows 7 and Excel 2007. I have a problem with text to columns. I import daily trades from my brokerage. It looks like this: 03/30/2015 14:32:52. The spaces between the date and the hour are not being recognized by any of the delimiters. Fixed width works fine . I would like to turn the process into a macro using delimiters. Does anyone have an suggestions?

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Text to column funtion.

    It may be an invisible character. Assuming A1 has the full original string: "03/30/2015 14:32:52", type =CODE(MID(A1,11,1)).

    This will give you the value of the worksheet CHAR() or VB ASC() you need to delimit upon.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    12-23-2011
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Text to column funtion.

    Thanks Daffodil. The code was 160. Unfortunately, I don't know what to do with it now that I have it. I tried putting "160" in the "other" check box but it only accepts 1 character. Hope you can get me the rest of the way. David

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Text to column funtion.

    Sure, in a cell put =CHAR(160).

    Then copy that cell and paste values in another cell.

    Enter that cell with F2, and hit Ctrl+A to select the hidden character, and Ctrl+C.

    Now go to the delimiter in Text to Columns, and paste it in there.

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Text to column funtion.

    With the cursor in the Other box, enter ALT + 0160 (you should see the cusor move a space to the right)
    That worked for me
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  6. #6
    Registered User
    Join Date
    12-23-2011
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Text to column funtion.

    Just to be clear; there is no "+" before the "0160" correct?

  7. #7
    Registered User
    Join Date
    12-23-2011
    Location
    new york
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Text to column funtion.

    Paste it where? in the "other" box. Did it. Does not work. How do I send you a spreadsheet? I'll show you what Im trying to do. Thanks David

  8. #8
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Text to column funtion.

    To attach a workbook
    Go Advanced>Manage Attachments

+ 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. If Funtion column references
    By Amarjeet Singh in forum Excel General
    Replies: 2
    Last Post: 03-26-2015, 09:22 AM
  2. Filter column by text, then export column to new workbook, replace searched text with new.
    By Headhunter234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2015, 07:48 AM
  3. [SOLVED] Using the divide funtion on a column
    By cgsweger in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2014, 08:33 AM
  4. [SOLVED] how to Use COUNTIFS funtion with the criteria_range1 to be a column.
    By freeSky in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-27-2012, 11:42 PM
  5. Text funtion, but display as %?
    By trillium in forum Excel General
    Replies: 6
    Last Post: 02-27-2012, 10:46 AM
  6. HELP with IF funtion for TEXT
    By allman764 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-18-2006, 04:07 AM
  7. Help with combining text and a funtion
    By cwarrenpcm3 in forum Excel General
    Replies: 2
    Last Post: 04-19-2005, 05:34 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