connect purchase inputs to spreadsheet