How to perform calculations based on the Spreadshseet widget cells?