+ Reply to Thread
Results 1 to 4 of 4

Allocations of currency notes

  1. #1
    Registered User
    Join Date
    07-03-2008
    Location
    Sydney
    Posts
    9

    Allocations of currency notes

    Hi,
    Can anyone help me in solving my following problem.

    I have few currency notes of different denominations totalling to $4470. I now want to distribute these notes under different lots of $:
    150
    200
    200
    220
    260
    340
    440
    470
    770
    1420

    The notes I have are of following denominations:
    Value Notes
    $1000 1
    $200 4
    $100 19
    $50 7
    $20 18
    $10 6

    Is there any functions that I can use to allocate this automatically.

    Any hints would be highly appreciated.

    Thanks

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Maybe like this:
    Please Login or Register  to view this content.
    The formula in C3 and copied down is =MIN(B3, INT( ($A$1 - SUM(D$2:D2) ) / A3) )

    And in D3, =A3*C3

  3. #3
    Registered User
    Join Date
    07-03-2008
    Location
    Sydney
    Posts
    9
    Thanks. That was amazing logic.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    You're welcome

+ 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