Hi,
the attached file uses an old Excel 4 macro function to come up with a list of sheet names in the workbook. This function works only when used in a defined name, but it's almost as good as a UDF.
Using INDEX/MATCH in combination with that defined name, you can identify the name of the previous and the next sheet. Using INDIRECT with that sheet name can then return a cell value from the respective sheet.
You can also use the defined name to create a list of all sheets in the book.
You can now insert, remove, re-arrange, rename sheets and your formulas can reference to their immediate neighbours without a hitch.
Bookmarks