DumbEngineer

New Member
Joined
Nov 1, 2017
Messages
5
I am trying to figure out which elements of a set of numbers (amounts) total to a target value. I am creating a google sheet to keep track of what my roommates pay me, where I receive both full and partial payments of bills from my roommates but documentation indicating what bills are being paid is lacking. The spreadsheet below is similar to what I am doing. In the Bill Owed column, I want to format the cells so that it tells me which bills still need to be paid. For example, for Roommate A the Bills Owed Column should display "Cable, Water, Electric, & $250". For Roommate B it should say "None". For Roommate C is should say "Water, Electric, Rent". For Roommate D is should say "Cable, Water, Rent". Roommate F would still owe "Water, Rent". I think I might be able to use the solver command; however, I'm not quite sure how to use it. I also think it might run into a problem with Roommate A where they only paid $100 and not any bill in particular. How do I fix this and is there a way this spreadsheet could be more efficient? I don't want to use a bunch of nested IF statements.

Thanks

BillsPer Person
Rent2200
Cable127.8521.31
Water108.3018.05
Electric House273.72
Electric Garage8.59
Electric Total282.3147.05
Grand Total2718.4686.41
RoommatesRentUtilitiesAmount OwedAmount PaidAmount Still OwedBill Owed
Roommate A35086.41436.41100336.41
Roommate B33086.41416.41416.410
Roommate C40086.41486.4121.31465.1
Roommate D42086.41506.4147.05459.36
Roommate E37086.41456.4121.31435.1
Roommate F33086.41416.4168.36348.05
Total2200518.462718.46

<tbody>
</tbody>

 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,071
Latest member
cdnMech

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top