Hi. I have an if else statement that is like this:
ifelse(Group ='A', ifelse(${A}= 'Yes', ${NewPoints}, {Points}), {Points})
What I wanted to do is add another if else statement for Group B, C, D and E. But it is giving me errors whenever I try to combine them all. I think my formula is incorrect.
ifelse(Group ='A', ifelse(${A}= 'Yes', ${NewPoints}, {Points}), {Points})
ifelse(Group ='B', ifelse(${B}= 'Yes', ${NewPoints}, {Points}), {Points})
ifelse(Group ='C', ifelse(${C}= 'Yes', ${NewPoints}, {Points}), {Points})
ifelse(Group ='D', ifelse(${D}= 'Yes', ${NewPoints}, {Points}), {Points})
ifelse(Group ='E', ifelse(${E}= 'Yes', ${NewPoints}, {Points}), {Points})
How do I combine these into one nested statement?