Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default INDIRECT - only partial variation to formula

INDIRECT("[Book2.xls]Sheets!A1") ::: Here you have not mentioned the sheet
name.

Please try the formula as such =INDIRECT("[" & A2 & "]" & A3 & "!" & "A1")
with
A1 = Hello
A2 = Book2
A3 = Sheet1


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


"BimboUK" wrote:

I opened a new workbook and input as you said but I am getting a #REF error.
When evaluating the formula it gets to INDIRECT("[Book2.xls]Sheets!A1") then
next step is the #REF error (I did it in Book2 so input Book2 instead of
Book1 in A2).

Any ideas whats going wrong?



"Jacob Skaria" wrote:

To understand INDIRECT try this

1. Open new workbook.
2. Enter the text 'Hello' in A1
2. Enter Workbook name in A2 eg: Book1.xls
3. Enter Sheet name in A3 eg: Sheet1
4. In A4 enter the formula which should return the value of current sheet A1
(Hello)

=INDIRECT("[" & A2 & "]" & A3 & "!" & "A1")

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


"BimboUK" wrote:

I wish to use one or two cells to vary part of a worksheet location in a
SUMIF formula.

example =SUMIF('c:\My Documents\[$A$1 C$2.xls]Costing
summary'!$A$28:$A$847,$A5,'c:\My Documents\[$A$1 C$2.xls]Costing
summary'!$C$28:$C$847)

Basically I am wanting to analyse the same range from a costing summary for
each person but also future proof it as A1 = the year and C2 being the name
of the person. The worksheet name is "09-10 A Person".

I have tried INDIRECT but don't understand the SYNTAX correctly yet.

At present I have the info in TEXT format.

If i can get this right I can really use the data I have!!

PS I have tried MoreFunc by ? Laurent using the INDIRECT.ext func and
couldn't get that to work either.

All help greatly appreciated

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default INDIRECT - only partial variation to formula

Sorry the sheet name was correct ie Sheet1 but I omitted it on my reply - any
ideas


"Jacob Skaria" wrote:

INDIRECT("[Book2.xls]Sheets!A1") ::: Here you have not mentioned the sheet
name.

Please try the formula as such =INDIRECT("[" & A2 & "]" & A3 & "!" & "A1")
with
A1 = Hello
A2 = Book2
A3 = Sheet1


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


"BimboUK" wrote:

I opened a new workbook and input as you said but I am getting a #REF error.
When evaluating the formula it gets to INDIRECT("[Book2.xls]Sheets!A1") then
next step is the #REF error (I did it in Book2 so input Book2 instead of
Book1 in A2).

Any ideas whats going wrong?



"Jacob Skaria" wrote:

To understand INDIRECT try this

1. Open new workbook.
2. Enter the text 'Hello' in A1
2. Enter Workbook name in A2 eg: Book1.xls
3. Enter Sheet name in A3 eg: Sheet1
4. In A4 enter the formula which should return the value of current sheet A1
(Hello)

=INDIRECT("[" & A2 & "]" & A3 & "!" & "A1")

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


"BimboUK" wrote:

I wish to use one or two cells to vary part of a worksheet location in a
SUMIF formula.

example =SUMIF('c:\My Documents\[$A$1 C$2.xls]Costing
summary'!$A$28:$A$847,$A5,'c:\My Documents\[$A$1 C$2.xls]Costing
summary'!$C$28:$C$847)

Basically I am wanting to analyse the same range from a costing summary for
each person but also future proof it as A1 = the year and C2 being the name
of the person. The worksheet name is "09-10 A Person".

I have tried INDIRECT but don't understand the SYNTAX correctly yet.

At present I have the info in TEXT format.

If i can get this right I can really use the data I have!!

PS I have tried MoreFunc by ? Laurent using the INDIRECT.ext func and
couldn't get that to work either.

All help greatly appreciated

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
Formula changes to answer within the cell or some variation shan820 Excel Worksheet Functions 4 August 9th 08 09:53 PM
partial calculation displays in formula Sandy Excel Discussion (Misc queries) 2 October 21st 07 04:07 PM
Variation from the mean? Greenwich_Man Charts and Charting in Excel 1 September 25th 07 03:14 PM
Formula to calculate partial payments Jean Excel Worksheet Functions 4 December 29th 06 05:36 PM
formula for "coefficient of variation" woodendummy Excel Worksheet Functions 1 January 18th 05 05:14 AM


All times are GMT +1. The time now is 10:31 AM.

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"