script for handling and maintaining cost micromanaging in a google spreadsheet