Rather than throwing errors every time a cell isn't found, return '#REF!' if sheet isn't found, otherwise, return '' as does most spreadsheets.