I am trying to create a tracker for trip expenses. I have a list of Attendees in one table, then Receipts in another with a "Charge To" field (since sometimes expenses wont be shared evenly across the group) that is a link to the Attendees table. What I would like to do is auto-calculate from the "Charge to" field on the Attendees table in a "Amount Owed" field.
So basically I am looking for a way to look at "Charge To" see if the Attendee line is there, if so, get the the length of the number of attendees and divide by it and add it to the amount. I can add some columns on the Receipts table if I need to for the amount per person but the thing I cant figure out is how to check the multi select if the Attendee line is in it. Any suggestions?
---- Tables Set up ----
Attendees:
Name (Single Line Text) | Total Owed (?)
Receipts:
Date (date) | Total (currency) | Charge To (multi select [Attendees::Name])