+ Reply to Thread
Results 1 to 4 of 4

Decrease Decimals In "TRIM"

  1. #1
    Registered User
    Join Date
    02-04-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2016
    Posts
    36

    Decrease Decimals In "TRIM"

    Hey guys,

    Quick question for today.

    I'm using the "TRIM" command to grab statistical data, and was wondering how I can lower the amount of decimals that return from the data.

    For example, when I have the following in my cell:

    =TRIM("we had "&D16&" Divine claims which is a decrease of "&E16*100&"%")

    It returns me:

    we had -1723 Divine claims which is a decrease of -20.5878838570916%

    What I want it to return is:

    we had -1723 Divine claims which is a decrase of -20.59%


    Thanks in advance!
    Last edited by Kolin; 08-16-2010 at 01:05 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: Decrease Decimals In "TRIM"

    Perhaps...

    =TRIM("we had "&D16&" Divine claims which is a decrease of "&ROUND(E16*100,2)&"%")
    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
    Registered User
    Join Date
    02-04-2009
    Location
    Toronto
    MS-Off Ver
    Excel 2016
    Posts
    36

    Re: Decrease Decimals In "TRIM"

    Excellent! Thank you, works perfect

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Decrease Decimals In "TRIM"

    Try this

    Please Login or Register  to view this content.
    Hope this helps

    {EDIT]
    To late Again!
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ 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