+ Reply to Thread
Results 1 to 14 of 14

Distributing over 4 People equally - on non equal cases each share will roll over

  1. #1
    Registered User
    Join Date
    12-28-2019
    Location
    Amman,Jordan
    MS-Off Ver
    11
    Posts
    8

    Distributing over 4 People equally - on non equal cases each share will roll over

    Hello Everyone!
    I have basic skill on excel, I am trying to make a formula in excel with the following case :

    So basically I am trying to split multiple contracts into 4 People (N.B They all should have equal splits but some cases they agree not to and the remaining share is reserved for future contract as credit) :
    For example a contract of value 1000 USD needs to split into 4 People A,B,C and D : 250, 200,400,150
    The equal split for each must be 250 the I need an equation that company C is 60% more than the equal split and individual D is -60 % , Person A and B is 0%
    This means for the next contract companies A,B and D should take from individual C so they all can be equal.

    For the second contract of 1000 USD for the 4 companies the split value should be 250 USD to make everyone equals the distribution should be for A,B,C and D : 250,300,100,350 and so on unless the distribution is changes manually then it will take a note for the third contract.
    Every time we input manually the share for everone then a formula shows what's the balance of each person and note future share for each one based on the next contract.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Distributing over 4 People equally - on non equal cases each share will roll over

    Hi and welcome
    in the future please post in the correct forum. I moved the thread for you.
    Please attach a sheet - See the yellow banner for the how-to and read our forum rules
    Thanks
    Last edited by Pepe Le Mokko; 01-02-2020 at 08:45 AM.

  3. #3
    Registered User
    Join Date
    12-28-2019
    Location
    Amman,Jordan
    MS-Off Ver
    11
    Posts
    8

    Re: Distributing over 4 People equally - on non equal cases each share will roll over

    Please find attached, I need a formula for predicted shares according to the predicted award value based on the previous split.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Distributing over 4 People equally - on non equal cases each share will roll over

    I believe the following does what you want:
    1. Cells K8:N8 are populated using: =G8-$F8
    2. Cells K9:N15 are populated using: =IF(G9="","",G9-O8+($S8-$E9)/4)
    3. Cells O8:R15 are populated using: =IF(G8="","",$S8/4-K8)
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    12-28-2019
    Location
    Amman,Jordan
    MS-Off Ver
    11
    Posts
    8

    Re: Distributing over 4 People equally - on non equal cases each share will roll over

    Thank you so much I really appreciate your work. but I do have couple of concerns to make it better.
    The predicted value from Columns O to R should be absolute not minus every split should be in positive or minimum Zero , for example in the last row the predicted award value is 4,000 $ this means each split should be 1,000 $ when adding the current balance this will come up to 1475 $ , 1425 $ , 1125 $ and -25 $ for A,B,C and D respectively the value of -25 should be zero because and the -25 should be subtracted from the remining three people A,B and C this means -25/3 = -8.333333 $ therefore the values should be 1466.67 $, 1416.67 $, 1116.67 $ and zero.

    could you please make sure that the sum of columns O to R should equal to S otherwise it will get an error. this also applies to the sum of columns G to J must equal to E.

    Many thanks,

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Distributing over 4 People equally - on non equal cases each share will roll over

    Six helper columns, which may be moved and/or hidden for aesthetic purposes, are added.
    The first four helpers show actual values of next contract Predicted Value using: =$S8/4-K8
    The fifth helper calculates the number of negative values, if any, using: =COUNTIFS(T8:W8,"<0")
    The sixth helper calculates the amount of negative values, if any, using: =SUMIFS(T8:W8,T8:W8,"<0")
    Columns display the adjusted next contract predicted values using: =IF(G8="","",IF($X8=0,T8,MAX(0,SUM(T8,$Y8/(4-$X8)))))
    What do you want to show if SUM(Gn:Jn) <> En?
    Let us know if you have any questions.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-28-2019
    Location
    Amman,Jordan
    MS-Off Ver
    11
    Posts
    8

    Re: Distributing over 4 People equally - on non equal cases each share will roll over

    Thank you again for your help
    I am testing some number in the spread sheet I have realized that some numbers doesn't add right, for example please see attached columns O to R in row 10 must equal to column S in row 10. where the sum predicted of each share must equal to the predicted award value.
    in this spread sheet the predicted award value for example if 94500 , where the adds of the predicted share is 106750.

    Cheers,
    Hashem AS
    Attached Files Attached Files

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Distributing over 4 People equally - on non equal cases each share will roll over

    Try pasting the following into cell O8, then copying over to cell R8 and then copying down to row 15: =IF(G8="","",IF($X8=0,T8,MAX(0,MIN($S8,SUM(T8,$Y8/(4-$X8))))))
    Let us know if you have any questions.

  9. #9
    Registered User
    Join Date
    12-28-2019
    Location
    Amman,Jordan
    MS-Off Ver
    11
    Posts
    8

    Re: Distributing over 4 People equally - on non equal cases each share will roll over

    Thank you so much. this what I needed.

  10. #10
    Registered User
    Join Date
    12-28-2019
    Location
    Amman,Jordan
    MS-Off Ver
    11
    Posts
    8

    Re: Distributing over 4 People equally - on non equal cases each share will roll over

    Thank you so much. this what I needed.

  11. #11
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Distributing over 4 People equally - on non equal cases each share will roll over

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

  12. #12
    Registered User
    Join Date
    12-28-2019
    Location
    Amman,Jordan
    MS-Off Ver
    11
    Posts
    8

    Re: Distributing over 4 People equally - on non equal cases each share will roll over

    sorry for the confusion, the rows 8 to 11 are working well when I have 12 reached row of columns O to R the sum is not the same as S12. in the attached file the sum is 62850 where it should be 59000
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    12-28-2019
    Location
    Amman,Jordan
    MS-Off Ver
    11
    Posts
    8

    Re: Distributing over 4 People equally - on non equal cases each share will roll over

    Please use this attached file, not the previous.
    Attached Files Attached Files

  14. #14
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Distributing over 4 People equally - on non equal cases each share will roll over

    try the below formula in o8, copy and paste across O8:R21
    HTML Code: 
    see the attached file
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

+ 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: 2
    Last Post: 01-06-2017, 05:20 AM
  2. [SOLVED] Equal allocation of cases
    By asharo100 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-11-2016, 02:42 PM
  3. [SOLVED] Distributing multi-app VBA solutions to people with different versions of Office
    By 6StringJazzer in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-19-2016, 06:47 PM
  4. Replies: 1
    Last Post: 04-09-2015, 12:13 AM
  5. distributing equally updating and deletion
    By fatalcore in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-21-2011, 12:52 PM
  6. distributing values to make them equal
    By Mishka1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-18-2008, 12:10 AM
  7. [SOLVED] Share worksheet for certain people
    By bioyyy in forum Excel General
    Replies: 3
    Last Post: 10-14-2005, 09:05 PM

Tags for this Thread

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