#1   Report Post  
AMDGUY [MCP]
 
Posts: n/a
Default #REF!

='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.
  #2   Report Post  
AMDGUY [MCP]
 
Posts: n/a
Default

Sry removed previous post so I could post in both groups

Jerry W. Lewis wrote:
See answer to your previous post. Repeating a question after 18 minutes
does nothing to spead a reply.

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.



  #3   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

See answer to your previous post. Repeating a question after 18 minutes
does nothing to spead a reply.

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.


  #4   Report Post  
AMDGUY [MCP]
 
Posts: n/a
Default

Also I can not figure out how to use the indirect() function
Could you give me an example base on the question?

Jerry W. Lewis wrote:
See answer to your previous post. Repeating a question after 18 minutes
does nothing to spead a reply.

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.



  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

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


--

HTH

RP
(remove nothere from the email address if mailing direct)


"AMDGUY [MCP]" wrote in message
...
Also I can not figure out how to use the indirect() function
Could you give me an example base on the question?

Jerry W. Lewis wrote:
See answer to your previous post. Repeating a question after 18 minutes
does nothing to spead a reply.

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.







  #6   Report Post  
AMDGUY [MCP]
 
Posts: n/a
Default

I still get the #REF! with that

Bob Phillips wrote:
=INDIRECT("='I:\Shared\N.C.F\"&TEXT(A2-365,"YYYY")&"\[CAF-JAN.xls]MACH'!$C$4
0")


  #7   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

You need to have the other workbook open when using indirect


Regards,

Peo Sjoblom

"AMDGUY [MCP]" wrote:

I still get the #REF! with that

Bob Phillips wrote:
=INDIRECT("='I:\Shared\N.C.F\"&TEXT(A2-365,"YYYY")&"\[CAF-JAN.xls]MACH'!$C$4
0")



  #8   Report Post  
AMDGUY [MCP]
 
Posts: n/a
Default

I did have the other one open.

do you know if there is another way that you dont have to have the
workbook open?

Peo Sjoblom wrote:
You need to have the other workbook open when using indirect


Regards,

Peo Sjoblom

"AMDGUY [MCP]" wrote:


I still get the #REF! with that

Bob Phillips wrote:

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



  #9   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

It works if the other workbook is open but then you don't need the path, for
possible workarounds see

http://makeashorterlink.com/?F2993260A


Regards,

Peo Sjoblom

"AMDGUY [MCP]" wrote:

I did have the other one open.

do you know if there is another way that you dont have to have the
workbook open?

Peo Sjoblom wrote:
You need to have the other workbook open when using indirect


Regards,

Peo Sjoblom

"AMDGUY [MCP]" wrote:


I still get the #REF! with that

Bob Phillips wrote:

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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"