Can someone tell me what this formula does.
INDIRECT(ADDRESS($A27,Branch!$C$2,,,C$1)
I read the help file for both but don’t exactly understand.
Thanks,
Scott
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Formula explanation (Excel2grand)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Formula explanation (Excel2grand)
- This topic has 8 replies, 4 voices, and was last updated 19 years, 5 months ago.
AuthorTopicWSready4data
AskWoody LoungerDecember 19, 2005 at 11:20 am #427550Viewing 0 reply threadsAuthorReplies-
WSHansV
AskWoody LoungerDecember 19, 2005 at 11:32 am #990954The ADDRESS function has 5 arguments:
– Row number. In your formula, this is taken from cell A27 on the sheet containing the formula.
– Column number. This is taken from cell C2 on the worksheet named Branch.
– Absolute/relative. Since this argument is omitted in your formula, absolute is used.
– Type of reference. Since this argument is omitted in your formula, ADDRESS will return an A1 style reference.
– Sheetname. This is taken from cell C1 on the sheet containing the formula.Let’s say that A27 contains 5, Branch!C2 contains 4, and C1 contains “Sheet2”. The ADDRESS function will return the address of the cell in row 5, column 4 on Sheet2, i.e.
Sheet2!$D$5The INDIRECT function returns the value of Sheet2!$D$5.
-
WSready4data
AskWoody Lounger -
WSHansV
AskWoody LoungerDecember 19, 2005 at 2:02 pm #990977Say that you have the simple formula =2*A1 in cell B1. This is a relative reference. If you fill down B1 to B2, B3 etc., the formula will become =2*B2, =2*B3 etc. Relative references are automatically adapted by Excel. If you enter the formula as =2*$A$1, the reference is absolute. If you fill down B1 to B2, B3 etc., the formula remains =2*$B$1. Absolute references are not adapted when you copy a formula. It is also possible to make only the row reference absolute: =2*A$2, or only the column reference: =$A2. When you are entering or editing a formula, you can cycle between the four types by selecting a cell reference and pressing F4.
By default, Excel uses A1-style cell references: a letter (A, B, C, …) or two letters (AA, AB, …) are used to indicate the column, and a number (1, 2, …) to indicate the row. It is also possible to use R1C1-style references. For example, R7C4 is the cell in the 7th row and 4th column (D7 as an A1-style reference). You can set your preference for one or the other in the General tab of the Tools | Options… dialog.
-
WSSammyB
AskWoody LoungerDecember 19, 2005 at 2:10 pm #990980Look in Excel help under “About cell and range references.” Also, see Chip Pearson explanations, The INDIRECT Function and Relative And Absolute References. And, just my two cents: a workbook that uses either the Indirect or Address functions probably was not designed properly. I have built lots of workbooks
and I have never said during the design, “I think that I will use the Indirect function.” No, rather, I’ve been given another person’s workbook and had to add to it and used the Indirect function as a “quick and dirty” solution. I say quick and dirty because when you use Indirect, you have lost Excel’s ability to correct all of the referencing addresses when you move a piece of data. If you move a piece of data that you have constructed the address for and referenced with Indirect, then your formula will no longer work. HTH –Sam
-
WSready4data
AskWoody Lounger -
WSSammyB
AskWoody LoungerDecember 19, 2005 at 2:58 pm #990988> I didn’t design the workbook
That’s what I figured. It’s good that you are looking at the Indirect, try to figure out all of the possible ranges that it could refer to, because if you move any of these ranges, INDIRECT will be INCORRECT. Worst case scenario is that someone else has already modified it and now you have to figure out why it doesn’t work. Let us know if we can help. –Sam
-
-
-
-
WSSammyB
AskWoody LoungerDecember 19, 2005 at 3:12 pm #990993I’m unencumbered by knowledge here: I don’t think that I have ever used the ADDRESS function. And, I am derailing the thread, so ignore this bunny trail, Scott. But, I don’t see that the Absolute/relative nor the Type of reference have any use. Since Excel cannot/willnot trace the address generated by the ADDRESS function, who cares whether it is absolute/R1C1/etc.? Am I missing something? Seems like you would always leave these two parameters blank. –Sam
-
WSsdckapr
AskWoody LoungerDecember 19, 2005 at 3:48 pm #991005You are thinking of the combination of indirect with address and how that does not matter. Address, by itself, will yield different results when not used with indirect. If you want the address for another reason, then they might be used. [Though, I tend to use them together, when I use them]
Steve
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
CD/DVD drive is no longer recognized
by
WSCape Sand
9 hours, 30 minutes ago -
Windows 11 24H2 Default Apps stuck on Edge and Adobe Photoshop
by
MikeBravo
12 hours, 19 minutes ago -
North Face and Cartier customer data stolen in cyber attacks
by
Alex5723
10 hours, 25 minutes ago -
What is wrong with simple approach?
by
WSSpoke36
2 hours, 57 minutes ago -
Microsoft-Backed Builder.ai Set for Bankruptcy After Cash Seized
by
Alex5723
21 hours, 49 minutes ago -
Location, location, location
by
Susan Bradley
40 minutes ago -
Cannot get a task to run a restore point
by
CWBillow
23 hours, 15 minutes ago -
Frustrating search behavior with Outlook
by
MrJimPhelps
13 hours, 59 minutes ago -
June 2025 Office non-Security Updates
by
PKCano
1 day, 10 hours ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
6 hours, 25 minutes ago -
Firefox Red Panda Fun Stuff
by
Lars220
1 day, 9 hours ago -
How start headers and page numbers on page 3?
by
Davidhs
1 day, 20 hours ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
23 hours, 3 minutes ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
2 days, 5 hours ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
2 days, 5 hours ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
1 day, 18 hours ago -
Firefox 139
by
Charlie
1 day, 11 hours ago -
Who knows what?
by
Will Fastie
13 hours, 42 minutes ago -
My top ten underappreciated features in Office
by
Peter Deegan
2 days, 5 hours ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
8 hours, 38 minutes ago -
Misbehaving devices
by
Susan Bradley
1 day, 1 hour ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
3 days, 11 hours ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
10 hours, 35 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
3 days, 10 hours ago -
Discover the Best AI Tools for Everything
by
Alex5723
2 days, 9 hours ago -
Edge Seems To Be Gaining Weight
by
bbearren
3 days ago -
Rufus is available from the MSFT Store
by
PL1
3 days, 8 hours ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
4 days, 11 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
2 days, 11 hours ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
2 days, 9 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.