+ Reply to Thread
Results 1 to 4 of 4

Remove Decimal Points

  1. #1
    Registered User
    Join Date
    06-25-2008
    Posts
    22

    Remove Decimal Points

    Hello

    I have a column with values such as

    123.45
    v110.5
    456.1

    I need to remove the decimal points from these values without it doing any rounding. Currently i am using this formula:

    =SUBSTITUTE(TEXT(M5,"0"),".","")

    But when i use this formula it rounds the numbers.

    Any Suggestions?

    Thanks

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Hi ringrim,

    Not sure why you're using the TEXT(M5,"0") section, as that's what is causing the rounding I believe.

    Does this not work:

    =SUBSTITUTE(M5,".","")

    If not, give a few examples and your expected results.

  3. #3
    Registered User
    Join Date
    07-18-2008
    Location
    Los Angeles
    Posts
    8
    How about changing the formatting to "Number" with "0" decimal spaces?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    How about changing the formatting to "Number" with "0" decimal spaces?
    That would show the numeric values as rounded, and have no effect on the cells that contain alphanumerics.

+ 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. How to set # of decimal points displayed?
    By earachefl in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 06-13-2007, 07:23 PM
  2. Writing a program with changing variables. . .
    By salex in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-30-2007, 03:32 PM
  3. Decimal Points for Existing Data
    By oliver_optic in forum Excel General
    Replies: 1
    Last Post: 04-26-2007, 09:56 PM
  4. Moving decimal points
    By vikinggirl in forum Excel General
    Replies: 6
    Last Post: 10-27-2006, 10:53 AM
  5. how to show two decimal points
    By associates in forum Excel General
    Replies: 3
    Last Post: 10-12-2006, 04:11 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