G
Guest
I want to automate a document with a field that calculates travel costs based
on cost/km and km travelled. This is easy enough but there is a maximum
payment of $100. So what I need to do is have a formula that says:
If dist<100 then cost =km*cost/km else $100.
Then I need to sum that answer with other costs on the sheet, so the result
needs to be found in a bookmark.
I have the dist as a bookmark as it is an 'Ask' entry.
I tried using the if statement as {If{dist<100}{dist*0.4}$100}. But it does
not evaluate the if statement correctly.
Any ideas please.
DavidC
on cost/km and km travelled. This is easy enough but there is a maximum
payment of $100. So what I need to do is have a formula that says:
If dist<100 then cost =km*cost/km else $100.
Then I need to sum that answer with other costs on the sheet, so the result
needs to be found in a bookmark.
I have the dist as a bookmark as it is an 'Ask' entry.
I tried using the if statement as {If{dist<100}{dist*0.4}$100}. But it does
not evaluate the if statement correctly.
Any ideas please.
DavidC