Distributing excess "pennies" to last account

imported_unknown

Active Member
Joined
Jan 13, 2002
Messages
424
I am allocating money to various funds (up to 20 to choose from - and any number can be chosen as long as the total % equals 100) by keying in %-ages per fund and applying those %-ages to a TOTAL Contribution amount entered per person. However, sometimes the sum of the allocated amounts does not equal the TOTAL due to rounding. It may be several cents off. Applying rounding fns doesn't help. I want to "dump" the difference into the last account or one of the accounts that was "off". How can I do this w/o VBA? Do you know of any function that accomodate this? (P.S. The %-ages & # of accounts a person can choose can change monthly.) Thanks!! (I can provide a specific example if I didn't explain this well enough)
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,143,640
Messages
5,719,985
Members
422,256
Latest member
downeybm

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top