retrieving data from spreadsheets