Hi Everyone,
My friends and I went on this weekend trip, and we each covered different expenses depending on what people wanted to do - we didn't necessarily do everything together.
As such, we have this problem where people have paid for different things, covered each other - and now we all owe each other different sums of money.
I've set up a spread sheet with 4 tables:
- Car Hire
- Food
- Trips/Tours
- Miscellaneous
Each table has columns with titles:
- Item - what item was paid for
- Paid By - initials of the person who paid it
- Owing - this column has subheadings with each of our initials, who ever owes the person who paid money will have a '1' under their name.
- No. - this calculates the total number of people who used the particular item
- Total Cost - the total amount of money
- Cost Per Person - divides the total cost by the total number of people who used the item.
here's a link to the spread sheet if you want to see how it's set out:
https://docs.google.com/spreadsheets...it?usp=sharing
I really need help in working out how to calculate who owes who money. I was thinking of setting up something like the matrix shown below, with our initials in the first row and first column. The first row would be initials of who owes money, and first column will be who the money is owed to. Eg. in the example below it shows BC owes $20 to SH. I just need to work out what formula i can put in the cells in the matrix to make it calculate the right amount of money using the the tables in my spread sheet.
SH BC ZP DH SG1 SG2 CS
SH 20.
BC
ZP
DH
SG1
SG2
CS
Any ideas??? so stuckNot sure if i need vba?? Would really appreciate any help. Thanks!
Bookmarks