+ Reply to Thread
Results 1 to 4 of 4

Numbers in a column in different formats.

  1. #1
    Registered User
    Join Date
    08-01-2011
    Location
    Reading, England
    MS-Off Ver
    Excel 2003
    Posts
    13

    Numbers in a column in different formats.

    Hi
    I have been sent a spreadsheet containing a column with numbers displayed in different ways; please see attached spreadsheet. I've tried various things using Format Cells and the Trim formula, in an attempt to get these values looking the same. Please can someone help? It would be really useful to know the reason and how to overcome it for future, rather than just being sent the result, as this is bound to happen again.
    Thank you very much in advance!

    Wendy Collins
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Numbers in a column in different formats.

    Hi,

    You have many occurrences of a non-printable character (ASCII code 160) amongst your entries.

    If you have a numeric keypad (unfortunately this doesn't work using the numbers at the top of the keyboard) then you can do a Find & Replace on your data with:

    Find what: [hold down ALT and press 0160 on the numeric keypad]
    Replace with: [leave blank]

    If you aren't able to do that, a formula in B1:

    =0+SUBSTITUTE(A1,CHAR(160),"")

    and copied down, will remove those characters and convert your data to numerical format.

    Regards
    Last edited by XOR LX; 06-27-2014 at 02:43 AM.
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Numbers in a column in different formats.

    Use find & replace

    select the range
    press Ctrl + H
    Type "," in Find what and click on replace all
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Numbers in a column in different formats.

    Select the cells you want to change the format and run this code.
    Please Login or Register  to view this content.
    ________________________________________________________
    If your problem is solved, update the thread as SOLVED: Go to the top of the first post-Select Thread Tools-Select Mark thread as Solved OR - Go to the first post - Click edit- Click Advance- Just below the word "Title:" you will see a dropdown with the word No prefix.- Change to Solve- Click Save.

    Show your gratitude to the person who helped you solving your problem by clicking on star button at the bottom of such post.

+ 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. formats dates into numbers
    By dwarford101 in forum Excel General
    Replies: 3
    Last Post: 09-08-2009, 11:54 AM
  2. V-Lookup for numbers in various formats
    By rena in forum Excel General
    Replies: 4
    Last Post: 08-16-2007, 04:15 PM
  3. Replies: 7
    Last Post: 03-16-2006, 08:55 PM
  4. Custom formats to round numbers such as 465,123 to 465,000
    By malcolmt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-07-2006, 08:50 PM
  5. [SOLVED] Copying formats - column widths, formats, outlining to worksheets
    By DavidBr318 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-17-2005, 09:05 AM

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