Analyze sales figures from json and write in spreadsheet