Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
LyleF
 
Posts: n/a
Default nested Indirect to other WS

I am using Indirect fine within the WS 'Test' but cannot get it to grab info
from another WS within a nested function. Ex:
=AVERAGE('[Master.xls]RMG'!B1300:B1617) which works fine. I want the
b1330:b1617 to be an indirect call from the original worksheet 'Test'.
ex:=AVERAGE(Indirect('[Master.xls]RMG'!"AB"(&1623)&":AB"(&1624))). This
gives me a highlight error at "AB".
Thanks
Lyle
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

:=AVERAGE(Indirect("'[Master.xls]RMG'!"&AB1623&":"&AB1624))

Note - if this is being used in TEST.XLS then MASTER.XLS must be open for it
to work.

Biff

"LyleF" wrote in message
...
I am using Indirect fine within the WS 'Test' but cannot get it to grab
info
from another WS within a nested function. Ex:
=AVERAGE('[Master.xls]RMG'!B1300:B1617) which works fine. I want the
b1330:b1617 to be an indirect call from the original worksheet 'Test'.
ex:=AVERAGE(Indirect('[Master.xls]RMG'!"AB"(&1623)&":AB"(&1624))). This
gives me a highlight error at "AB".
Thanks
Lyle



  #3   Report Post  
LyleF
 
Posts: n/a
Default

That's closer to what I need. I forgot to say I need to imbed the column B
before the ab1623 and ab1624 - kind of a big miss on my part. So the formula
would read
=AVERAGE(INDIRECT("'[Master.xls]RMG'!"B"&AB1623&":"B"&ab1624)) or something
like that?? This of course doesn't work. I can't get the punctuation right.

Text.xls is always pulling from column B in all the tabs in Master.xls
--
Thanks for your help
Lyle


"Biff" wrote:

Hi!

Try this:

:=AVERAGE(Indirect("'[Master.xls]RMG'!"&AB1623&":"&AB1624))

Note - if this is being used in TEST.XLS then MASTER.XLS must be open for it
to work.

Biff

"LyleF" wrote in message
...
I am using Indirect fine within the WS 'Test' but cannot get it to grab
info
from another WS within a nested function. Ex:
=AVERAGE('[Master.xls]RMG'!B1300:B1617) which works fine. I want the
b1330:b1617 to be an indirect call from the original worksheet 'Test'.
ex:=AVERAGE(Indirect('[Master.xls]RMG'!"AB"(&1623)&":AB"(&1624))). This
gives me a highlight error at "AB".
Thanks
Lyle




  #4   Report Post  
Biff
 
Posts: n/a
Default

Try this:

=AVERAGE(INDIRECT("'[Master.xls]RMG'!B"&AB1623&":B"&ab1624))

Just remember, Master.xls MUST be open for this to work.

Biff

"LyleF" wrote in message
...
That's closer to what I need. I forgot to say I need to imbed the column
B
before the ab1623 and ab1624 - kind of a big miss on my part. So the
formula
would read
=AVERAGE(INDIRECT("'[Master.xls]RMG'!"B"&AB1623&":"B"&ab1624)) or
something
like that?? This of course doesn't work. I can't get the punctuation
right.

Text.xls is always pulling from column B in all the tabs in Master.xls
--
Thanks for your help
Lyle


"Biff" wrote:

Hi!

Try this:

:=AVERAGE(Indirect("'[Master.xls]RMG'!"&AB1623&":"&AB1624))

Note - if this is being used in TEST.XLS then MASTER.XLS must be open for
it
to work.

Biff

"LyleF" wrote in message
...
I am using Indirect fine within the WS 'Test' but cannot get it to grab
info
from another WS within a nested function. Ex:
=AVERAGE('[Master.xls]RMG'!B1300:B1617) which works fine. I want the
b1330:b1617 to be an indirect call from the original worksheet 'Test'.
ex:=AVERAGE(Indirect('[Master.xls]RMG'!"AB"(&1623)&":AB"(&1624))).
This
gives me a highlight error at "AB".
Thanks
Lyle






  #5   Report Post  
LyleF
 
Posts: n/a
Default

Biff

Thanks for your time. It works perfectly, as you knew it would.
--
Thanks
Lyle


"Biff" wrote:

Try this:

=AVERAGE(INDIRECT("'[Master.xls]RMG'!B"&AB1623&":B"&ab1624))

Just remember, Master.xls MUST be open for this to work.

Biff

"LyleF" wrote in message
...
That's closer to what I need. I forgot to say I need to imbed the column
B
before the ab1623 and ab1624 - kind of a big miss on my part. So the
formula
would read
=AVERAGE(INDIRECT("'[Master.xls]RMG'!"B"&AB1623&":"B"&ab1624)) or
something
like that?? This of course doesn't work. I can't get the punctuation
right.

Text.xls is always pulling from column B in all the tabs in Master.xls
--
Thanks for your help
Lyle


"Biff" wrote:

Hi!

Try this:

:=AVERAGE(Indirect("'[Master.xls]RMG'!"&AB1623&":"&AB1624))

Note - if this is being used in TEST.XLS then MASTER.XLS must be open for
it
to work.

Biff

"LyleF" wrote in message
...
I am using Indirect fine within the WS 'Test' but cannot get it to grab
info
from another WS within a nested function. Ex:
=AVERAGE('[Master.xls]RMG'!B1300:B1617) which works fine. I want the
b1330:b1617 to be an indirect call from the original worksheet 'Test'.
ex:=AVERAGE(Indirect('[Master.xls]RMG'!"AB"(&1623)&":AB"(&1624))).
This
gives me a highlight error at "AB".
Thanks
Lyle








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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why are my nested sub-totals are displaying incorrectly? chiefdean13 Excel Discussion (Misc queries) 1 July 20th 05 05:45 AM
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM
is there a NON-volatile version of INDIRECT ?? spiderman Excel Discussion (Misc queries) 1 February 4th 05 04:54 PM
€śUse of more then 7 nested if statement€ť Faisal Yameen Excel Worksheet Functions 3 January 12th 05 06:02 PM


All times are GMT +1. The time now is 05:13 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"