+ Reply to Thread
Results 1 to 4 of 4

formula to eliminate the digits to the right of the decimal

  1. #1
    Registered User
    Join Date
    09-15-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2007
    Posts
    25

    formula to eliminate the digits to the right of the decimal

    I am trying to concatenate two cells. My problem is the numbers are formatted ##.########### I would like to find a way to concatenate just the whole #'s preceeding the deceimal. can that be done?
    Last edited by mknispel; 12-12-2011 at 04:56 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: formula to eliminate the digits to the right of the decimal

    Maybe...

    =INT(A1)&INT(A2)

    This concatenates the integer part of the numbers of cells A1 and A2, you can add space, or dash, or whatever in between, like =INT(A1)&" "&INT(A2)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: formula to eliminate the digits to the right of the decimal

    Hello,

    you can use

    =int(A1)

    to return only the integer part of a number.

    cheers,

  4. #4
    Registered User
    Join Date
    09-15-2010
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: formula to eliminate the digits to the right of the decimal

    Thanks that did it.

+ 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