Performing "spreadsheet-like" calculations