Run the same set of formulas in excel for multiple spreadsheets
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
add a comment |
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
add a comment |
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
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
microsoft-excel
asked Jul 26 '13 at 5:05
HassanHassan
111
111
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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.
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%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
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.
add a comment |
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.
add a comment |
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.
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.
answered Jul 26 '13 at 6:03
chuffchuff
3,11411017
3,11411017
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.
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%2f624401%2frun-the-same-set-of-formulas-in-excel-for-multiple-spreadsheets%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