+ Reply to Thread
Results 1 to 14 of 14

Excel 2013: Cells to Numbers

  1. #1
    Registered User
    Join Date
    01-30-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    6

    Excel 2013: Cells to Numbers

    Hello,

    I'm working on excel document, but despite my efforts, I can't convert B and D columns to numbers. I tried tips that were given by MS and some Youtube tutorials, but nothing seems to be helpful.
    All numbers align on the left side, instead of right and formulas such as average and sum doesnt seem to work. Any Ideas?

    I'm attaching sample columns from the document, hope its enough information about my problem.

    https://www.dropbox.com/s/ebe4767tg6...20Example.xlsx


    Thanks,

    Image

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Excel 2013: Cells to Numbers

    I can't access a drop box from work, what things have you tried?
    There are many ways you can do it. One way I used to do (if you don't want to use a reference cell like =A2*1 in B2 for example) is I've done a find and replace for each number from 0 to 9, this has always worked for me, you have to run it 10 times but it has always worked.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Excel 2013: Cells to Numbers

    Suggest you post your spreadsheet within the forum. Many people work in offices that do not allow access to Cloud locations. To attach a file in the forum:

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    01-30-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Excel 2013: Cells to Numbers

    This should be it

    Forum Example.xlsx

  5. #5
    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,929

    Re: Excel 2013: Cells to Numbers

    Hi and welcome to the forum

    try this in a helper...
    =LEFT(B2,LEN(B2)-1)*1
    you have a trailing space at the end of your data
    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

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Excel 2013: Cells to Numbers

    It appears to me that your values in col B have a space at the end of them.
    You could do a find " " and replace all (leaving blank) and that would get rid of those, also the trim function.

  7. #7
    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,929

    Re: Excel 2013: Cells to Numbers

    Sambo, trim() doesnt work you have to actually remove it

  8. #8
    Registered User
    Join Date
    01-30-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Excel 2013: Cells to Numbers

    Omg, this actually so simple, thank a alot.

    I tried seaching for a "space" but it doesnt seem to work, any automated way to get rid of spaces by column or I will have to do it manually?

  9. #9
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Excel 2013: Cells to Numbers

    FD, I don't use Trim much myself but I thought it might work in the context of if the OP was trying to use a formula that referenced the cell w/the space. Thought that might work for them.

  10. #10
    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,929

    Re: Excel 2013: Cells to Numbers

    @ Sambo, I know what you mean, I tried it 1st too

    @ Image, copy my formula to a helper, copy down. Then, if you dont want the formula, copy/paste values over the original data - delete the helper

  11. #11
    Registered User
    Join Date
    01-30-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Excel 2013: Cells to Numbers

    Ah it works, like magic.

    Thank you all for prompt response and help

  12. #12
    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: Excel 2013: Cells to Numbers

    in E3 and copy formula down

    =--SUBSTITUTE(D3,CHAR(160),"")
    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

  13. #13
    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,929

    Re: Excel 2013: Cells to Numbers

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  14. #14
    Valued Forum Contributor
    Join Date
    10-14-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2019
    Posts
    353

    Re: Excel 2013: Cells to Numbers

    I solved it with VBA (macro)
    Attached Files Attached Files
    Kind regards,
    Piet Bom

+ 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] highlight when specific text appears multiple times in a range of cells - excel 2013
    By Onefynebarraza in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 10-14-2013, 09:06 AM
  2. excel 2013 and autocad 2013 LT
    By drailed in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-25-2013, 03:05 PM
  3. Excel 2013: Paste Data into Visible cells only
    By nikams_85 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-15-2013, 03:26 AM
  4. Selecting Multiple Cells using VBA in Excel 2013
    By Jazzzbo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-22-2013, 07:13 PM
  5. Link Excel 2013 to Word 2013
    By drosen99 in forum Word Formatting & General
    Replies: 20
    Last Post: 02-26-2013, 08:20 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