Forum Discussion
Abi_Mcdaniel
Nov 22, 2022Copper Contributor
Avoiding #NAME? Error/ Calculating date difference
I am creating a share point list that tracks our plan progress through the year. I have 2 date columns - [planned start date] and [actual start date]. I have the current formula in place: =IF(I...
- Nov 22, 2022
Abi_Mcdaniel Use this formula:
=IF(OR(ISBLANK([Activity Start Date]),ISERROR(DATEDIF([Planned Start Date],[Activity Start Date],"YM"))),"0",DATEDIF([Planned Start Date],[Activity Start Date],"YM"))
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
ganeshsanap
Nov 22, 2022MVP
Abi_Mcdaniel Use this formula:
=IF(OR(ISBLANK([Activity Start Date]),ISERROR(DATEDIF([Planned Start Date],[Activity Start Date],"YM"))),"0",DATEDIF([Planned Start Date],[Activity Start Date],"YM"))
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- Abi_McdanielNov 22, 2022Copper ContributorThank you for the quick response, this worked perfectly ganeshsanap.