Run the same set of formulas in excel for multiple spreadsheets












0















I'm an basic to intermediate user of Excel, and recently i've been task with building a large spreadsheet. I've got it built and it works however its a very large file size (66mb). Here is the what the spreadsheet needs to do.



There are multiple columns that the user inputs date or picks from a dropdown list (Data Validation List). There is one set of formulas to calculate if the cell mets the criteria



Example: =IF(C3='referred',1,0)



This formula is repeated once for each of the columns that need to be calculated.



Then I have a formula that looks at the A column for the date, looks at the cell for the previously stated formula, If both meet the value then it gives a value of 1.



Example2: P2 in this example is the date that is updated from a different spreadsheet in the workbook. =IF(And(A1=P2,B1=1),1,0) also I use the formulas similar to this =IF(And(A1=Sum(P2+1),B1=1),1,0)



The value of this formula is updated on the Main spreadsheet of the work book. So I have example2 repeated 7 times, one for each day of the week... for each of the 7 columns of the row, for hundreds of rows, and this is repeated on about 12-15 tabs.



So while this works it leaves the workbook to be very large... So the question is, is there a way to have the formulas set up just one time on one spreadsheet, that will calculate the info and then update the cover sheet on the dated row for the specified spreadsheet?



I hope this is clear, its a complicated set up and I'm hoping to find an answer to this. I'm using Excel 2003










