This is a very vague question, can you provide more details? Can you show sample input data and what you would expect as output from that data?
@Ceeejay wrote: How do I code for common observations in a variable?
Register Today!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.