Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spreadsheets (https://www.askmehelpdesk.com/forumdisplay.php?f=395)
-   -   Banknote And Coins (https://www.askmehelpdesk.com/showthread.php?t=493552)

  • Jul 31, 2010, 03:38 AM
    Pajoooo
    1 Attachment(s)
    Banknote And Coins
    I am from Bosnia And Herzegovina. Our currency is Convertible Marka (KM), and Banknote are: 200, 100, 50, 20, 10 KM, and the Coins in denomination of 5, 2, 1, 0.50, 0.20, 0.10 and 0.05 KM. I need formula that will amount of, for example, 657.55 automatic divide into Banknotes and Coins, by shortest route.

    Download Example.

    Sorry for "my" english.

    Thanks.
  • Aug 2, 2010, 10:43 AM
    JBeaucaire

    In H4:
    =INT($D$4/F4)

    In H5:
    =INT(ROUND(($D$4-SUMPRODUCT(($F$4:$F4*$H$4:$H4))),2) / F5)
    ... copy that cell down through H14.

    In H15:
    =($D$4-ROUND(SUMPRODUCT($F$4:$F14*$H$4:$H14),2)) / F15
  • Aug 2, 2010, 11:43 AM
    Pajoooo

    Exactly what I need. Great answer. You are the best.

    Thanks!

  • All times are GMT -7. The time now is 06:08 AM.