=INDIRECT("'C:\temp\[Output" & TEXT(A1,"yyyymmdd") & ".csv]Output" & TEXT(A1,"yyyymmdd") & "'!a3")
=VLOOKUP(E5,INDIRECT(A1&"!$B:$AE"),30,FALSE)
Returns the reference specified by a text string. References are immediately evaluated to display their contents. Use INDIRECT when you want to change the reference to a cell within a formula without changing the formula itself. Syntax INDIRECT(ref_text,a1) Ref_text is a reference to a cell that contains an A1-style reference, an R1C1-style reference, a name defined as a reference, or a reference to a cell as a text string. If ref_text is not a valid cell reference, INDIRECT returns the #REF! error value. A1 is a logical value that specifies what type of reference is contained in the cell ref_text.
Remarks
|
  | A | B | C |
1 | Company name | A1: Company name | |
2 | G1 | A2: =INDIRECT("sheet" & ROW()-1 & "!G1") | |
3 | G1-1 | A3: =INDIRECT("sheet" & ROW()-1 & "!G1") |
A | B | |
1 | Company | Revenue |
2 | Sheet166 | 20,000 |
3 | Sheet167 | 15,000 |
4 | Sheet168 | 24,000 |
5 | Sheet169 | 20,000 |
6 | Sheet170 | missing |
7 | Sheet171 | missing |
8 | Sheet172 | missing |
B2: =IF(TRIM(A2)="","",IF(ISERROR(INDIRECT("'" & A2 & "'!$A$1")),"missing", HYPERLINK("#" & "'" & A2 & "'!$A$1",INDIRECT("'" & A2 & "'!$B$2")) ))
  | A | B | C |
1 | b2 | 2 | |
2 | b3 | 4 | |
3 | b4 | 8 | |
4 | 'B2:B3 | ||
5 | 4 | A5: =INDIRECT(A1) | |
6 | 12 | A6: =SUM(INDIRECT(A1&":"&A3)) | |
7 | 14 | A6: =SUM(INDIRECT("B1:B3",True) | |
8 | 14 | A6: =SUM(INDIRECT(C4)) |
=IF(EXACT(INDIRECT("A5"),INDIRECT("C5")),"ok","modify")
Visit [my Excel home page] [Index page] [Excel Onsite Search] [top of this page]
Please send your comments concerning this web page to: David McRitchie send email comments
Copyright © 1997 - 2004, F. David McRitchie, All Rights Reserved