+ Reply to Thread
Results 1 to 4 of 4

Is there a way to delete decimal numbers only?

  1. #1
    Registered User
    Join Date
    12-14-2008
    Location
    Manchester, NH
    Posts
    2

    Is there a way to delete decimal numbers only?

    Hello,

    I'm wondering if there is a way to delete only numbers ending in a decimal from a column of numbers? I have a column of numbers but only the non decimals are relevant to the next equation. Is there an easy way to do this?
    Last edited by christris; 12-14-2008 at 06:41 PM. Reason: solved

  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
    You could copy a formula down: =MOD(A1,1)=0, and then delete the values where the formula is false.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    Or to extend on that
    =IF(MOD(A1,1)=0,A1,"") then copy past back special values
    or even find/replace
    find *.*
    replace with nothing
    Last edited by martindwilson; 12-14-2008 at 06:35 PM.

  4. #4
    Registered User
    Join Date
    12-14-2008
    Location
    Manchester, NH
    Posts
    2
    Thanks for the help those were exactly what I needed.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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