Forum Discussion
Anubis66614
Aug 23, 2023Copper Contributor
Calculated Column using ISBLANK and IF, with date Columns
Hi All, I need help with a calculated column in SharePoint. I have 2 dates that I want to use to calculate the number of dates between them. My current formula (with my custom column names) i...
- Aug 23, 2023
Anubis66614 NETWORKDAYS() function is not supported in SharePoint calculated formulas.
You have to use the formula like:
=IF(ISBLANK([1ST PROBATION REPORT RECEIVED DATE]),"",DATEDIF([1ST PROBATION REPORT RECEIVED DATE],[1ST PROBATION REPORT DUE DATE],"d"))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
Aug 23, 2023MVP
Anubis66614 NETWORKDAYS() function is not supported in SharePoint calculated formulas.
You have to use the formula like:
=IF(ISBLANK([1ST PROBATION REPORT RECEIVED DATE]),"",DATEDIF([1ST PROBATION REPORT RECEIVED DATE],[1ST PROBATION REPORT DUE DATE],"d"))
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.
Anubis66614
Aug 23, 2023Copper Contributor
ganeshsanap - worked great! I had to switch the 2 column names around, as I got a #NUM error, but after that, perfect.
Thanks so much! This is my first time using the platform and forum, and am happy that we have people like you to help out us newbies!
Thanks so much! This is my first time using the platform and forum, and am happy that we have people like you to help out us newbies!