+ Reply to Thread
Results 1 to 6 of 6

Data to right of decimal point

  1. #1
    Forum Contributor
    Join Date
    04-23-2009
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003 work, 2007 home
    Posts
    199

    Data to right of decimal point

    Hi Guys

    is there any way to use the right function to return any data to the right of the decimal point?

    eg 117.22 would be .22
    108.1225 would be .1225
    102.358 would be .358 etc

    thanks

    Noel
    Last edited by somesoldiers; 08-19-2009 at 10:06 AM.

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

    Re: Data to right of decimal point

    Try:

    =MOD(A1,1)
    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
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Data to right of decimal point

    You could use the right function, but I wouldn't recommend it, I'd recommend =mod(number,1) which gives the remainder of a number when divided by 1

    HTH

  4. #4
    Forum Contributor
    Join Date
    04-23-2009
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003 work, 2007 home
    Posts
    199

    Re: Data to right of decimal point

    spot on thanks guys

    and how about if I want the data to the left of the decimal?

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

    Re: Data to right of decimal point

    Try

    =Int(A1)

  6. #6
    Forum Contributor
    Join Date
    04-23-2009
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003 work, 2007 home
    Posts
    199

    Re: Data to right of decimal point

    thanks a lot, will remember those

+ 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