Hello All,
I was trying to create an output for the dataset
ID Date Plan
1 jan2013 a
1 feb2013 a
1 mar2013 a
1 may2013 b
1 jun2013 b
1 jul2013 a
1 aug2013 a
the output i'm looking to get is ID Plan Date_range
1 a 1-3
2 b 5-6
3 a 7-8
Thanks. Looking forward to some responses.
You can format the min and max into date range yourself right?

You can format the min and max into date range yourself right?

Thank you so much for the help.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.