Hi everyone, what's the proper way to sum up the total cost of each individual person (using sumproduct or otherwise)?
The worksheet looks like this:
A B C D E F 1 Expense Cost PersonA PersonB PersonC PersonD 2 Restaurant $150 1 1 1 1 3 Movies $50 1 1 1 1 4 Gas $30 1 1 5 Souvenirs $10 1 1
A "1" in a person's column indicates that expense cost is evenly split to them. Blank indicates they were not part of that expense.
I have another table like this to summarize:
Owe PersonA PersonB PersonC PersonD
I think in the Owe column, the formula should be something like
=SUMPRODUCT(B:B, C:F, --(C1:F1 = (cell with person's name)), (cell of person divided by sum of each row))
but I haven't been able to figure it out.
Thanks in advance!
Bookmarks