Forum Discussion
How to balance an expense sheet with different percentages
mathetesThank you for the time and energy req for your thoughtful reply! I look forward to reviewing your ex to learn how you went about it. However, I am unable to view the sheet shared through the link. Do you mind changing the sharing permissions or the equations you used?
Thank you,
Josh
Here that same example is, as an Excel workbook. You should have no problems accessing this.
Let me know if you have any questions.
- Josh_OsowieckiApr 09, 2024Copper Contributor
mathetes Thank you for sharing this! I guess the question I have boiled into one sentence is:
Is there a function or formula that I can use to balance an expense sheet with repayments from 2 sources.
I was not able to find an equation that did this in the shared spreadsheet. I currently use the following functions:
Value 1: =SUMIFS(tblTransactions[Amount],tblTransactions[Person],'Data Validation'!E2,tblTransactions[Category Type],'Data Validation'!C2)*-1 [I use this function to sum the total expenses per person then multiply by -1 to return a positive value]
then
=SUMIF(tblTransactions[Category Type],"Expense",tblTransactions[Amount])*-1 [I use this function to sum the total expenses between both people in the table, then multiply by -1 to return a positive value]
then
Value 2: I multiply the the value returned above by .55 for person 1 and .45 for person 2 to return the value each person is responsible for]
then
Value 3: =SUMIFS(tblTransactions[Amount],tblTransactions[Person],'Data Validation'!E2,tblTransactions[Category Type],'Data Validation'!C10) [I do this to sum the total payments made by person 1 to the other to balance the expense sheet]
then
I subtract Value 1-Value 2-Value 3
This only works if person 1 pays person 2. When person 2 pays person one the logic fails.
Any guidance would be greatly appreciated!
- Josh_OsowieckiApr 09, 2024Copper Contributormathetes So I just used the ABS function instead of multiplying by -1 and that seemed to solve the error in the calculation. Not sure why but, I am grateful for all of the time you spent on this! Thanks again!
- mathetesApr 10, 2024Silver ContributorMy sheet used a different concept. If you had just used 55 and 45 under two participants (instead of my headcount for the family units) the concept would have worked. It was basically a way of apportioning shares of expenses, regardless of who did the original payment, based on an agreed upon "usage"--which would have been comparable to your agreed 55/45 sharing.
Anyway, I'm glad you got it resolved.