Hi all - I have attached my data what it looks like before and what I want it to look like after. In the column 'proportion of fees 23/24' I wanted to return a value based on the 'SCSESSIONID' column. The logic I want to apply as follows:
IF 'SCSSESSIONID' has characters that DON'T contain an underscore AND contains a value in 'Proportion of fees 22/23' THEN return the value in 'PRORTION OF FEES 22/23' into 'PRORTION OF FEES Value 23/24'
IF 'SCSESSIONID' has an underscore in the characters AND contains a value in 'Proportion of fees 22/23' then do the following calculation: SCSFEE (gross) MINUS 'Proportion of fees 22/23' and return this value in 'PRORTION OF FEES Value 23/24'
I hope that makes sense and thank you in advance for your help. This community is brilliant!