+ Reply to Thread
Results 1 to 9 of 9

The Formula to Multiply Decimal in Excel

  1. #1
    Registered User
    Join Date
    11-28-2008
    Location
    Palembang
    Posts
    66

    Question The Formula to Multiply Decimal in Excel

    Hello.. anyone who can help me, please.
    I want multiply the number that contains decimal, like this :
    12.26, and here I want multiply 12 with 1000, and then 26 multiply with 50

    12.26

    ==> 12 x 1000 = 12000
    ==> 26 x 50 = 1300
    -------
    so, the result is : 13300
    ======

    Thank's b 4
    Last edited by antoni; 11-28-2008 at 09:45 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,594
    if you have 12.26 in A1, then:
    in B1: =INT(A1) , gives you the integer portion, 12 in this case and,
    in C1: =B1-A1 gives you the fractional portion, namely 0.46. So, to multiply the
    two portions, just say,
    B1: =INT(A1) * 1000,
    C1: =(A1-INT(A1))*50
    Ben Van Johnson

  3. #3
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,523
    Hi there,

    Welcome to the forum.

    Though you've probably broken a forum rule with your poor thread title, here's one way to do the job (I'm sure there's probably a more elegant way) - just change the cell reference from A2 to suit:

    =ROUND(A2,0)*1000+VALUE(MID(A2,SEARCH(".",A2)+1,255))*50

    HTH

    Robert

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Welcome to the forum.

    Please read the Forum Rules about thread titles, and then edit yours to be descriptive of your problem.

    Thanks.

  5. #5
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2007, 2010
    Posts
    470
    Quote Originally Posted by antoni View Post
    Hello.. anyone who can help me, please.
    I want multiply the number that contains decimal, like this :
    12.26, and here I want multiply 12 with 1000, and then 26 multiply with 50

    12.26

    ==> 12 x 1000 = 12000
    ==> 26 x 50 = 1300
    -------
    so, the result is : 13300
    ======

    Thank's b 4
    Assuming cell A1 contains 12.26
    In result cell, you type this formula:
    PHP Code: 
    =INT(A1)*1000+(A1-INT(A1))*5000 
    OR, it means:
    PHP Code: 
    =INT(A1)*950+A1*5000 
    Last edited by tigertiger; 11-30-2008 at 01:58 AM.

  6. #6
    Registered User
    Join Date
    11-28-2008
    Location
    Palembang
    Posts
    66

    Thank's for ur help

    Ok, thank's for protonLeah and Trebor76 who had help me to resolve this job. I will try it. And I'm sorry for my poor thread title. Tq vr much..

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Try

    =INT(A1)*1000+MOD(A1,1)*5000

  8. #8
    Registered User
    Join Date
    11-28-2008
    Location
    Palembang
    Posts
    66

    The Result #VALUE!

    Sorry, I have tried the formula from Trebor76, but The Result become #VALUE!. Why ?? and can u help me again Sir ??

    Thank's

  9. #9
    Registered User
    Join Date
    11-28-2008
    Location
    Palembang
    Posts
    66

    it's really good function

    Thank's for Mr. daddylonglegs
    ur formula (function) is really good function. And I have try, it's get success results. Thank's vr much..

+ 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