In Excel how do I extract the address referenced in another cell's equation?












0














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.










share|improve this question






















  • Assuming the cell you click on is A1, something like: =RIGHT(FORMULATEXT(A1), LEN(FORMULATEXT(A1))-1)?
    – cybernetic.nomad
    2 days ago
















0














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.










share|improve this question






















  • Assuming the cell you click on is A1, something like: =RIGHT(FORMULATEXT(A1), LEN(FORMULATEXT(A1))-1)?
    – cybernetic.nomad
    2 days ago














0












0








0







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.










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 days ago









user7392

262




262












  • 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
















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










1 Answer
1






active

oldest

votes


















0














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)





share|improve this answer





















    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    0














    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)





    share|improve this answer


























      0














      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)





      share|improve this answer
























        0












        0








        0






        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)





        share|improve this answer












        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)






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 days ago









        Brian

        643




        643






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            How to make a Squid Proxy server?

            Is this a new Fibonacci Identity?

            19世紀