hi, there are 4 Excel files links together to support data. one has 8k KB, one has 29k KB, one has 77k KB and last one has 38k KB. these files have data, Excel function formulas, pivot charts, pivot tables and their memory will grow as new more data coming in. can anyone suggest anyway to reduce the files burden to recalc? THANKS.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
ways to reduce file links memory (office XP)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » ways to reduce file links memory (office XP)
- This topic has 18 replies, 3 voices, and was last updated 20 years, 8 months ago.
Viewing 1 reply threadAuthorReplies-
WSsdckapr
AskWoody LoungerSeptember 2, 2004 at 3:01 pm #872123here is some info on reducing the size due to pivots.
reducing formulas is not so general. Some suggestions: get rid of array formulas they calculate slowly since they have many calculations in each one. Many times a macro can do it much, much faster and use alot less memory.
IFs are memory hogs.
built-in (non-array) functions (even mega-formulas) are faster than user-defined functions
if you use the same formula a lot (just copied), a “named formula” might offer some memory improvement.
If your data does not change alot, copy – paste special -values can be done (saving perhaps 1 row of calcs) and then copying that row as needed to update and then changing to values again.
Steve
-
WSboat
AskWoody LoungerSeptember 10, 2004 at 12:07 am #875536hi Steve, THANKS a lot for your many suggestions on reducing file memory. my 4 files now can improve its memory to about 77k KB and i shrink them into two files now and that is a lot for me, around 80% of my data are merely copied down calculations from row 10 until row 4461 and increasing rows of new data everyday. now i use the copy-paste speacial- values for above formulas and leave a number of rows below with formulas to update necessary new data to generate new result. around 70% of the copied formulas calculations use IF function, others use a mixture of formulas, some pivot charts and pivot tables. i think maybe the named formula comment can be use somewhere i just have to pick up the theory and practice. what do you mean by IFs are ‘memory hogs’? are array formulas are the one that must be entered with Ctrl+Shift+Enter and a formula like =MIN(A2:A6000) is not an array, isn’t it? i don’t understand the ‘ built-in (non-array) functions (even mega-formulas) are faster than user-defined functions ‘ but i think built-in functions are those in list in excel by default and mega formulas are long list of functions combination and udf is new function created in vba i will check more later. all my formulas obtained from the excel function list. and i haven’t ponder upon pivot memory improvement. Thanks and bye.
-
WSsdckapr
AskWoody LoungerSeptember 10, 2004 at 9:21 am #875623Happy I could help.
Concerning some of the other “questions/comments”
what do you mean by IFs are ‘memory hogs’? They seem to use up a lot of memory. If possible (some IFs can not be done this way) “boolean” formulas are better. Again an IF in a named formula could reduce memory.Are array formulas are the one that must be entered with Ctrl+Shift+Enter and a formula like =MIN(A2:A6000) is not an array, isn’t it? The ones entered with “ctrl-shift+enter” are termed “array formula”, though technically min, max, average are also “array formulas” as is SUMPRODUCT, slope, etc. By themselves they are not a big issue. Many times they are used to get multiple criteria and these can involve lots of calculations and many repeat the same calcs so they can really slow excel down.
but i think built-in functions are those in list in excel by default and mega formulas are long list of functions combination and udf is new function created in vba Yes that is correct
Steve
-
WSsdckapr
AskWoody LoungerSeptember 10, 2004 at 9:21 am #875624Happy I could help.
Concerning some of the other “questions/comments”
what do you mean by IFs are ‘memory hogs’? They seem to use up a lot of memory. If possible (some IFs can not be done this way) “boolean” formulas are better. Again an IF in a named formula could reduce memory.Are array formulas are the one that must be entered with Ctrl+Shift+Enter and a formula like =MIN(A2:A6000) is not an array, isn’t it? The ones entered with “ctrl-shift+enter” are termed “array formula”, though technically min, max, average are also “array formulas” as is SUMPRODUCT, slope, etc. By themselves they are not a big issue. Many times they are used to get multiple criteria and these can involve lots of calculations and many repeat the same calcs so they can really slow excel down.
but i think built-in functions are those in list in excel by default and mega formulas are long list of functions combination and udf is new function created in vba Yes that is correct
Steve
-
-
WSboat
AskWoody LoungerSeptember 10, 2004 at 12:07 am #875537hi Steve, THANKS a lot for your many suggestions on reducing file memory. my 4 files now can improve its memory to about 77k KB and i shrink them into two files now and that is a lot for me, around 80% of my data are merely copied down calculations from row 10 until row 4461 and increasing rows of new data everyday. now i use the copy-paste speacial- values for above formulas and leave a number of rows below with formulas to update necessary new data to generate new result. around 70% of the copied formulas calculations use IF function, others use a mixture of formulas, some pivot charts and pivot tables. i think maybe the named formula comment can be use somewhere i just have to pick up the theory and practice. what do you mean by IFs are ‘memory hogs’? are array formulas are the one that must be entered with Ctrl+Shift+Enter and a formula like =MIN(A2:A6000) is not an array, isn’t it? i don’t understand the ‘ built-in (non-array) functions (even mega-formulas) are faster than user-defined functions ‘ but i think built-in functions are those in list in excel by default and mega formulas are long list of functions combination and udf is new function created in vba i will check more later. all my formulas obtained from the excel function list. and i haven’t ponder upon pivot memory improvement. Thanks and bye.
-
WSboat
AskWoody Lounger -
WSpieterse
AskWoody LoungerSeptember 17, 2004 at 7:51 am #878267To replace a loooooong formula with a named formula, follow these steps:
– Put your cursor on the first cell that contains the formula;
– Select the entire formula in the formula bar and hit control-c to copy it;
– press escape to leave the formula bar
– Choose Insert, Name, Define;
– Enter a name for the formula;
– Tab to the Refers To box and clear it. Then hit control-v to paste in the formula you have just copied;
– In the first cell, change the formula to:“=TheNameYouGave” (without the quotes of course)
– copy this new formula down to fill all cells that contained the long formula.
Alas the formula cannot be longer than about 245 character though, if it is, you need to split it up over more than one named formula and piece them together, either in the cell itself or in another named formula.
-
WSpieterse
AskWoody LoungerSeptember 17, 2004 at 7:51 am #878268To replace a loooooong formula with a named formula, follow these steps:
– Put your cursor on the first cell that contains the formula;
– Select the entire formula in the formula bar and hit control-c to copy it;
– press escape to leave the formula bar
– Choose Insert, Name, Define;
– Enter a name for the formula;
– Tab to the Refers To box and clear it. Then hit control-v to paste in the formula you have just copied;
– In the first cell, change the formula to:“=TheNameYouGave” (without the quotes of course)
– copy this new formula down to fill all cells that contained the long formula.
Alas the formula cannot be longer than about 245 character though, if it is, you need to split it up over more than one named formula and piece them together, either in the cell itself or in another named formula.
-
WSboat
AskWoody LoungerSeptember 17, 2004 at 11:43 am #878360Hi Pieterse, i think i understand the named formula in that way, but, the first cell formula requires changes in its input, let say in G2, a formula goes =SUM((A2),(D2),(F2)) and i copy the first cell formula to G6000, 5 seconds later, i change the fomula on G2 to =SUM((A2),(B2),(F2)) and copy down to G6000, and 5 seconds later, i change the G2 formula again to do some kind of testing. with this, i think this named formula cannot fit this requirement, can it? either there is a better way to reduce this kind of formula memory or i just fix to this formula and copy to G6000, as original way? THANKS for any help.
-
WSpieterse
AskWoody LoungerSeptember 17, 2004 at 12:03 pm #878372A named formula is very handy in just the situation you describe.
You only need to change the named formula and there is no more copying down involved, all cells that contain the reference to the named formula update automatically.
You do need to make sure you have one of the cells selected that contain a reference to the named formula, before you start editing the named formula.
-
WSboat
AskWoody LoungerSeptember 17, 2004 at 12:58 pm #878418hi Pieterse, sorry, maybe i do not understand your instruction on editing my formula. now, i hit F2 at G2 to provoke the formula on G2 out and i press left arrow key to edit my formula, just like from =SUM((A2),(D2),(F2)) to =SUM((A2),(B2),(F2)) and lastly press Ctrl+Shift+Down Arrow to complete the formula copies to G6000. about named formula to change =SUM((A2),(D2),(F2)) to =TEST, and =TEST appears in G2 until G6000, and when i need to change =SUM((A2),(D2),(F2)) to =SUM((A2),(B2),(F2)), do i have to go Insert-Name-Define- select TEST and edit in the Refers to: column from =SUM((A2),(D2),(F2)) to =SUM((A2),(B2),(F2))? if that is the case, i will stick to my original way. Thanks again.
-
WSpieterse
AskWoody LoungerSeptember 17, 2004 at 1:16 pm #878420[indent]
do i have to go Insert-Name-Define- select TEST and edit in the Refers to: column from =SUM((A2),(D2),(F2)) to =SUM((A2),(B2),(F2))?
[/indent]That is correct. In case of the formula you posted, I doubt if there will be much benefit in using a named formula regarding the size of the workbook.
-
WSpieterse
AskWoody LoungerSeptember 17, 2004 at 1:16 pm #878421[indent]
do i have to go Insert-Name-Define- select TEST and edit in the Refers to: column from =SUM((A2),(D2),(F2)) to =SUM((A2),(B2),(F2))?
[/indent]That is correct. In case of the formula you posted, I doubt if there will be much benefit in using a named formula regarding the size of the workbook.
-
WSboat
AskWoody LoungerSeptember 17, 2004 at 12:58 pm #878419hi Pieterse, sorry, maybe i do not understand your instruction on editing my formula. now, i hit F2 at G2 to provoke the formula on G2 out and i press left arrow key to edit my formula, just like from =SUM((A2),(D2),(F2)) to =SUM((A2),(B2),(F2)) and lastly press Ctrl+Shift+Down Arrow to complete the formula copies to G6000. about named formula to change =SUM((A2),(D2),(F2)) to =TEST, and =TEST appears in G2 until G6000, and when i need to change =SUM((A2),(D2),(F2)) to =SUM((A2),(B2),(F2)), do i have to go Insert-Name-Define- select TEST and edit in the Refers to: column from =SUM((A2),(D2),(F2)) to =SUM((A2),(B2),(F2))? if that is the case, i will stick to my original way. Thanks again.
-
WSpieterse
AskWoody LoungerSeptember 17, 2004 at 12:03 pm #878373A named formula is very handy in just the situation you describe.
You only need to change the named formula and there is no more copying down involved, all cells that contain the reference to the named formula update automatically.
You do need to make sure you have one of the cells selected that contain a reference to the named formula, before you start editing the named formula.
-
-
WSboat
AskWoody LoungerSeptember 17, 2004 at 11:43 am #878361Hi Pieterse, i think i understand the named formula in that way, but, the first cell formula requires changes in its input, let say in G2, a formula goes =SUM((A2),(D2),(F2)) and i copy the first cell formula to G6000, 5 seconds later, i change the fomula on G2 to =SUM((A2),(B2),(F2)) and copy down to G6000, and 5 seconds later, i change the G2 formula again to do some kind of testing. with this, i think this named formula cannot fit this requirement, can it? either there is a better way to reduce this kind of formula memory or i just fix to this formula and copy to G6000, as original way? THANKS for any help.
-
-
-
WSboat
AskWoody Lounger
-
-
WSsdckapr
AskWoody LoungerSeptember 2, 2004 at 3:01 pm #872124here is some info on reducing the size due to pivots.
reducing formulas is not so general. Some suggestions: get rid of array formulas they calculate slowly since they have many calculations in each one. Many times a macro can do it much, much faster and use alot less memory.
IFs are memory hogs.
built-in (non-array) functions (even mega-formulas) are faster than user-defined functions
if you use the same formula a lot (just copied), a “named formula” might offer some memory improvement.
If your data does not change alot, copy – paste special -values can be done (saving perhaps 1 row of calcs) and then copying that row as needed to update and then changing to values again.
Steve
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Cox Communications and Charter Communications to merge
by
not so anon
3 hours, 35 minutes ago -
Help with WD usb driver on Windows 11
by
Tex265
2 hours, 43 minutes ago -
hibernate activation
by
e_belmont
6 hours, 28 minutes ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
10 hours, 16 minutes ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
13 hours, 21 minutes ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
13 hours, 22 minutes ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
16 hours, 32 minutes ago -
Out of band for Windows 10
by
Susan Bradley
18 hours, 6 minutes ago -
Giving UniGetUi a test run.
by
RetiredGeek
1 day, 1 hour ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
1 day, 8 hours ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
1 day, 6 hours ago -
Auto Time Zone Adjustment
by
wadeer
1 day, 13 hours ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
1 day, 10 hours ago -
Manage your browsing experience with Edge
by
Mary Branscombe
15 hours, 25 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
3 hours, 50 minutes ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
10 hours, 15 minutes ago -
Apps included with macOS
by
Will Fastie
8 hours, 6 minutes ago -
Xfinity home internet
by
MrJimPhelps
4 hours, 54 minutes ago -
Convert PowerPoint presentation to Impress
by
RetiredGeek
1 day, 6 hours ago -
Debian 12.11 released
by
Alex5723
2 days, 10 hours ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
2 days, 13 hours ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
1 day, 17 hours ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
2 hours, 46 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
3 days, 6 hours ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
2 days, 21 hours ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
19 hours, 1 minute ago -
iPhone SE2 Stolen Device Protection
by
Rick Corbett
3 days, 1 hour ago -
Some advice for managing my wireless internet gateway
by
LHiggins
2 days, 9 hours ago -
NO POWER IN KEYBOARD OR MOUSE
by
HE48AEEXX77WEN4Edbtm
1 day, 11 hours ago -
A CVE-MITRE-CISA-CNA Extravaganza
by
Nibbled To Death By Ducks
3 days, 19 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.