=IF(PlannedFinishDate="","",IF([Revised Planned Date]="",PlannedFinishDate,[Revised Planned Date]))
SharePoint Online Calculated Field Support for Blanks
=IF([Revised Planned Date]="",PlannedFinishDate,[Revised Planned Date]) is the one working
However,
If Both Revised Planned Date and Planned Finish Date are blank show blank.
Currently shows 12/30/1899 in my output when both are blank.
Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows
2 answers
Sort by: Most helpful
-
-
Emily Du-MSFT 51,946 Reputation points Microsoft External Staff
2023-12-15T03:32:24.3+00:00 Based on your original post, I understand that if Both Revised Planned Date and Planned Finish Date are blank, the calculated column shows blank. If not both Revised Planned Date and Planned Finish Date are blank, the calculated column shows the value same as Revised Planned Date. If I misunderstand your requirement, please correct me.
You could use following formula in the calculated column.
=IF(AND(ISBLANK([Revised Planned Date]),ISBLANK([Planned Finish Date])),"",[Revised Planned Date])
Result:
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.