Using multiple IF leading to Blank Output
-
var temp = 0;
IF ( SUM(fieldname21, fieldname22, fieldname23, fieldname24) < -4, temp = -4, temp = SUM(fieldname21, fieldname22, fieldname23, fieldname24) )
IF( SUM(fieldname15,fieldname16,fieldname17,fieldname18,fieldname19,fieldname20, temp) <= 20,
IF(fieldname20 == 0,”Your L1R4 Points -> ” + (SUM(fieldname15,fieldname16,fieldname17,fieldname18,fieldname19,fieldname20, temp)), “Your L1R5 Points -> ” + (SUM(fieldname15,fieldname16,fieldname17,fieldname18,fieldname19,fieldname20, temp)) ), “Sorry, You did not make it to JC, Your Points -> ” + (SUM(fieldname15,fieldname16,fieldname17,fieldname18,fieldname19,fieldname20, temp)) )
I’m trying to do the above in a calculated field box, but when I add the temp and first IF, the output is blank. When I remove these lines, the output seems to work, I basically want to add the Temp variable in the output and sum below but the output is always blank. I’ll make variables for the sum later but gotta make it work now
- The topic ‘Using multiple IF leading to Blank Output’ is closed to new replies.