Formula field number of days between 2 dates
Hi,
I want to have a formula field which calculates the following:
IF EndDate < TODAY and Oproep is true (this is a checkbox field) than EndDate - StartDate, otherwise TODAY - StartDate
It should calculate the number of days
How can I write this formula?