×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Excel's ADDRESS function

Excel's ADDRESS function

Excel's ADDRESS function

(OP)
I have scoured the Excel help files and tried a variety of different things for what I thought was an easy task, and perhaps it is, but I'm just missing something.

If I enter  =ADDRESS(1,1) in a cell it returns "$A$1" as expected.

Now, What I'm really interested in is the value located in the $A$1 cell.  I had tried nesting the ADDRESS function within a number of other text and lookup/reference functions but have been unsuccessful.

Does the fact the the ADDRESS function creates the cell reference as text mean that it can't be used as true cell reference ?

I hope this hasn't been too confusing to understand ?

RE: Excel's ADDRESS function

waterboy,
Use function INDIRECT for your purposes. Statement =INDIRECT(ADDRESS(1,1)) will give you the value in cell $A$1.

yakpol

RE: Excel's ADDRESS function

Why not simply enter =$A$1 or maybe =A1?

One possible reason for using INDIRECT(ADDRESS.. could be that col and row values are available - and need to be entered into the formula.

What I'm trying to say is that INDIRECT(ADDRESS.. not a very efficient way to find values of cells - Using INDIRECT(ADDRESS(1,1)) is analogous to multiplying and then dividing a number with a constant to get back the original number. ADDRESS returns a string of a reference and INDIRECT(ADDRESS.. converts it back to a reference.

If Row-Col values are available and HAVE to be used it may be better to try =OFFSET($A$1,Row-1,Col-1).

You might check out the relative efficiency of all three methods by entering say 50000 formulas by each of the three methods and comparing the time taken to calculate the sheet.

Of course occasional use of such a construct will not matter at all. What I wish to drive home is that we should try to avoid developing the habit of using not-very-efficient formulas - it'll help in the long run.

RE: Excel's ADDRESS function

Waterguy,

Did you ever solve your ADDRESS function problem?  I am running into the exact same problem.  Am trying to nest the ADDRESS function within COUNTA as my ranges vary. I am trying to analyze a data dump.  I need to calculate the row number and column number and once these are known, create the cell reference.  Have had no success and as you have found, the ADDRESS output as a text string proves to be its undoing. Help!

RE: Excel's ADDRESS function

I'm not sure I remember exactly what I did some time ago on a spreadsheet, but I used a combination of MATCH() AND INDEX() to work with values in a table.  I think it was nested like this:   INDEX(MATCH(),MATCH()).

See if either of those two can do what you need.

RE: Excel's ADDRESS function

Try this thread also:  Thread770-4832

RE: Excel's ADDRESS function

All,

FYI, I find the following web site to have excellent information regarding Excel and VBA.  Additionally, there are links to other web sites that may be of use to you.

www.j-walk.com/

Good Luck.

RE: Excel's ADDRESS function

Hi

I think Mala's formula is much better

Nitin Patel

RE: Excel's ADDRESS function

use INDIRECT

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close