I am trying to create a hidden field in S123 Connect that will automatically calculate a text value (Size field) based on an input from a previous integer question asking how many personnel are in a department. My criteria is as follows:
- Personnel between 0-50 = Small
- Personnel between 51-100 = Medium
- Personnel is 101+ = Large
This has so far been my best attempt but I keep getting errors. I put this in the calculation column in the field I want the calculation to be done in. Any suggestions?
if({$total_personnel}0>=50,"Small",if({$total_personnel}51>=99,"Medium",if({$total_personnel}<=100),"Large")))