PROC SQL CASE statement to check multiple variables in different rows and columns I’m asking this because I’m not actually sure if this can actually be done.