FactSet interview question

Perform Excel functions, IF statements, =SUM,AVG