I was able to create the following where the inclusion and exclusion might have multiple criteria separated by comma. ID exclusion_failed inclusion_failed 1 exc_1 inc_3 2 exc_1, exc_2 inc_1 3 inc_1, inc_2, inc_3 4 exc_2, exc_3 inc_2, inc_3 How do I properly apply format so the table then looks like this? ID exclusion_failed inclusion_failed 1 1 3 2 1, 2 1 3 1,2,3 4 2, 3 2,3 the code I used to format: proc format; value $exclusion 'exc_1' = '1' 'exc_2' = '2' 'exc_3' = '3'; value $inclusion 'inc_1' = '1' 'inc_2' = '2' 'inc_3' = '3'; run; When I apply the format, it only works for single criteria but for the ones separated by comma doesn't seem to be working, any suggestions.
... View more