How to get output based on date month, if date month is consecutive then output should be consecutive number starting from 1. If date month is not consecutive like (Jan, March), then output should start from 1 for non consecutive month
Date Output
Dec 14 1
Jan 15 2
Feb 15 3
Mrch 15 4
June 15 1
July 15 2
Aug 15 3
- Edited by Aakash Arora 31 minutes ago