ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   whats wong with this formula? (https://www.excelbanter.com/excel-worksheet-functions/11178-whats-wong-formula.html)

AMDGUY [MCP]

whats wong with this formula?
 
='I:\Shared\N.C.F\&text(A2-365,"YYYY")\[CAF-JAN.xls]MACH'!$C$40

Gives me #ref!

I:\Shared\N.C.F\2004 has previous years CAF-JAN. Every year this changes.
Want it to automaticly Take date value from A2 - 1 year and put it in
the path for the CAF-Jan.xls file.

Jerry W. Lewis

You cannot construct a cell reference in this way. See Help for the
INDIRECT() function.

Jerry

AMDGUY [MCP] wrote:

='I:\Shared\N.C.F\&text(A2-365,"YYYY")\[CAF-JAN.xls]MACH'!$C$40

Gives me #ref!

I:\Shared\N.C.F\2004 has previous years CAF-JAN. Every year this changes.
Want it to automaticly Take date value from A2 - 1 year and put it in
the path for the CAF-Jan.xls file.




All times are GMT +1. The time now is 03:51 AM.

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