Forum Discussion
Get the year from other column
Note:
- Sometimes comma( , ) does not work in formula (it is based on language or regional settings on your site). So in that case use semicolon( ; ) instead of comma( , ). 2. Use correct display names of your columns in the formula.
Documentation: Calculated Field Formulas
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.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
- ganeshsanapMar 28, 2023MVP
Jonas_Daragas Try using formula in this format:
=IF(ISBLANK([Date]),"",TEXT([Date],"yyyy"))Output:
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.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
- Jonas_DaragasMar 28, 2023Copper ContributorSyntaxis error
- QuintenBOct 01, 2024Copper Contributor
Jonas_Daragas
A little bit late 😉, but perhaps useful for others.
Try:=IF(ISBLANK([Date]);"";TEXT([Date];"yyyy"))
As ganeshsanap said, formula per language but also per regional setting.