+ Reply to Thread
Results 1 to 9 of 9

Multiplying odd numbers by percentages to total to original number

Hybrid View

  1. #1
    Registered User
    Join Date
    01-04-2013
    Location
    Portland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Multiplying odd numbers by percentages to total to original number

    I have odd numbers in a spreadsheet that I need to multipy by percentages and then have those solved numbers all add up to the orginal odd number. Example: 3,541.67 x 50%, x 25%. and x 25% gives me the answers of 1,770.84, 885.42, and 885.42. Those three answers add up to 3,541.68, not 3,541.67. I have tried the ROUND function but that doesn't help. I know there must be an easy answer but don't know how to search for it.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Multiplying odd numbers by percentages to total to original number

    HI leepea42,

    Its fine in the attached workbook..
    multiplying % and getting to original.xlsx

    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  3. #3
    Registered User
    Join Date
    01-04-2013
    Location
    Portland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Multiplying odd numbers by percentages to total to original number

    Thank you but I need the resulting figures of the percentages to be in whole numbers, rounded to 2 decimals. In this case, the 1770.835 needs to be 1770.83, not 1770.84, which is what the ROUND function provides. I do not what to have to change the ROUND function to ROUNDDOWN manually. I just want Excel to do it automatically. There must be a setting somewhere in Excel that works that way.

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Multiplying odd numbers by percentages to total to original number

    There must be a setting somewhere in Excel that works that way.
    There is a formula solution to this.. use below formula:-
    Formula: copy to clipboard
    =MID(B2,1,SEARCH(".",B2)+2)*1


    see attached:- multiplying % and getting to original.xlsx

    Regards,
    DILIPandey
    <click on below * if this helps>

  5. #5
    Registered User
    Join Date
    01-04-2013
    Location
    Portland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Multiplying odd numbers by percentages to total to original number

    Okay, that works but now all the numbers add up to 3,541.65.
    I used to work on spreadsheets for another business and their spreadsheets didn't have this problem. I guess I need to see if I can find out why from them. But thank you for your help.

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Multiplying odd numbers by percentages to total to original number

    Hi leepea42,

    As per mathematics, it should not be happening on other's spreadsheets, would appreciate if you could attach a small sample of theirs .. just for my knowledge. thanks.

    Regards,
    DILIPandey
    <click on below * if this helps>

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Multiplying odd numbers by percentages to total to original number

    ok, hows this for a sneaky/cheating approach? If you want all 3 numbers to exactly match that total, then just find the % for the 1st 2, using rounddown() to 2 places. then, for the 3rd value make it = the total less the sum of the 1st 2 values
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  8. #8
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Multiplying odd numbers by percentages to total to original number

    Also, you have to remember, displayed value is rounded to closest level of display formatting, usually a .*5 or higher gets DISPLAYED as next highest value(ie- 0.0005, rounded to 3 decimals will display as 0.001, however...the value is still 0.0005, so mathematically, they are the same, just visually they change...unless you force a round off error using the round(several) functions...
    Last edited by dredwolf; 01-08-2013 at 01:49 AM.
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  9. #9
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Multiplying odd numbers by percentages to total to original number

    as Fd and dredwolf stated...

    another way to cheat is to compute in a hidden column then in the desired "visual" cells use trunc

    multiplying % and getting to original.xlsx
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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