Amazon interview question

Excel fuctions and macros