Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why are my nested sub-totals are displaying incorrectly? | Excel Discussion (Misc queries) | |||
referencing named formula using INDIRECT function | Excel Worksheet Functions | |||
Nested IF statements | Excel Worksheet Functions | |||
is there a NON-volatile version of INDIRECT ?? | Excel Discussion (Misc queries) | |||
€śUse of more then 7 nested if statement€ť | Excel Worksheet Functions |