+ Reply to Thread
Results 1 to 8 of 8

Getting rid of unwanted decimals

  1. #1
    Registered User
    Join Date
    04-27-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    41

    Getting rid of unwanted decimals

    Hello, this is the formula; =(C7*100)/C4&"Kar" and the cell shows; 11.3374168521274Kar, I want to preview it like this; 11.33 Kar or 11.34 Kar , with a gap. How can I do it? Thanks..

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,087

    Re: Getting rid of unwanted decimals

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    04-27-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    41

    Re: Getting rid of unwanted decimals

    Thank you very much

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,087

    Re: Getting rid of unwanted decimals

    You're welcome. Thanks for the rep.

  5. #5
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,401

    Re: Getting rid of unwanted decimals

    You could also just use this formula in your cell...

    =(C7*100)/C4

    and then Custom Format the cell using this Type pattern...

    0.00" Kar"

    That way, should you need to use this number in future calculations, it will usable directly... and at its actually calculated value as opposed to its rounded value.

  6. #6
    Registered User
    Join Date
    04-27-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    41

    Re: Getting rid of unwanted decimals

    Quote Originally Posted by Rick Rothstein View Post
    You could also just use this formula in your cell...

    =(C7*100)/C4

    and then Custom Format the cell using this Type pattern...

    0.00" Kar"

    That way, should you need to use this number in future calculations, it will usable directly... and at its actually calculated value as opposed to its rounded value.
    Thanks a lot for that. Can I ask one more thing? How can I remove that #DIV warning and 0.000's? I'm trying to make every cell blank if they are not being used. Should I make a new topic?
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,401

    Re: Getting rid of unwanted decimals

    For my suggestion (you can use a similar approach for TMS's code), change the formula you put in the cell to this...

    =IFERROR(C7*100)/C4,"")

  8. #8
    Registered User
    Join Date
    04-27-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    41

    Re: Getting rid of unwanted decimals

    Works perfectly, thanks..

+ 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. Rounding 2 decimals to specific 2 decimals
    By danyel191 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-28-2016, 01:41 PM
  2. [SOLVED] Unwanted pane
    By doncole in forum Excel General
    Replies: 7
    Last Post: 05-11-2016, 10:31 PM
  3. [SOLVED] Unwanted warning
    By j_Southern in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-11-2016, 02:03 PM
  4. Replies: 2
    Last Post: 02-13-2015, 07:36 AM
  5. Unwanted Rounding
    By IntegraCraig in forum Excel General
    Replies: 12
    Last Post: 10-30-2010, 03:35 PM
  6. Unwanted character
    By [email protected] in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-06-2005, 01:06 AM
  7. [SOLVED] Unwanted character
    By [email protected] in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-05-2005, 10:06 PM

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