+ Reply to Thread
Results 1 to 3 of 3

Dividing dollar amounts unevenly into varying numbers of cells/columns

Hybrid View

  1. #1
    Registered User
    Join Date
    06-30-2009
    Location
    Guelph
    MS-Off Ver
    Excel 2003
    Posts
    3

    Dividing dollar amounts unevenly into varying numbers of cells/columns

    Ok, I've been using Excel for many years but I'm not considered an expert by any stretch ...

    This problem has me stumped and maybe there is no simple solution...but I'm hoping there is

    I have dollar amounts that I need to distribute amongst varying numbers of columns and not have have the total distributed be over or under the original amount by any number of cents. When I simply divide the dollar amount by the number of columns, the total of those columns can sometimes be more or less than the original dollar amount by a few cents.
    e.g.
    Dollar    # of       A        B         C         All Columns
    Amount    Columns                                 Total
    --------------------------------------------------------------------
    $25.05     2        $12.53    $12.53              $25.06
    $11.47     3        $ 3.82    $ 3.82    $ 3.82    $11.46
    $25.05 divided into 2 columns gives $12.53 in Column A and $12.53 in Column B. Total of Columns A and B is $25.06. Over by a penny.

    $11.47 divided into 3 columns gives $3.82 in Columns A through C. Total of Columns A through C is $41.46. Under by a penny.

    I know I could simply always add or take away the pennies from one column, but I would prefer the process to be random or formulated in such a way that the Column to which the extra pennies are added to or taken away from differs in order to be "fair to each column".

    Man, I hope I explained that properly.

    Thanks for ANY help with this.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Dividing dollar amounts unevenly into varying numbers of cells/columns

    Perhaps you should post your workbook.
    I'm not getting any over/under values using your approach.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Registered User
    Join Date
    06-30-2009
    Location
    Guelph
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Dividing dollar amounts unevenly into varying numbers of cells/columns

    Yes, but I am dealing with dollar amounts.

    So from my example, I'm taking $25.05 and paying $12.53 of it to one company and $12.53 of it to another. And that doesn't work because now I'm short one penny.

    Hope that makes sense.

    If I can take my ENORMOUS sheet and find a way to present it here, I'll give it a whirl and upload it.

    thanks for the reply!

+ 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