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
3
votes
1 answer

Indirect Function returns #REF

I am trying to use a match/indirect function to find a specific value for a range of cells on a separate sheet in excel. The A3 value is the sheet number that the function is referencing and the '1' again the sheet it is referencing. The F1:F4000 is…
AM847
  • 31
  • 1
  • 1
  • 6
2
votes
1 answer

How to use the INDIRECT function in Excel

I am using in Excel the following formula that works to get the value of a cell: =INDEX(Sheet1!$1:$1048576,MATCH("Component 1",Sheet1!$A:$A,0)+MATCH("Component 2",Sheet2!$B:$B,0),2) For a new application, the sheet and component names are dynamic,…
Xav
  • 51
  • 6
2
votes
1 answer

Generating the next column letter via formula

I am trying to grab a Column letter that is written in a cell and then generate what would be the next column's letter. This works for A to Z, but after that, my formula doesn't work Let's say Cell A1 contains letter A and I want my function to show…
2
votes
2 answers

Using INDIRECT inside HYPERLINK in excel

I am trying to create a hyperlink in Excel that references a cell on my worksheet, to get the sheet name. Here is the working formula, with a static value. =HYPERLINK("[\\xxxfs01\xxxxxxxx\IT\Monthly Reporting\Data\Computers Report for…
user3580480
  • 442
  • 7
  • 14
  • 45
2
votes
1 answer

Excel Dropdown based on another dropdown

I have two tables Stores and Employees, Where each employee belongs to a store. I also use another table where i can input data, what I'm trying to achieve is when you select a store in the first column then only the employees from that given store…
LiamJ
  • 37
  • 4
2
votes
1 answer

Dynamic COUNTIFS - No INDIRECT

I have a COUNTIFS statement that dynamically gets the row to count in, which works fine, but I have a small problem with it that I'd like to see if there was a way to fix: =COUNTIFS(locplan_week,AU$20,…
tomm
  • 23
  • 2
2
votes
1 answer

Indirect and Vlookup Reference Errors

Ive constructed the following path with the code below: 'I:\Capital Markets\Post Closing\Audit\Team Reports\Audit Time\2017\February\[feb12017.xlsm]TimeInOffice'!A:C Using this code =("'I:\Capital Markets\Post Closing\Audit\Team Reports\Audit…
2
votes
1 answer

How to change cell reference when dragging an INDIRECT formula?

I am using the INDIRECT function to reference a specific sheet but when I drag across the row, I want the cell reference to change, NOT the sheet reference. The problem I am having is that my sheet reference for the INDIRECT formula is a column of…
G Sykes
  • 23
  • 1
  • 4
2
votes
2 answers

Indirect Function in Excel

=Indirect("'App Summary'!"&$D$4&"18") I have two worksheets, Sheet 1 and App Summary. On Sheet 1 in cell D4 I have a column lookup based on a value typed in cell B2. So for instance, if I type in July in cell B2 of Sheet 1, it will place H in…
user1609391
  • 445
  • 1
  • 9
  • 24
2
votes
2 answers

VLOOKUP using dependent lists

I'm really struggling to get this to work. I have a data set of different types of steel, the size and weight. Example shown below: A B C Section Designation Weight(kg/m) UB 127x76x13 13 UB 152x89x16 …
Lee McC
  • 21
  • 1
2
votes
3 answers

ISERROR seems to be ignoring #REF! generated by INDIRECT

I am trying to create a reference to a separate sheet using INDIRECT. I also want to check this for errors, so I preface the thing by using ISERROR. H1 is a date value, formatted as "nn m.d". In this case, 42574 returns Sat 7.23 'Sat 7.23'.D2…
MrMusAddict
  • 427
  • 1
  • 6
  • 16
2
votes
2 answers

Fixed formula when inserting rows

I am using the following formula in an Excel sheet, that performs the SUM in a range of cells from another sheet (ITEMS CONTROL): =SUMIF('ITEMS CONTROL'!$B$2:$B$20000,B$1,'ITEMS CONTROL'!$C$2:$C$20000) My issue is that when inserting rows in the…
mvasco
  • 4,965
  • 7
  • 59
  • 120
2
votes
2 answers

SUMPRODUCT with INDIRECT

I have checked all question related to this topic, but none of it helped. I have this formula =SUMPRODUCT((INDIRECT("Ap"&ROW()&":"&"Ap"&(ROW()+$T4-1)));(INDIRECT("Ap"&ROW()&":"&"Ap"&(ROW()+$T4-1)))) This results in -…
energyMax
  • 419
  • 1
  • 8
  • 16
2
votes
1 answer

Moving range/array reference in Excel table

Friends, I'm hoping you can help. I'm fairly certain I found a solution to this problem below a while ago, but silly me didn't write it down and now I can't remember how I did it. I'm drawing a blank on what to search for (Google is flooded with…
CactusCake
  • 986
  • 3
  • 12
  • 32
2
votes
2 answers

Copy each row from sheet1 into two rows in sheet 2

I have a CSV sheet, a product feed. I want to copy every row from that feed into a new sheet but with two rows there for each in the original. Applied to this data in sheet1: Product 1,data,more_data Product 2,data,more_data Product 3,data,more_data…
1
2
3
19 20