Reference cell by identifier(not address) between sheets











up vote
1
down vote

favorite












Scenario:
I have a programmatically generated Excel (.xls) document with hundreds of rows of numerical values, in multiple sheets. Each sheet has total/subtotal values (using summation). The last sheet is a summary sheet that adds up these totals using INDIRECT and referencing the sheet and cell addresses (eg "'11-November-2018'.D13").



Problem:
Once generated programmatically, the formulae and functions are set. However, this document must be editable i.e. deletion of rows in any sheet should be possible such that changes in totals and subtotals in respective sheets should reflect in the summary sheet. However, once a row is deleted, the total/subtotal cell address changes, and the INDIRECT function in the Summary sheet fails.



Desired:
Is there a way to reference cells between sheets such that deletion of rows in one sheet reflect the changes correctly in the Summary sheet?










share|improve this question




























    up vote
    1
    down vote

    favorite












    Scenario:
    I have a programmatically generated Excel (.xls) document with hundreds of rows of numerical values, in multiple sheets. Each sheet has total/subtotal values (using summation). The last sheet is a summary sheet that adds up these totals using INDIRECT and referencing the sheet and cell addresses (eg "'11-November-2018'.D13").



    Problem:
    Once generated programmatically, the formulae and functions are set. However, this document must be editable i.e. deletion of rows in any sheet should be possible such that changes in totals and subtotals in respective sheets should reflect in the summary sheet. However, once a row is deleted, the total/subtotal cell address changes, and the INDIRECT function in the Summary sheet fails.



    Desired:
    Is there a way to reference cells between sheets such that deletion of rows in one sheet reflect the changes correctly in the Summary sheet?










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Scenario:
      I have a programmatically generated Excel (.xls) document with hundreds of rows of numerical values, in multiple sheets. Each sheet has total/subtotal values (using summation). The last sheet is a summary sheet that adds up these totals using INDIRECT and referencing the sheet and cell addresses (eg "'11-November-2018'.D13").



      Problem:
      Once generated programmatically, the formulae and functions are set. However, this document must be editable i.e. deletion of rows in any sheet should be possible such that changes in totals and subtotals in respective sheets should reflect in the summary sheet. However, once a row is deleted, the total/subtotal cell address changes, and the INDIRECT function in the Summary sheet fails.



      Desired:
      Is there a way to reference cells between sheets such that deletion of rows in one sheet reflect the changes correctly in the Summary sheet?










      share|improve this question















      Scenario:
      I have a programmatically generated Excel (.xls) document with hundreds of rows of numerical values, in multiple sheets. Each sheet has total/subtotal values (using summation). The last sheet is a summary sheet that adds up these totals using INDIRECT and referencing the sheet and cell addresses (eg "'11-November-2018'.D13").



      Problem:
      Once generated programmatically, the formulae and functions are set. However, this document must be editable i.e. deletion of rows in any sheet should be possible such that changes in totals and subtotals in respective sheets should reflect in the summary sheet. However, once a row is deleted, the total/subtotal cell address changes, and the INDIRECT function in the Summary sheet fails.



      Desired:
      Is there a way to reference cells between sheets such that deletion of rows in one sheet reflect the changes correctly in the Summary sheet?







      microsoft-excel worksheet-function






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 hour ago

























      asked 1 hour ago









      n00bProgrammer

      16318




      16318



























          active

          oldest

          votes











          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',
          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%2f1374962%2freference-cell-by-identifiernot-address-between-sheets%23new-answer', 'question_page');
          }
          );

          Post as a guest





































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1374962%2freference-cell-by-identifiernot-address-between-sheets%23new-answer', 'question_page');
          }
          );

          Post as a guest




















































































          Popular posts from this blog

          Terni

          A new problem with tex4ht and tikz

          Sun Ra