+ Reply to Thread
Results 1 to 13 of 13

Can't Change Number of Digits After Decimal

  1. #1
    Registered User
    Join Date
    06-16-2017
    Location
    Columbia, MO
    MS-Off Ver
    Office 2007
    Posts
    16

    Can't Change Number of Digits After Decimal

    Hello all,

    I've attempted to change the number of digits shown via the 'Format Cells' right click option and the decimal button in the ribbon to no avail. Any idea as to why it won't take? Yes, I've tried different options in the drop down menu of the ribbon and options on the left of 'Format Cells'. The prior owner of the spreadsheet had the 5150.5 as "General" in the drop down.

    decimal1.PNG decimal2.PNG decimal3.PNG

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Can't Change Number of Digits After Decimal

    It looks like the number is stored as text.

    Select the column, Data > Text to columns, Finish.

    Then try formatting.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Can't Change Number of Digits After Decimal

    Its a format problem. If you attach your sample file its more helpful.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  4. #4
    Registered User
    Join Date
    06-16-2017
    Location
    Columbia, MO
    MS-Off Ver
    Office 2007
    Posts
    16

    Re: Can't Change Number of Digits After Decimal

    Quote Originally Posted by shg View Post
    It looks like the number is stored as text.

    Select the column, Data > Text to columns, Finish.

    Then try formatting.
    I attempted that and no joy.

  5. #5
    Registered User
    Join Date
    06-16-2017
    Location
    Columbia, MO
    MS-Off Ver
    Office 2007
    Posts
    16

    Re: Can't Change Number of Digits After Decimal

    Quote Originally Posted by avk View Post
    Its a format problem. If you attach your sample file its more helpful.
    Attachment's aren't working correctly...
    attachment issue.png

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Can't Change Number of Digits After Decimal

    To attach a file to your post,
    • click Go Advanced,
    • scroll down until you see Manage Attachments,
    • click that and select Browse,
    • select your file and click Open,
    • click Upload and you will see your attachment below Upload Files from a website
    • click Close this window,
    • click Submit reply

    After that you should see attachment in your post

  7. #7
    Registered User
    Join Date
    06-16-2017
    Location
    Columbia, MO
    MS-Off Ver
    Office 2007
    Posts
    16

    Re: Can't Change Number of Digits After Decimal

    Here you go and thank you
    Attached Files Attached Files

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Can't Change Number of Digits After Decimal

    You've spaces in front and at the end of every value in rows 4 & 5 so this is a text not a number

    try this for every cell in these rows: =--SUBSTITUTE(A4,CHAR(160),"")
    Attached Files Attached Files
    Last edited by sandy666; 07-02-2017 at 06:11 PM.

  9. #9
    Registered User
    Join Date
    06-16-2017
    Location
    Columbia, MO
    MS-Off Ver
    Office 2007
    Posts
    16

    Re: Can't Change Number of Digits After Decimal

    Quote Originally Posted by sandy666 View Post
    You've spaces in front and at the end of every value in rows 4 & 5 so this is a text not a number
    Sigh...is there a way to edit this in mass vs individual?

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Can't Change Number of Digits After Decimal

    refresh thread, I added formula and your example file with result (post #8)

  11. #11
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Can't Change Number of Digits After Decimal

    or use this in A8: =--TRIM(CLEAN(SUBSTITUTE(A4,CHAR(160),""))) the drag down to A9 and with both selected drag to the right as far as you need.
    next copy selected range, right click on A4 and paste as values, then delete rows A8 & A9

  12. #12
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Can't Change Number of Digits After Decimal

    Select the entire sheet

    Find and replace space with nothing

    Find and replace the non-breaking space with nothing. To do that, clear the Find box (which had the space from above). press and hold the Alt key, and on the NUMERIC keypad, type 0160. Then press Replace All.

    That fixes it.

  13. #13
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Can't Change Number of Digits After Decimal

    Open new sheet as sheet2.
    In "A1"
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copy paste across.

+ 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] Formula not returning desired number of digits after decimal, add text
    By Russ Fuquay in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-25-2013, 01:39 PM
  2. [SOLVED] Using a macro to change number of decimal
    By Tmc2159 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-17-2013, 03:07 PM
  3. Changing digits after decimal to specific digits based on a criteria
    By mpatel000 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-28-2012, 02:41 AM
  4. How to change number of decimal places in already calculated value.
    By ZEvans12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-13-2012, 01:03 PM
  5. Restricting the number of trailing digits after a decimal point
    By LemonTwist in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-20-2009, 07:56 AM
  6. Permanently change number of decimal places
    By ctmore in forum Excel General
    Replies: 2
    Last Post: 07-15-2008, 10:42 PM
  7. Need help with a macro that will change digits in a number.
    By drevil7171 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-14-2006, 11:45 PM
  8. Replies: 3
    Last Post: 01-23-2006, 03:50 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