Avatar

Level 1

I have a travel reimbursement form with numeric fields for all expenses and cash advances. I have two fields for totals: one for "Amount Due Traveler" and one for "Amount Due University." I need for the Total Expenses and Advances fields to be compared, and if Expenses are greater than Advances, the Amount Due Traveler should sum and leave the other field at $0. If the opposite is true, the Amount Due University should sum and leave the other field at $0.

 

I've tried different if then else statements and nothing seems to be working. I've done a lot of research and can't seem to find the answer.

 

What would be the proper way to write this in FormCalc?