Using spreadsheet values in calcuations