share|improve this question



























    0















    I'm an basic to intermediate user of Excel, and recently i've been task with building a large spreadsheet. I've got it built and it works however its a very large file size (66mb). Here is the what the spreadsheet needs to do.



    There are multiple columns that the user inputs date or picks from a dropdown list (Data Validation List). There is one set of formulas to calculate if the cell mets the criteria



    Example: =IF(C3='referred',1,0)



    This formula is repeated once for each of the columns that need to be calculated.



    Then I have a formula that looks at the A column for the date, looks at the cell for the previously stated formula, If both meet the value then it gives a value of 1.



    Example2: P2 in this example is the date that is updated from a different spreadsheet in the workbook. =IF(And(A1=P2,B1=1),1,0) also I use the formulas similar to this =IF(And(A1=Sum(P2+1),B1=1),1,0)



    The value of this formula is updated on the Main spreadsheet of the work book. So I have example2 repeated 7 times, one for each day of the week... for each of the 7 columns of the row, for hundreds of rows, and this is repeated on about 12-15 tabs.



    So while this works it leaves the workbook to be very large... So the question is, is there a way to have the formulas set up just one time on one spreadsheet, that will calculate the info and then update the cover sheet on the dated row for the specified spreadsheet?



    I hope this is clear, its a complicated set up and I'm hoping to find an answer to this. I'm using Excel 2003










    share|improve this question

























      0












      0








      0








      I'm an basic to intermediate user of Excel, and recently i've been task with building a large spreadsheet. I've got it built and it works however its a very large file size (66mb). Here is the what the spreadsheet needs to do.



      There are multiple columns that the user inputs date or picks from a dropdown list (Data Validation List). There is one set of formulas to calculate if the cell mets the criteria



      Example: =IF(C3='referred',1,0)



      This formula is repeated once for each of the columns that need to be calculated.



      Then I have a formula that looks at the A column for the date, looks at the cell for the previously stated formula, If both meet the value then it gives a value of 1.



      Example2: P2 in this example is the date that is updated from a different spreadsheet in the workbook. =IF(And(A1=P2,B1=1),1,0) also I use the formulas similar to this =IF(And(A1=Sum(P2+1),B1=1),1,0)



      The value of this formula is updated on the Main spreadsheet of the work book. So I have example2 repeated 7 times, one for each day of the week... for each of the 7 columns of the row, for hundreds of rows, and this is repeated on about 12-15 tabs.



      So while this works it leaves the workbook to be very large... So the question is, is there a way to have the formulas set up just one time on one spreadsheet, that will calculate the info and then update the cover sheet on the dated row for the specified spreadsheet?



      I hope this is clear, its a complicated set up and I'm hoping to find an answer to this. I'm using Excel 2003










      share|improve this question














      I'm an basic to intermediate user of Excel, and recently i've been task with building a large spreadsheet. I've got it built and it works however its a very large file size (66mb). Here is the what the spreadsheet needs to do.



      There are multiple columns that the user inputs date or picks from a dropdown list (Data Validation List). There is one set of formulas to calculate if the cell mets the criteria



      Example: =IF(C3='referred',1,0)



      This formula is repeated once for each of the columns that need to be calculated.



      Then I have a formula that looks at the A column for the date, looks at the cell for the previously stated formula, If both meet the value then it gives a value of 1.



      Example2: P2 in this example is the date that is updated from a different spreadsheet in the workbook. =IF(And(A1=P2,B1=1),1,0) also I use the formulas similar to this =IF(And(A1=Sum(P2+1),B1=1),1,0)



      The value of this formula is updated on the Main spreadsheet of the work book. So I have example2 repeated 7 times, one for each day of the week... for each of the 7 columns of the row, for hundreds of rows, and this is repeated on about 12-15 tabs.



      So while this works it leaves the workbook to be very large... So the question is, is there a way to have the formulas set up just one time on one spreadsheet, that will calculate the info and then update the cover sheet on the dated row for the specified spreadsheet?



      I hope this is clear, its a complicated set up and I'm hoping to find an answer to this. I'm using Excel 2003







      microsoft-excel






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 26 '13 at 5:05









      HassanHassan

      111




      111






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Am I'm understanding correctly that you would like the same set of formulas on one sheet to variably reference the values on other sheets (including those on other workbooks), based on some condition (such as a particular data). That would certainly be possible using the INDIRECT function.



          For example,



          A1 = "WorkbookA.xlsx" 'These values could be made dynamic by having them be the
          'result of a pick from a dropdown menu. Doable, but perhaps
          A2 = "Sheet1" 'overly complicated in practice.



          A3 = =IF(INDIRECT("["&A1&"]!"&A2&"F14")=TRUE,1,)



          If you would like the same set of formulas to actually generate a set of results, with one row deriving from one sheet, another row deriving from another sheet, then the only non-VBA possibility I see would be using a two-way data table (normally used for "what-if" analysis), where the inputs could be different sheet names or dates or whatever, and the calculated amounts would again make use of the INDIRECT function. The catch there is that you might end up needing a separate data table for each output formula. Might also incur long calculation times.






          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%2f624401%2frun-the-same-set-of-formulas-in-excel-for-multiple-spreadsheets%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














            Am I'm understanding correctly that you would like the same set of formulas on one sheet to variably reference the values on other sheets (including those on other workbooks), based on some condition (such as a particular data). That would certainly be possible using the INDIRECT function.



            For example,



            A1 = "WorkbookA.xlsx" 'These values could be made dynamic by having them be the
            'result of a pick from a dropdown menu. Doable, but perhaps
            A2 = "Sheet1" 'overly complicated in practice.



            A3 = =IF(INDIRECT("["&A1&"]!"&A2&"F14")=TRUE,1,)



            If you would like the same set of formulas to actually generate a set of results, with one row deriving from one sheet, another row deriving from another sheet, then the only non-VBA possibility I see would be using a two-way data table (normally used for "what-if" analysis), where the inputs could be different sheet names or dates or whatever, and the calculated amounts would again make use of the INDIRECT function. The catch there is that you might end up needing a separate data table for each output formula. Might also incur long calculation times.






            share|improve this answer




























              0














              Am I'm understanding correctly that you would like the same set of formulas on one sheet to variably reference the values on other sheets (including those on other workbooks), based on some condition (such as a particular data). That would certainly be possible using the INDIRECT function.



              For example,



              A1 = "WorkbookA.xlsx" 'These values could be made dynamic by having them be the
              'result of a pick from a dropdown menu. Doable, but perhaps
              A2 = "Sheet1" 'overly complicated in practice.



              A3 = =IF(INDIRECT("["&A1&"]!"&A2&"F14")=TRUE,1,)



              If you would like the same set of formulas to actually generate a set of results, with one row deriving from one sheet, another row deriving from another sheet, then the only non-VBA possibility I see would be using a two-way data table (normally used for "what-if" analysis), where the inputs could be different sheet names or dates or whatever, and the calculated amounts would again make use of the INDIRECT function. The catch there is that you might end up needing a separate data table for each output formula. Might also incur long calculation times.






              share|improve this answer


























                0












                0








                0







                Am I'm understanding correctly that you would like the same set of formulas on one sheet to variably reference the values on other sheets (including those on other workbooks), based on some condition (such as a particular data). That would certainly be possible using the INDIRECT function.



                For example,



                A1 = "WorkbookA.xlsx" 'These values could be made dynamic by having them be the
                'result of a pick from a dropdown menu. Doable, but perhaps
                A2 = "Sheet1" 'overly complicated in practice.



                A3 = =IF(INDIRECT("["&A1&"]!"&A2&"F14")=TRUE,1,)



                If you would like the same set of formulas to actually generate a set of results, with one row deriving from one sheet, another row deriving from another sheet, then the only non-VBA possibility I see would be using a two-way data table (normally used for "what-if" analysis), where the inputs could be different sheet names or dates or whatever, and the calculated amounts would again make use of the INDIRECT function. The catch there is that you might end up needing a separate data table for each output formula. Might also incur long calculation times.






                share|improve this answer













                Am I'm understanding correctly that you would like the same set of formulas on one sheet to variably reference the values on other sheets (including those on other workbooks), based on some condition (such as a particular data). That would certainly be possible using the INDIRECT function.



                For example,



                A1 = "WorkbookA.xlsx" 'These values could be made dynamic by having them be the
                'result of a pick from a dropdown menu. Doable, but perhaps
                A2 = "Sheet1" 'overly complicated in practice.



                A3 = =IF(INDIRECT("["&A1&"]!"&A2&"F14")=TRUE,1,)



                If you would like the same set of formulas to actually generate a set of results, with one row deriving from one sheet, another row deriving from another sheet, then the only non-VBA possibility I see would be using a two-way data table (normally used for "what-if" analysis), where the inputs could be different sheet names or dates or whatever, and the calculated amounts would again make use of the INDIRECT function. The catch there is that you might end up needing a separate data table for each output formula. Might also incur long calculation times.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jul 26 '13 at 6:03









                chuffchuff

                3,11411017




                3,11411017






























                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f624401%2frun-the-same-set-of-formulas-in-excel-for-multiple-spreadsheets%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

                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                    Mangá

                     ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