Pete_Bristol
Board Regular
- Joined
- Mar 8, 2006
- Messages
- 122
Hello all,
Please can anyone offer advice at to whether this is a good or bad habit.
I have a number of workbooks that pass data between themselves. Rather than have links embedded within the myriad of different worksheets I have created a single sheet of "IMPORTED" values which the formulas in the various worksheets then pick up from. This keeps all the links together and are easily auditable (or changeable) etc. so on the whole I think is probably a good habit. (point 1)
Extending this idea a little, I have also created two separate tabs within each workbook called "EXPORT_LINKS" and "IMPORT_LINKS" - maybe a little duplication of formulas but it makes understanding the information flow between the workbooks easy to follow. (point 2)
Because most users have no idea about array formulas and to add extra security against accidental changes etc. I have started to pass these ranges around the various workbooks as arrays i.e. the IMPORT_LINKS worksheet in one workbook might reference a range of {'some_other_workbook'!A1:P1000} in another. This "block of data" is compact and not changed by your average user.
However, I'm beginning to think that the "benefits" of this are being outweighed by speed as the workbook re-calculation times are getting longer and also that the "calculate" message is constantly displayed in the status bar. I understand reasonably well how Excel recalculates and the concept of the dependency tree and that there are now more than 65535 dependant cells.
It seems that having this "block of data" has dramatically increased the number of dependant cells and therefore a full recalculation is being done each time, which is not good. (point 3)
I could change all the links to individual cells again (there are lots!) but I like the principle of having IMPORT and EXPORT sheets.
Please can anyone offer some advice, guidance etc. on the points raised above.
Many thanks in anticipation.
Pete
Please can anyone offer advice at to whether this is a good or bad habit.
I have a number of workbooks that pass data between themselves. Rather than have links embedded within the myriad of different worksheets I have created a single sheet of "IMPORTED" values which the formulas in the various worksheets then pick up from. This keeps all the links together and are easily auditable (or changeable) etc. so on the whole I think is probably a good habit. (point 1)
Extending this idea a little, I have also created two separate tabs within each workbook called "EXPORT_LINKS" and "IMPORT_LINKS" - maybe a little duplication of formulas but it makes understanding the information flow between the workbooks easy to follow. (point 2)
Because most users have no idea about array formulas and to add extra security against accidental changes etc. I have started to pass these ranges around the various workbooks as arrays i.e. the IMPORT_LINKS worksheet in one workbook might reference a range of {'some_other_workbook'!A1:P1000} in another. This "block of data" is compact and not changed by your average user.
However, I'm beginning to think that the "benefits" of this are being outweighed by speed as the workbook re-calculation times are getting longer and also that the "calculate" message is constantly displayed in the status bar. I understand reasonably well how Excel recalculates and the concept of the dependency tree and that there are now more than 65535 dependant cells.
It seems that having this "block of data" has dramatically increased the number of dependant cells and therefore a full recalculation is being done each time, which is not good. (point 3)
I could change all the links to individual cells again (there are lots!) but I like the principle of having IMPORT and EXPORT sheets.
Please can anyone offer some advice, guidance etc. on the points raised above.
Many thanks in anticipation.
Pete