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
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
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
-
Cell Phone vs. Traditional Touchtone Phone over POTS
by
280park
3 hours, 26 minutes ago -
Lost access to all my networked drives (shares) listed in My Computer
by
lwerman
3 hours, 17 minutes ago -
Set default size for pasted photo to word
by
Cyn
9 hours, 19 minutes ago -
Dedoimedo tries 24H2…
by
Cybertooth
4 hours, 21 minutes ago -
Windows 11 Insider Preview build 27871 released to Canary
by
joep517
1 day, 8 hours ago -
Windows 11 ad from Campaign Manager in Windows 10
by
Jim McKenna
1 day, 5 hours ago -
Small desktops
by
Susan Bradley
49 minutes ago -
Totally disable Bitlocker
by
CWBillow
1 hour, 51 minutes ago -
Phishers extract Millions from HMRC accounts..
by
Microfix
1 day, 5 hours ago -
Windows 10 22H2 Update today (5 June) says up-to-date but last was 2025-04
by
Alan_uk
2 days, 12 hours ago -
Thoughts on Malwarebytes Scam Guard for Mobile?
by
opti1
6 hours, 59 minutes ago -
Mystical Desktop
by
CWBillow
2 days, 15 hours ago -
Meta and Yandex secretly tracked billions of Android users
by
Alex5723
1 day, 20 hours ago -
MS-DEFCON 2: Do you need that update?
by
Susan Bradley
12 hours, 47 minutes ago -
CD/DVD drive is no longer recognized
by
WSCape Sand
3 days, 6 hours ago -
Windows 11 24H2 Default Apps stuck on Edge and Adobe Photoshop
by
MikeBravo
3 days, 9 hours ago -
North Face and Cartier customer data stolen in cyber attacks
by
Alex5723
3 days, 7 hours ago -
What is wrong with simple approach?
by
WSSpoke36
1 day, 5 hours ago -
Microsoft-Backed Builder.ai Set for Bankruptcy After Cash Seized
by
Alex5723
3 days, 19 hours ago -
Location, location, location
by
Susan Bradley
2 days, 9 hours ago -
Cannot get a task to run a restore point
by
CWBillow
3 days, 20 hours ago -
Frustrating search behavior with Outlook
by
MrJimPhelps
3 days, 11 hours ago -
June 2025 Office non-Security Updates
by
PKCano
4 days, 7 hours ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
2 hours, 49 minutes ago -
Firefox Red Panda Fun Stuff
by
Lars220
4 days, 7 hours ago -
How start headers and page numbers on page 3?
by
Davidhs
4 days, 17 hours ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
3 days, 20 hours ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
5 days, 2 hours ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
5 days, 2 hours ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
4 days, 15 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.