+ Reply to Thread
Results 1 to 6 of 6

Convert text to columns will not work

  1. #1
    Registered User
    Join Date
    03-20-2010
    Location
    Sussex
    MS-Off Ver
    Excel 2007
    Posts
    5

    Convert text to columns will not work

    My bank sends me my monthly statement as a csv file which I have quite easily copied into excel 2007. I want to be able to use some of the data to assist in producing my annual tax return.
    The problem I have it seems the amount's in the 3 columns listed credit , debit and total are not numbers but text. I have tried most of the suggestion's listed on here to convert these columns to currency or accounting but nothing seems to work. Doesn't matter how the cells are formatted nothing changes, Iv copied a cell containing 1 and pasted special multiply to all the cell concerned but the cells refuse to change.
    I have attached a small section of the workbook, I just want to be able to do calculations on the cells containing numbers.

    Many thanks
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Convert text to columns will not work

    hi Lynton. a Merry Christmas to you. you have non-breaking spaces in those cells. select any one of them & press F2. notice your cursor is a little behind the numbers. highlight a single character, press CTRL + C to copy, & then escape. press CTRL + H to find & replace
    paste what you copied into the Find What. Replace All with nothing

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    03-20-2010
    Location
    Sussex
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Convert text to columns will not work

    Hi, Many thanks for replying so quickly even on Christmas day. I understand what you say and tried what you said but couldn't get the paste what you copied into the Find what, Replace all with nothing to work,
    I now see the last character in each cell is a "non-breaking space" and if i go into each cell and manually delete the last character everything works fine.
    Is the a way to do that for a column at a time.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Convert text to columns will not work

    You could try this in helper columns...
    Copy this to F2:Hxxx....
    =IFERROR(IF(ISTEXT(C2),LEFT(C2,LEN(C2)-1)*1,C2),"")
    You could then either keep that and use that in your calcs, or copy/paste values over the original numbers
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Convert text to columns will not work

    You need this formula to clean up your data

    In F2

    =IFERROR(--SUBSTITUTE(C2,CHAR(160),""),"")

    Drag it down and across
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Convert text to columns will not work

    I just tried Text to Columns for the dates in your data and it works just fine.

    Select all the dates. Click on Text to Columns, Click Next, Next, Select Date and DMY as the format (that is the format of the dates) click Finish. Done. All the dates are now real dates.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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] Use VBA to run "text to columns' Loop on first row to convert from text to date format
    By csmiley in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-03-2013, 02:06 PM
  2. [SOLVED] Convert Text to columns
    By yng in forum Excel General
    Replies: 4
    Last Post: 03-28-2012, 07:44 PM
  3. Convert text to columns
    By simon4amiee in forum Excel General
    Replies: 4
    Last Post: 12-11-2011, 02:14 PM
  4. Convert Text to Columns with Excel 2007 beta does not work well
    By Martin in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-07-2006, 10:20 AM
  5. Macro for Text to Columns - convert to text or general
    By goofy11 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-15-2005, 11: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