SharePoint Tasks List: Add a Duration Calculated Column
In SharePoint Task we have Start Date and Due Date. But there is no Duration Column (i..e Difference of Start Date and Due Date).
For that we can add a Calculated Column with formula to calculate this.
=IF(OR(ISBLANK([Due Date]),ISBLANK([Start Date])),0,FIXED([Due Date]-[Start Date],0))
The duration column will be available in ViewForm only(not in NewForm or EditForm) as shown.