Questions tagged [excel-indirect]

Returns the reference specified by a text string. References are immediately evaluated to display their contents.

Syntax

INDIRECT(ref_text, a1)

Ref_text

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.
  • If ref_text refers to another workbook (an external reference), the other workbook must be open. If the source workbook is not open, INDIRECT returns the #REF! error value.
  • If ref_text refers to a cell range outside the row limit of 1,048,576 or the column limit of 16,384 (XFD), INDIRECT returns a #REF! error.

Note:

This behavior is different from Excel versions earlier than Microsoft Office Excel 2007, which ignore the exceeded limit and return a value.

A1

A logical value that specifies what type of reference is contained in the cell ref_text.

  • If a1 is TRUE or omitted, ref_text is interpreted as an A1-style reference.
  • If a1 is FALSE, ref_text is interpreted as an R1C1-style reference.

Reference links


Tag wiki credits to Microsoft Office documentation of function.

290 questions
0
votes
1 answer

Programming with VLOOKUP or IF statements

I am trying to take column a (5000 rows) and match against column b (138 rows) and when it finds a match in cell b will take cell c (on the same row) and print it in cell d for example. I have attempted to use an IF statement and a VLOOKUP but just…
0
votes
1 answer

Excel formula returns #value when named

I am working with the following table in Excel: The following formula in evaluates normally when entered directly into a cell: =DATE(YEAR(DATEVALUE($A$1)),MONTH(DATEVALUE($A$1)),DAY(INDIRECT(ADDRESS(2,COLUMN())))) However, when I try to place put…
0
votes
1 answer

excel : no vba : referance or link cell to a remote server data with variable

I have a cell referanced to a remote server with formula: =serv~10~0'!'23'*1 10 should be the variable referanced to a cell in the same sheet I tried this but didn't work =INDIRECT("serv~" & $A$1 & "~0'!'23'*1") any idea how to do it!!
Adnan Al-Husain
  • 110
  • 1
  • 3
  • 17
0
votes
3 answers

Is there an 'indirect' Cocoa function like in Excel?

i'm building an app in Xcode where there are a 81 textviews in the NIB, each with a sequential name, so box1, box2, box3, box4 etc. When doing data manipulation i want to be able to use the data in each box to add to an array for example. What i…
-1
votes
1 answer

Dynamic rolling correlation excel

I have a financial time series data set. I need to make a rolling window correlation, where I can control the window size, 1 dependent variable and 2 or more independent varaibles. And it needs to be dynamic when updating the data history. I also…
Frank_O
  • 37
  • 5
-1
votes
3 answers

"Indirect" reference a combobox in a loop

I have this problem that my excel crash whenever I try to run my code. I do believe I have a solution but I don't know how to execute it. I have this code: If (AnswerGame1A <> "") And (AnswerGame1B <> "") Then Score1A.Visible = False …
Nick
  • 142
  • 9
-1
votes
1 answer

Can't retain numberformat after using Indirect to copy cells between worksheets

I have used indirect function to copy cells between worksheets which works fine but i do not get the same number format (as i am getting same values to different decimal places). Can some one please suggest the way around this. My source cell has 3…
-1
votes
1 answer

Create New Unique ID Based on Linked Values in Two Columns - Excel

I have tried using the formulas you previously posted to resolve my issue, but I am showing a 3 in column C for some of the Unique IDs instead of a 2. My goal is to assign a Unique ID whenever a record in column A is linked to a record in column B…
Tommy
  • 3
  • 3
-1
votes
2 answers

Combine INDIRECT with ADRESS function in VBA

I have two Excel Sheets in the same workbook: Sheet 1 (Name is AK): A B C -------------------- 1 | A2 | | | -------------------- 2 | 20 | | | -------------------- Sheet 2 contains the following…
zuluk
  • 1,557
  • 8
  • 29
  • 49
-1
votes
2 answers

Excel Insert Formula into Cell Reference to Another Sheet

How can I insert a formula into cell reference to another sheet For example, General Formula Cell D[x] = Analysis!I[x*9 + 5] e.g. Cell D1 =Analysis!I16 (Analysis Sheet Cell I 14) Cell D2 =Analysis!I25 (Analysis Sheet Cell I 23) Cell D3…
WXYZ
  • 53
  • 2
  • 9
-1
votes
1 answer

Excel - row formula not working with indirect reference

click to show example of spreadsheet I want to get it to show row(1:1) (aka 1), row(2:2), and so on to row(11:11) (aka 11) in A2 to K2. Indirect(A1) = Indirect(1) = ref error; how do I get my row formula to accurately refer to the values in cells…
lostinOracle
  • 408
  • 1
  • 4
  • 14
-1
votes
1 answer

indirect.ext (from morefunc add-on) returns NAME error in Excel

I'm using the indirect function that can look up externally closed workbooks from the morefunc add-on. I get a name error in evaluate formula at the indirect.ext function. Why is the morefunc add-in not working? I'm using Excel 2010 and Windows 7…
-1
votes
1 answer

Using an explicity Column with a cell value from another sheet for Row

Using: =IF(ISNUMBER(F8),CONCATENATE(INDIRECT("'"&A8&"'!"C"&$K$26")," ",INDIRECT("'"&A8&"'!"D"&$K$26")),"") everything works, but the "D"&$K$26". The error is in "D".
TerriH
  • 1
  • 1
-1
votes
1 answer

INDIRECT() excel - add to formula

I have need to enter a value that can vary. It is the last row in a column. I add this variable cell to A1. The value is $L$9001 I have the following formula: =VLOOKUP($H4,'week ending 04JUL'!$A$1:$L$9001,3,FALSE) In A1 I have the value $L$9001.…
-1
votes
1 answer

Possible? Recalculate Formula, after formula returned from Vlookup

In ABCTable, column 4 are formulas example 0.8*(INDIRECT("G"&ROW())-200) =VLOOKUP(K4,ABCTable,4,FALSE) given condition of k4, i would like to call up the formula and recalculate in my current sheet. but currently i only call up text or value of…
1 2 3
19
20