Solved

Text of a cell reference

Posted on 2013-11-08
8
300 Views
Last Modified: 2013-11-14
I want the reader of my SpreadSheet know the exact cell and worksheet that I'm referencing.  I need it written out in text beside a cell. Please help
thanks
0
Comment
Question by:Jenedge73
[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
  • 2
  • 2
  • +2
8 Comments
 
LVL 12

Expert Comment

by:Harry Lee
ID: 39634220
Let say, if you want the cell address of a cell to the right,

You put this in B1,
=CELL("address",A1)

Open in new window


That will show the address of the referenced cell.
0
 
LVL 23

Expert Comment

by:NBVC
ID: 39634221
Can you elaborate a little on what you mean?
0
 

Author Comment

by:Jenedge73
ID: 39634265
lets say I have a wookbook with 10 worksheets and one of them are labeled summary
I want the value of a specific cell from workbook1 displayed in cell A1 of the summary workbook.  and then in B1 of the summary page I want it to say 'workbook1'!A1.  is there a formula I can do this with?
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39634323
One way is

Format B1 as "Text"
Highlight the formula (not just select the cell) in A1 and then copy it
Paste the formula in B1
0
 
LVL 23

Expert Comment

by:NBVC
ID: 39634329
If you have a list of all the sheets you are looking for listed somewhere in the sheet, then name that range something like TabNames.

Then assuming the match is to be found in one of those sheets, somewhere in column A, you can use formula like:

=ADDRESS(MATCH(A1,INDIRECT("'"&INDEX(TabNames,MATCH(TRUE,COUNTIF(INDIRECT("'"&TabNames&"'!A1:A60"),A1)>0,0))&"'!A1:A60"),0),1,4,1,INDEX(TabNames,MATCH(TRUE,COUNTIF(INDIRECT("'"&TabNames&"'!A1:A60"),A1)>0,0),1))

Open in new window


confirmed with CTRL+SHIFT+ENTER not just ENTER
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39634330
You can also use VBA

Paste this code in a new module

Function getsource(x As Range)
getsource = x.Formula
End Function

and use this formula in B1

=getsource(A1)
0
 
LVL 12

Expert Comment

by:Harry Lee
ID: 39634525
Jenedge73,

I would say ssaqibh's solution is the best and cleanest.
0
 
LVL 81

Accepted Solution

by:
byundt earned 500 total points
ID: 39635163
In Excel 2013, there is a new function FORMULATEXT. Using it, you could return the source with:
=MID(FORMULATEXT(A1),2,99)

The MID function was added to remove the initial equals sign from the formula.

The above formula assumes that cell A1 contains a formula like:
='Workbook 1'!B47
The MID & FORMULATEXT formula would then return:     'Workbook 1'!B47
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

691 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