Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Excel Formula To Distribute An Amount To Different Parts With Different Limits

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member
    Join Date
    Apr 2011
    Posts
    69
    Rep Power
    15

    Excel Formula To Distribute An Amount To Different Parts With Different Limits

    I have a case where i have amounts to be distributed to different layers with different limits where min and max limits applies.

    I have attached the worksheet as an example.

    Kindly assist.

    Thanks
    Attached Files Attached Files
    ----
    excel_learner
    (Using XL 2007 & 2010)

    -------Learning never stops!

  2. #2
    Senior Member alansidman's Avatar
    Join Date
    Apr 2012
    Posts
    125
    Rep Power
    14
    Does this work for you?

    =IF(SUM(C6:F6)<B6,SUM(C6:F6),B6)

  3. #3
    Member
    Join Date
    Apr 2011
    Posts
    69
    Rep Power
    15
    no that is not what i want, the amounts in column B starting from B6 to B12 have to be distributed in C7 till F12 based on the limits specified above and maximum sum of limits upto 4th layer can be 185,000,000 as shown in B6 and distribution. Basically i want the distribution done as distributed in yellow highlighted area. The Column H6 to H12 shows total distribution to be done in C7 till F12 considering the max limit for distribution 185,000,000.
    ----
    excel_learner
    (Using XL 2007 & 2010)

    -------Learning never stops!

  4. #4
    Member
    Join Date
    Apr 2011
    Posts
    69
    Rep Power
    15
    guys please assist
    ----
    excel_learner
    (Using XL 2007 & 2010)

    -------Learning never stops!

  5. #5
    Member
    Join Date
    Apr 2011
    Posts
    69
    Rep Power
    15
    Hi,
    I have almost reached to the required formulas, however, some more help is needed. I have attached the sample worksheet highlighting (in green) some more fix to be done.

    Please assist.
    Attached Files Attached Files
    Last edited by excel_learner; 07-28-2013 at 03:02 PM.
    ----
    excel_learner
    (Using XL 2007 & 2010)

    -------Learning never stops!

  6. #6
    Member
    Join Date
    Apr 2011
    Posts
    69
    Rep Power
    15
    guys please assist
    ----
    excel_learner
    (Using XL 2007 & 2010)

    -------Learning never stops!

  7. #7
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    It would be better if you clearly explain the idea, so that an appropriate logic can be built
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  8. #8
    Member
    Join Date
    Apr 2011
    Posts
    69
    Rep Power
    15
    Basically, the amount has to be distributed in all layers according to the limit in row 3 "max limit of recovery". The limit starts from 15,000,000 and if the amount is less than this amount then no distribution otherwise first layer will get the difference. If the amount is 20,000,000 then first layer will get 20,000,000-15,000,000=5,000,000 and if it is 30,000,000 the first layer will get max 15,000,000 and the same applies to all layers as the balance of amount exceeding the previous layer max limit of recovery will go to next layer upto the respective layer limit and then so on. But sum of all layers, applying max limit, should not exceed 185,000,000.
    I hope it is clear.
    ----
    excel_learner
    (Using XL 2007 & 2010)

    -------Learning never stops!

  9. #9
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    What about this?
    Attached Files Attached Files
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  10. #10
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    Did you try post #5?
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

Similar Threads

  1. Replies: 1
    Last Post: 07-23-2013, 10:43 PM
  2. Random Time Between Fixed Lower And Upper Limits
    By papabill in forum Excel Help
    Replies: 9
    Last Post: 07-22-2013, 05:01 PM
  3. Custom Charts in Excel :: Comparison RAG Chart Showing Tolerance Limits
    By Transformer in forum Tips, Tricks & Downloads (No Questions)
    Replies: 0
    Last Post: 06-13-2013, 09:40 PM
  4. Distribute ranges as per Plan
    By ayazgreat in forum Excel Help
    Replies: 35
    Last Post: 12-17-2012, 10:40 PM
  5. Amount to Words [EXCEL 2007]
    By msiyab in forum Excel Help
    Replies: 7
    Last Post: 06-10-2012, 03:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •