+ Reply to Thread
Results 1 to 7 of 7

Multiplying Total by Percentage then Summing up Result to Equal Original Total

  1. #1
    Registered User
    Join Date
    10-23-2017
    Location
    Salt Lake City
    MS-Off Ver
    2010
    Posts
    4

    Multiplying Total by Percentage then Summing up Result to Equal Original Total

    My company requires us to break out our timesheets by percentage according to grants and then report how many hours per grant we worked to the nearest quarter hour, but when doing this and rounding the final hours don't sum to the original total.

    I've attached an example.

    Any ideas?

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,406

    Re: Multiplying Total by Percentage then Summing up Result to Equal Original Total

    Hi adopotato. Welcome to the forum.

    I guess I am not getting the concept here.

    Are you referring to the % figures in D13:D19 and their sum? Their sum is 100%. If you are not aware of it the formatting of those cells is cosmetic. The underlying values remain as they were before formatting. Those values are used in the calculations E13:K19.

    The sums of in E13:K19 in row 20 equal the figures in row 10.

    What am I missing?
    Dave

  3. #3
    Registered User
    Join Date
    10-23-2017
    Location
    Salt Lake City
    MS-Off Ver
    2010
    Posts
    4

    Re: Multiplying Total by Percentage then Summing up Result to Equal Original Total

    Thank you for responding FlameRetired.

    I'm sorry for not being more descriptive. I understand how all the formulas are working at this point, but the values in E13:K19 should show 3.25 or 3.5 or 3.75 instead of 3.27, 3.61 etc. I've attempted to use ceiling, floor, round and mround and they all work correctly, but once rounded the subtotal for the column in row 20 doesn't match what the employee reported in row 10. Applying this to Monday of the second week N13:N19 provides a good example. Accounting needs the values in E13:K19 and M13:S19 to be to the nearest quarter hour. Does that explain it better?

    Thanks,
    Andres

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Multiplying Total by Percentage then Summing up Result to Equal Original Total

    Try to round n-1 rows only, last row is equal row 10 minus total of n-1 rows.
    For ex, mround from row 14 only, and row 13 is equal = total - sum row 14 to 19

    In F14 then copy to F19
    =MROUND(F$10*$D14,0.25)

    F13:
    =F$10-SUM(F14:F19)

    Copy F13:F19 to all other columns.
    Quang PT

  5. #5
    Registered User
    Join Date
    10-23-2017
    Location
    Salt Lake City
    MS-Off Ver
    2010
    Posts
    4

    Re: Multiplying Total by Percentage then Summing up Result to Equal Original Total

    Quang,

    Thank you! That worked just like I needed it to. After running through it, it seems so simple. I really appreciate the help!
    Andres

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,059

    Re: Multiplying Total by Percentage then Summing up Result to Equal Original Total

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    10-23-2017
    Location
    Salt Lake City
    MS-Off Ver
    2010
    Posts
    4

    Re: Multiplying Total by Percentage then Summing up Result to Equal Original Total

    Thank you.

+ 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. [SOLVED] Multiplying the results of two columns of sums - Total Billed and Total Paid
    By stuprice in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-02-2017, 04:23 PM
  2. PivotTable sub-total/grand total percentage issue
    By Jess0121 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 04-19-2016, 05:59 PM
  3. Have a Text Value equal a percentage to be total in another column
    By KStrong in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-19-2015, 03:12 PM
  4. Is it possible to list/row of objects equal to percentage total?
    By Jonesy Vision in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2013, 12:44 PM
  5. Multiplying odd numbers by percentages to total to original number
    By leepea42 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-08-2013, 02:22 AM
  6. Replies: 6
    Last Post: 05-03-2010, 12:03 PM
  7. Summing total & running total?
    By jackiejackie in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 12-14-2008, 02:19 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