+ Reply to Thread
Results 1 to 4 of 4

Need macro or formula to split up the $ Amount

  1. #1
    Forum Contributor
    Join Date
    11-16-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    204

    Need macro or formula to split up the $ Amount

    Hi Champs,

    I have a requirement to split up the amount to each slabs..

    for example:

    I have standard format like below from B1 to B8...

    2000
    1000
    500
    100
    50
    10
    5
    1

    If I mention a amount like 8879 in a cell "A1", then output should be like below.......from c1 to c8..

    4
    0
    1
    3
    1
    0
    1
    4

    Please help.. I have attached the sample.
    Attached Files Attached Files
    Last edited by excelhelpseeker; 11-23-2017 at 09:57 AM.

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,855

    Re: Need macro or formula to split up the $ Amount

    No need for VBA.

    Here's one set up.

    In C2:
    =INT(A2/B2)

    C3 and copy down:
    =INT(($A$2-SUMPRODUCT($B$2:B2,$C$2:C2))/B3)

    See attached.
    Attached Files Attached Files
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Forum Contributor
    Join Date
    11-16-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    204

    Re: Need macro or formula to split up the $ Amount

    Thanks a lot

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,855

    Re: Need macro or formula to split up the $ Amount

    You are welcome. If this solved your issue, please mark the thread solved by using thread tool found above your initial post.

+ 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. Replies: 1
    Last Post: 02-25-2015, 10:48 AM
  2. formula: How to select highest numbers and split an amount between them
    By TSuckling in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 08-17-2014, 03:22 AM
  3. Replies: 5
    Last Post: 05-08-2014, 10:42 AM
  4. Split one large dollar amount to multiple cells
    By Davidap in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-14-2014, 10:17 AM
  5. Split an amount evenly with condition
    By JustM3 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-04-2014, 09:43 AM
  6. Split the equal amount acoss months based on start and end date
    By Ktahilramani in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-07-2014, 11:18 PM
  7. VBA String Split after certain amount of the same delimeter
    By Alla88 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2013, 10:18 AM

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