+ Reply to Thread
Results 1 to 4 of 4

Changing A Decimal Number To A Whole Number

  1. #1
    Registered User
    Join Date
    11-17-2008
    Location
    Kuwait
    Posts
    6

    Changing A Decimal Number To A Whole Number

    Guys, Need huge help here.

    Just wondering if some could tell me how to change a decimal number to a whole number without changing the actual values.

    Example,

    Actual visible
    A1] 0.500 -----> 500
    B1] 0.365 -----> 365
    Total] 0.865 -----> 0.865

    See, the actual number are still the same but visually, its a whole number. All the numbers are avalible now and all in decimals, i want to change them to a whole number.

    Help!

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: Changing A Decimal Number To A Whole Number

    Try this..

    =H10*("1"&REPT(0;LEN(H10)-FIND(",";H10;1)))

    Little complicated because doesn't depend on how many numbers is after decimal point

    only replace ; with , if you need and also, if decimal . chage "," to "."

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: Changing A Decimal Number To A Whole Number

    Also, you didn't write what with those numbers (my formula return same)

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-21-2009
    Location
    Ecuador
    MS-Off Ver
    Excel 2016
    Posts
    9

    Re: Changing A Decimal Number To A Whole Number

    Here is an idea...

    Multiply your number by 1000:

    0.500 * 1000 = 500
    0.365 * 1000 = 365
    ...
    0.023 * 1000 = 23
    0.002 * 1000 = 2

    Notes:
    I assume you have three decimal places.
    John Franco
    https://www.excelgurusacademy.com/

+ 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