In Excel how do I extract the address referenced in another cell's equation?
In Excel I have a grid of stock data, where the rows are call prices and the columns are put prices. For each cell in the grid I can generate a graph of results for that particular call/put combination. I want to use the spreadsheet interactively by clicking on a grid cell and seeing the graph corresponding to that particular cell. I want to do this without any VB and without any add-ons. I'm very close and am just missing one function.
I want to be able to click on a cell by my graph, type "=", and then click on the grid cell for which I want the graph, so I get a result like "=R12". I want it to derive that I'm interested in a graph related to cell R12.
What I can do now is have two cells containing the row and column numbers of interest. I can then use =INDIRECT(ADDRESS(Z20,1)) and =INDIRECT(ADDRESS(1,Z21)) to get row and column header values of the cell referenced by Z20,Z21. I can also use the =ROW() and =COLUMN() equations in cells Z20 and Z21, but not conveniently. To choose a different cell to see the graph of, I would have to type "=ROW(", then click on the cell I want, then type ")", and same for column.
I could also type "=", then click on R12, then delete the "=" so the cell contains "R12" but that's kind of clunky, too.
microsoft-excel
add a comment |
In Excel I have a grid of stock data, where the rows are call prices and the columns are put prices. For each cell in the grid I can generate a graph of results for that particular call/put combination. I want to use the spreadsheet interactively by clicking on a grid cell and seeing the graph corresponding to that particular cell. I want to do this without any VB and without any add-ons. I'm very close and am just missing one function.
I want to be able to click on a cell by my graph, type "=", and then click on the grid cell for which I want the graph, so I get a result like "=R12". I want it to derive that I'm interested in a graph related to cell R12.
What I can do now is have two cells containing the row and column numbers of interest. I can then use =INDIRECT(ADDRESS(Z20,1)) and =INDIRECT(ADDRESS(1,Z21)) to get row and column header values of the cell referenced by Z20,Z21. I can also use the =ROW() and =COLUMN() equations in cells Z20 and Z21, but not conveniently. To choose a different cell to see the graph of, I would have to type "=ROW(", then click on the cell I want, then type ")", and same for column.
I could also type "=", then click on R12, then delete the "=" so the cell contains "R12" but that's kind of clunky, too.
microsoft-excel
Assuming the cell you click on isA1
, something like:=RIGHT(FORMULATEXT(A1), LEN(FORMULATEXT(A1))-1)
?
– cybernetic.nomad
2 days ago
add a comment |
In Excel I have a grid of stock data, where the rows are call prices and the columns are put prices. For each cell in the grid I can generate a graph of results for that particular call/put combination. I want to use the spreadsheet interactively by clicking on a grid cell and seeing the graph corresponding to that particular cell. I want to do this without any VB and without any add-ons. I'm very close and am just missing one function.
I want to be able to click on a cell by my graph, type "=", and then click on the grid cell for which I want the graph, so I get a result like "=R12". I want it to derive that I'm interested in a graph related to cell R12.
What I can do now is have two cells containing the row and column numbers of interest. I can then use =INDIRECT(ADDRESS(Z20,1)) and =INDIRECT(ADDRESS(1,Z21)) to get row and column header values of the cell referenced by Z20,Z21. I can also use the =ROW() and =COLUMN() equations in cells Z20 and Z21, but not conveniently. To choose a different cell to see the graph of, I would have to type "=ROW(", then click on the cell I want, then type ")", and same for column.
I could also type "=", then click on R12, then delete the "=" so the cell contains "R12" but that's kind of clunky, too.
microsoft-excel
In Excel I have a grid of stock data, where the rows are call prices and the columns are put prices. For each cell in the grid I can generate a graph of results for that particular call/put combination. I want to use the spreadsheet interactively by clicking on a grid cell and seeing the graph corresponding to that particular cell. I want to do this without any VB and without any add-ons. I'm very close and am just missing one function.
I want to be able to click on a cell by my graph, type "=", and then click on the grid cell for which I want the graph, so I get a result like "=R12". I want it to derive that I'm interested in a graph related to cell R12.
What I can do now is have two cells containing the row and column numbers of interest. I can then use =INDIRECT(ADDRESS(Z20,1)) and =INDIRECT(ADDRESS(1,Z21)) to get row and column header values of the cell referenced by Z20,Z21. I can also use the =ROW() and =COLUMN() equations in cells Z20 and Z21, but not conveniently. To choose a different cell to see the graph of, I would have to type "=ROW(", then click on the cell I want, then type ")", and same for column.
I could also type "=", then click on R12, then delete the "=" so the cell contains "R12" but that's kind of clunky, too.
microsoft-excel
microsoft-excel
asked 2 days ago
user7392
262
262
Assuming the cell you click on isA1
, something like:=RIGHT(FORMULATEXT(A1), LEN(FORMULATEXT(A1))-1)
?
– cybernetic.nomad
2 days ago
add a comment |
Assuming the cell you click on isA1
, something like:=RIGHT(FORMULATEXT(A1), LEN(FORMULATEXT(A1))-1)
?
– cybernetic.nomad
2 days ago
Assuming the cell you click on is
A1
, something like: =RIGHT(FORMULATEXT(A1), LEN(FORMULATEXT(A1))-1)
?– cybernetic.nomad
2 days ago
Assuming the cell you click on is
A1
, something like: =RIGHT(FORMULATEXT(A1), LEN(FORMULATEXT(A1))-1)
?– cybernetic.nomad
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
If your cell you enter "=" and click another cell is D6 then your other formulas can extract the cell you click on with this:
=RIGHT(FORMULATEXT(D6),LEN(FORMULATEXT(D6))-1)
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1390649%2fin-excel-how-do-i-extract-the-address-referenced-in-another-cells-equation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
If your cell you enter "=" and click another cell is D6 then your other formulas can extract the cell you click on with this:
=RIGHT(FORMULATEXT(D6),LEN(FORMULATEXT(D6))-1)
add a comment |
If your cell you enter "=" and click another cell is D6 then your other formulas can extract the cell you click on with this:
=RIGHT(FORMULATEXT(D6),LEN(FORMULATEXT(D6))-1)
add a comment |
If your cell you enter "=" and click another cell is D6 then your other formulas can extract the cell you click on with this:
=RIGHT(FORMULATEXT(D6),LEN(FORMULATEXT(D6))-1)
If your cell you enter "=" and click another cell is D6 then your other formulas can extract the cell you click on with this:
=RIGHT(FORMULATEXT(D6),LEN(FORMULATEXT(D6))-1)
answered 2 days ago
Brian
643
643
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1390649%2fin-excel-how-do-i-extract-the-address-referenced-in-another-cells-equation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Assuming the cell you click on is
A1
, something like:=RIGHT(FORMULATEXT(A1), LEN(FORMULATEXT(A1))-1)
?– cybernetic.nomad
2 days ago