ELSE IF in calculated sharepoint field

1

How to use a ELSE IF structure in a calculated Sharepoint field, for example:

= IF([Nota]>=80,"A")
  ELSEIF([Nota]>=70,"B")
  ELSEIF([Nota]>50,"C")
  ELSEIF([Nota]>=30,"D")
  ELSE("E")
    
asked by anonymous 09.07.2015 / 17:00

1 answer

1

For this it is necessary to nest several IF s:

=IF([Nota]>=80;
   "A";
   IF([Nota]>=70;
      "B";
      IF([Nota]>50;
         "C";
         IF([Nota]>=30;
            "D";
            "E"
         )
      )
   )
)

Code ident only for understanding, I'm not sure if Sharepoint allows.

Note: Note that the separator in the Portuguese version is ; semicolon already in the English version is , .

    
09.07.2015 / 17:00