function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tarun Sharma 116Tarun Sharma 116 

if a test column having value Quarter then return 3, if half year then return 2

SwethaSwetha (Salesforce Developers) 
HI Tarun,
You need to create a custom formula for your reports. See the article
https://trailblazers.salesforce.com/answers?id=90630000000wktsAAA for similar scenario.

Happy to answer follow up queries. In case this helps,please mark this answer as best so that others facing the same issue will find this information useful. Thank you