If else code only giving 1 output

Thank you very much @ktewes. I've spent many frustrated hours trying to get this.

2 Likes