FactSet interview question

Create a pivot table and do a IF formula in excel