Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Excel Formula - Return Cell Reference?

Posted on 2013-11-25
2
Medium Priority
?
585 Views
Last Modified: 2013-11-25
Does Excel have a formula that returns another cell's reference as text (e.g., "A1")? I need the returned value to change if I insert another row or column - for example, if I insert another row and column, the previous example would change to "B2" automatically.
0
Comment
Question by:songwritingcpa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
mvidas earned 2000 total points
ID: 39675460
Hi SWCPA,

You can use a combination of the ADDRESS(), ROW(), and COLUMN() functions:

=ADDRESS(ROW(A2),COLUMN(A2),4)

The "4" means "return the address using relative references for both row and column". Leaving it blank or entering 1 would return $A$2 instead of A2.

Matt
0
 

Author Comment

by:songwritingcpa
ID: 39675469
Works perfectly. Thank you!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question