My understanding is that you want to be able to copy a formula from one workbook to another. This formula references ranges on other worksheets, and the names of worksheets vary from workbook to workbook. You want your formula to be independent of what the worksheets are named, and use only their positions on the list of tabs.
The following UDF will do what you want. You need to create a new Module and put it in every workbook that needs to use it.
SheetIndex is the index of the worksheet. The index is based on the tab order.
RangeRef is a string that provides the range.
In your example, you would use the following formula:
=MIN(SheetRange(1,"J2:J100",SheetRange(2,"J2:J100"))
Bookmarks