ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Uisng the Max and Index function to link to other workbooks (https://www.excelbanter.com/excel-discussion-misc-queries/244684-uisng-max-index-function-link-other-workbooks.html)

Marilyn

Uisng the Max and Index function to link to other workbooks
 
I'm working on an Excel 2007 workbook which contains formulas to other
workbooks. Several of the columns in that file use the =Max(Index(location
of file\[name of file]sheet name!Cell reference), however, if the file that
the formula is closed then all I get in my results in #ReF but when the file
that the formula references is opened then I get the actual results of the
formula.

Is this the default in Excel?

Thanks,

Domenic[_2_]

Uisng the Max and Index function to link to other workbooks
 
In article ,
Marilyn wrote:

I'm working on an Excel 2007 workbook which contains formulas to other
workbooks. Several of the columns in that file use the =Max(Index(location
of file\[name of file]sheet name!Cell reference), however, if the file that
the formula is closed then all I get in my results in #ReF but when the file
that the formula references is opened then I get the actual results of the
formula.

Is this the default in Excel?

Thanks,



=Max(Index(location
of file\[name of file]sheet name!Cell reference)


The reason the formula returns #REF! is that INDEX is missing an
argument. By the way, since the formula is only referring to one cell,
MAX isn't needed.

If you need further help, describe what it is that you're trying to do.

--
Domenic
Microsoft Excel MVP
www.xl-central.com
Your Quick Reference to Excel Solutions


All times are GMT +1. The time now is 09:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com