Oh my gosh, thank you! I'd tried everything, but making some adjustments, this is what worked: Total due traveler:if (TotalExpenses gt Advances) thenSum(TotalExpenses-Advances)else 0endif Total due university:if (TotalExpenses lt Advances) thenSum(Advances-TotalExpenses)else 0endif Thanks again!