Please see the attached two files: File 1 is the original file and file 2 is what we want. For Alabama, we just need to put app under 1020 and 1047 and the else are zero; for Arkansas, we just need to put app under 1020 and 1048 and the else are zero. I'm wondering what kind of formula we should write. Appreciate your time! Thanks!