SharePoint Calculate Field to calculate Month and quarter from date


=IF(MONTH(Created)<=3,"Q1 - "&(YEAR(Created)-1), IF(MONTH(Created)<=6,"Q2 - "&(YEAR(Created)), IF(MONTH(Created)<=9,"Q3 - "&(YEAR(Created)),IF(MONTH(Created)<=12,"Q4 - "&(YEAR(Created)),""))))



Result: 

Created date : 21-01-2020

Output : Q4 - 2019

Consider FY : Apr to Mar

Comments

Popular posts from this blog

IRM and the Object Model

This content database has a schema version which is not supported in this farm

Activate and Deactivate Feature through PowerShell