Arrow Capital interview question

I had to complete an excel worksheet test