05-09-2023 12:34 AM
Hi everyone,
I'm looking to write a formula such that the startdate of the year (Jan 1st) is obtained based on the year of the previous month.
For example :
if the input is "2022-01-01" then the formula should return "2021-01-01" (Since year of previous month would be 2021)
if the input is "2022-04-01" then the formula should return "2022-01-01" (since the year of previous month would be 2022)
Thanks in advance !
Solved! Go to Solution.
05-09-2023 01:52 AM
Hi Ruchita,
You can use below formula to get your desired result.
==============================================
Please let us know if you need more details.
Regards,
Shashidhar.S
05-09-2023 02:32 AM
Hi Shashidhar,
Thank you for your prompt reply. I also found the below formula to work just fine.
Thank you once again for your reply.
06-16-2023 01:09 PM
This formula should also work: