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
-
Who knows what?
by
Will Fastie
2 minutes ago -
My top ten underappreciated features in Office
by
Peter Deegan
17 minutes ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
1 hour, 51 minutes ago -
Misbehaving devices
by
Susan Bradley
1 hour, 54 minutes ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
19 hours, 30 minutes ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
15 hours, 14 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
18 hours, 4 minutes ago -
Discover the Best AI Tools for Everything
by
Alex5723
18 hours, 13 minutes ago -
Edge Seems To Be Gaining Weight
by
bbearren
8 hours, 22 minutes ago -
Rufus is available from the MSFT Store
by
PL1
16 hours, 24 minutes ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
1 day, 19 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
1 day, 1 hour ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
21 hours, 51 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
1 day, 15 hours ago -
Office gets current release
by
Susan Bradley
1 day, 17 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
3 days, 7 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
2 days, 16 hours ago -
Stop the OneDrive defaults
by
CWBillow
3 days, 8 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
3 days, 18 hours ago -
X Suspends Encrypted DMs
by
Alex5723
3 days, 20 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
3 days, 20 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
3 days, 21 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
3 days, 22 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
3 days, 10 hours ago -
Enabling Secureboot
by
ITguy
3 days, 17 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
4 days, 6 hours ago -
No more rounded corners??
by
CWBillow
4 days, 1 hour ago -
Android 15 and IPV6
by
Win7and10
3 days, 15 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
4 days, 18 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
4 days, 21 hours ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
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.