Make Text-Based Cell References Update Automatically When Copying an INDIRECT Formula

Abstract: Cell references inside quoted text in an INDIRECT formula stay frozen when copied. Build the reference dynamically with ADDRESS and COLUMN, or switch to INDEX for a faster, non-volatile solution.

Created: 2026-11-02 by

Any reference sitting inside quotation marks is just text, so Excel never treats it as a reference and never shifts it when you copy the formula. To make a range like au$18:au$29 slide across to av$18:av$29, aw$18:aw$29 and so on, you must assemble the reference string at calculation time using ADDRESS and COLUMN instead of hard-coding it in quotes.

Why the reference stays frozen

A formula such as the one below looks like it contains a normal range, but everything between the quotes is a plain text literal:

=INDIRECT("'"&$B8&"'!au$18:au$29")

Excel only adjusts relative and absolute markers ($ and column letters) for actual reference tokens in a formula. A string like "au$18:au$29" has no reference token — it is simply characters. When you drag that formula one column to the right, Excel updates real references in the formula, but the text stays exactly as typed. That is why every pasted copy still points at column au.

Building the reference dynamically

The trick is to generate the column letter from the formula's own position. COLUMN(AU1) returns the number of column au; when the formula is copied right, the AU1 argument shifts to AV1, AW1, and so on, exactly like a normal reference. ADDRESS then converts that number back into an A1-style address, and the 4 as the third argument requests a relative form with no dollar signs.

=INDIRECT("'"&$B8&"'!"&
    ADDRESS(18, COLUMN(AU1), 4) & ":" &
    ADDRESS(29, COLUMN(AU1), 4))

Copy this across columns and the generated range follows: column av, then aw, and so on, while rows 18 and 29 stay locked because they are supplied as plain numbers.

A cleaner version without manual apostrophes

Building the sheet name with "'"&$B8&"'!" works, but ADDRESS can accept the sheet name directly as an optional fifth argument, which removes the fiddly quoting entirely:

=INDIRECT(ADDRESS(18, COLUMN(AU1),,,$B8) & ":" &
          ADDRESS(29, COLUMN(AU1)))

Here $B8 supplies the worksheet name, and ADDRESS produces 'Sheet Name'!au18 style output with the quotes handled for you. This matters if the sheet names ever contain spaces or characters that require quoting.

Consider INDEX instead of INDIRECT

INDIRECT is a volatile function: it recalculates every time anything in the workbook changes, which can noticeably slow a file that uses it in many cells. If the sheet layout is stable, INDEX achieves the same result without volatility and without any text parsing:

=INDEX(Sheet_Name!$A:$AAA, 18, COLUMN(AU1)):
INDEX(Sheet_Name!$A:$AAA, 29, COLUMN(AU1))

This returns the range from row 18 to row 29 in the column matching COLUMN(AU1), and the whole expression can be used anywhere a range is expected — for example inside SUM, AVERAGE, or as a lookup range. The trade-off is that INDEX needs the sheet name written as a real reference (it cannot be taken from cell $B8 as text), so it only works when the target sheet is fixed rather than dynamic.

Choosing between the two approaches

  • Use ADDRESS + INDIRECT when the worksheet name must come from a cell and may change at any time.
  • Use INDEX when the target sheet is known in advance; it recalculates only when its inputs actually change.
  • If your workbook is saved in the older .xls format or needs to support pre-2007 Excel, limit the INDEX column span to $A:$IV, since those versions have fewer than 16,384 columns.

Verifying the result

After pasting the formula across, a quick sanity check prevents silent errors:

  1. Select one of the copied cells and inspect the formula — the COLUMN(AU1) argument should now read COLUMN(AV1) (or whatever column you copied into).
  2. Use Formulas → Evaluate Formula to watch the ADDRESS calls resolve to the expected strings such as av18 and av29.
  3. Confirm the target sheet name in $B8 matches exactly, including spaces; a mismatch returns #REF!.

Prevention tips

  • Avoid hard-coding any reference inside quotes; if it must shift on copy, it belongs in a function argument, not in a string.
  • Anchor helper cells like $B8 deliberately — decide which parts of the formula should move and which should stay put.
  • Reserve INDIRECT for genuinely dynamic references, and prefer INDEX elsewhere to keep recalculation fast.

Frequently Asked Questions

Why doesn't Excel update the reference inside the quotes when I copy?

Because quoted text is a string literal, not a reference. Excel only recalculates and adjusts actual reference tokens during a copy; characters inside quotes are copied verbatim.

What does the 4 in ADDRESS(18, COLUMN(AU1), 4) mean?

It sets the address style. Values 1 through 4 control dollar signs: 1 is fully absolute, 4 is fully relative. Use 4 here so the generated string is a clean au18-style address, though absolute markers would also work inside INDIRECT.

How do I keep the rows fixed while the column changes?

The row numbers are supplied as plain arguments to ADDRESS (18 and 29 in the example), so they never move. Only the COLUMN(AU1) argument shifts when the formula is copied sideways.

Why is INDIRECT considered a problem in large workbooks?

INDIRECT is volatile, meaning Excel recalculates it on every change anywhere in the workbook, even when its inputs are unchanged. Heavy use of it multiplies calculation time; INDEX avoids this because it recalculates only when its referenced cells change.

Can INDIRECT read a sheet name stored in another cell?

Yes — that is its main advantage. Concatenate the cell into the reference string, or pass it as the sheet argument of ADDRESS, as shown above. INDEX cannot do this because it requires a real sheet reference written into the formula.

What error do I get if the sheet name is wrong or missing?

INDIRECT returns a #REF! error when the assembled text does not match an existing sheet. Check for trailing spaces, misspellings, and missing quotation marks around sheet names that contain spaces.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More