A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

='[master workbook.xls]3108'!K25 trying to use value of cell for 3



 
 
Thread Tools Display Modes
  #1  
Old May 15th, 2009, 07:47 PM posted to microsoft.public.excel.worksheet.functions
djames2007
external usenet poster
 
Posts: 6
Default ='[master workbook.xls]3108'!K25 trying to use value of cell for 3

This may be confusing but we have a detail workbook for each job (3107,3108,
3109, ...) each detail workbook has cells tied to the master workbook (the
3108 is the sheet name in the master workbook). When I start a new job I use
the workbook from the last job and resave it as the new job I have the job
(3107,3108,3109,...) entered in cell a1 how can I use the value of cell a1 in
place of the 3108 in my formula(s) so I only change it in cell a1 (one time)
Any help would be appreciated it would be a big time saver for me
  #2  
Old May 15th, 2009, 07:51 PM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default ='[master workbook.xls]3108'!K25 trying to use value of cell for 3

Use INDIRECT()

=indirect(A1 & "!a2") will return the value of a2 from Sheet mentioned in A1

If this post helps click Yes
---------------
Jacob Skaria


"djames2007" wrote:

This may be confusing but we have a detail workbook for each job (3107,3108,
3109, ...) each detail workbook has cells tied to the master workbook (the
3108 is the sheet name in the master workbook). When I start a new job I use
the workbook from the last job and resave it as the new job I have the job
(3107,3108,3109,...) entered in cell a1 how can I use the value of cell a1 in
place of the 3108 in my formula(s) so I only change it in cell a1 (one time)
Any help would be appreciated it would be a big time saver for me

  #4  
Old May 15th, 2009, 07:56 PM posted to microsoft.public.excel.worksheet.functions
Bernard Liengme[_2_]
external usenet poster
 
Posts: 1,027
Default ='[master workbook.xls]3108'!K25 trying to use value of cell for 3

I have two books called 1234.xls and 1235.xls
In a new workbook, in A1 I enter 1234
In B1 I use the formula =[1234.xls]Sheet2!$B$1
This returns the value from B1 of Sheet1 in the file 1234.xls
I can replace the formula by =INDIRECT("["&A1&".xls]Sheet2!$B$1") and get
the same result
If I type 1235 in A1, I get the value from the other workbook
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"djames2007" wrote in message
...
This may be confusing but we have a detail workbook for each job
(3107,3108,
3109, ...) each detail workbook has cells tied to the master workbook (the
3108 is the sheet name in the master workbook). When I start a new job I
use
the workbook from the last job and resave it as the new job I have the job
(3107,3108,3109,...) entered in cell a1 how can I use the value of cell a1
in
place of the 3108 in my formula(s) so I only change it in cell a1 (one
time)
Any help would be appreciated it would be a big time saver for me



  #5  
Old May 15th, 2009, 08:18 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default ='[master workbook.xls]3108'!K25 trying to use value of cell for 3

The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed.

If that's a problem, then Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/
or
http://xcell05.free.fr/morefunc/english/index.htm

That includes =indirect.ext() that may help you.

djames2007 wrote:

This may be confusing but we have a detail workbook for each job (3107,3108,
3109, ...) each detail workbook has cells tied to the master workbook (the
3108 is the sheet name in the master workbook). When I start a new job I use
the workbook from the last job and resave it as the new job I have the job
(3107,3108,3109,...) entered in cell a1 how can I use the value of cell a1 in
place of the 3108 in my formula(s) so I only change it in cell a1 (one time)
Any help would be appreciated it would be a big time saver for me


--

Dave Peterson
  #6  
Old May 15th, 2009, 08:42 PM posted to microsoft.public.excel.worksheet.functions
djames2007
external usenet poster
 
Posts: 6
Default ='[master workbook.xls]3108'!K25 trying to use value of cell f

I tried '[master workbook.xls]indirect(a1)'!$F$12 and get invalid references
not sure what to change

"Dave Peterson" wrote:

The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed.

If that's a problem, then Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/
or
http://xcell05.free.fr/morefunc/english/index.htm

That includes =indirect.ext() that may help you.

djames2007 wrote:

This may be confusing but we have a detail workbook for each job (3107,3108,
3109, ...) each detail workbook has cells tied to the master workbook (the
3108 is the sheet name in the master workbook). When I start a new job I use
the workbook from the last job and resave it as the new job I have the job
(3107,3108,3109,...) entered in cell a1 how can I use the value of cell a1 in
place of the 3108 in my formula(s) so I only change it in cell a1 (one time)
Any help would be appreciated it would be a big time saver for me


--

Dave Peterson

  #7  
Old May 15th, 2009, 09:11 PM posted to microsoft.public.excel.worksheet.functions
djames2007
external usenet poster
 
Posts: 6
Default ='[master workbook.xls]3108'!K25 trying to use value of cell for 3

thanks for your help I changed it to the following and it is working
=INDIRECT("'[master workbook.xls]"&A1&"'!$F$12")

"djames2007" wrote:

This may be confusing but we have a detail workbook for each job (3107,3108,
3109, ...) each detail workbook has cells tied to the master workbook (the
3108 is the sheet name in the master workbook). When I start a new job I use
the workbook from the last job and resave it as the new job I have the job
(3107,3108,3109,...) entered in cell a1 how can I use the value of cell a1 in
place of the 3108 in my formula(s) so I only change it in cell a1 (one time)
Any help would be appreciated it would be a big time saver for me

  #8  
Old May 15th, 2009, 09:12 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default ='[master workbook.xls]3108'!K25 trying to use value of cell f

Did you download Laurent's addin?

After you do that and install it, try a formula like:

=indirect.ext("'C:\My Documents\excel\[master workbook.xls]" & A1 & "'!$A$1")

(untested)

(Youll need to supply the correct path, too.)



djames2007 wrote:

I tried '[master workbook.xls]indirect(a1)'!$F$12 and get invalid references
not sure what to change

"Dave Peterson" wrote:

The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed.

If that's a problem, then Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/
or
http://xcell05.free.fr/morefunc/english/index.htm

That includes =indirect.ext() that may help you.

djames2007 wrote:

This may be confusing but we have a detail workbook for each job (3107,3108,
3109, ...) each detail workbook has cells tied to the master workbook (the
3108 is the sheet name in the master workbook). When I start a new job I use
the workbook from the last job and resave it as the new job I have the job
(3107,3108,3109,...) entered in cell a1 how can I use the value of cell a1 in
place of the 3108 in my formula(s) so I only change it in cell a1 (one time)
Any help would be appreciated it would be a big time saver for me


--

Dave Peterson


--

Dave Peterson
  #9  
Old May 15th, 2009, 10:46 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default ='[master workbook.xls]3108'!K25 trying to use value of cell for 3

As long as that sending workbook is open, you should be happy.

But as soon as you close the "master workbook.xls" and excel recalculates, you
may not be.

djames2007 wrote:

thanks for your help I changed it to the following and it is working
=INDIRECT("'[master workbook.xls]"&A1&"'!$F$12")

"djames2007" wrote:

This may be confusing but we have a detail workbook for each job (3107,3108,
3109, ...) each detail workbook has cells tied to the master workbook (the
3108 is the sheet name in the master workbook). When I start a new job I use
the workbook from the last job and resave it as the new job I have the job
(3107,3108,3109,...) entered in cell a1 how can I use the value of cell a1 in
place of the 3108 in my formula(s) so I only change it in cell a1 (one time)
Any help would be appreciated it would be a big time saver for me


--

Dave Peterson
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:41 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.