I have a table where it is possible to select a standard item with standard amounts. If a user selects an item with no receipt, standard Subtotals will populate.
There are also non-standard items in the list, which I would like the user to enter the Subtotal.
I used the following formula to calculate the Subtotal.
=IF(INDEX(Expenses.ExpenseReason,ROW())="Breakfast - No Receipt",14.29,IF(INDEX(Expenses.ExpenseReason,ROW())="Lunch - No Receipt",14.29,IF(INDEX(Expenses.ExpenseReason,ROW())="Dinner - No Receipt",23.81,)))
I would like the user to be able to enter the Subtotal in manually if they select one of the other options which have a receipt (not listed in the formula above). They are currently able to enter the items manually, but the subtotals get removed with the addition of the next row when the formula calculates again. Any way to get the manually entered amount to stay put, other than read only coding options (in case user entered info incorrectly, they need to be able to change it).
There is no way to do a circular reference, so I cannot do that. The only other option I can think of, but would like to avoid, is to add another table for items that have standard amounts (no receipts).
I am not a coder, so I would like to use formulas if possible. Otherwise, I would need additional help.