I have tried to adapt this formula to a spreadsheet where the sheets have different names, but have been unsuccesful. How would I go about doing that?