Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
anny
 
Posts: n/a
Default Question re best practice

hello XLers

I have a general question about best practice in Excel . My workbook has
about 40 sheets. On each sheet, there is a very lengthy formula dragged
over a range of about 120 cells. Everything works fine, but it occurs to me
that this long formula is repeated 4800 times, making the file kind of big.

Is it better practice to use code to populate the cells with formulas, say
when a sheet is activated? Should I then depopulate the cell's formulas
when the sheet closes? Is it better to use code to populate the cells with
values calculated in code, rather than write the formulas to the cells? Are
there speed issues?

Any comments are appreciated
anny



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Question re best practice

Surely, unless you have a very small HDD, the size should not be an issue.
Performance may well be, but you do not mention that. I certainly wouldn't
do what you suggest juts to make the saved file size smaller.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"anny" wrote in message
...
hello XLers

I have a general question about best practice in Excel . My workbook has
about 40 sheets. On each sheet, there is a very lengthy formula dragged
over a range of about 120 cells. Everything works fine, but it occurs to

me
that this long formula is repeated 4800 times, making the file kind of

big.

Is it better practice to use code to populate the cells with formulas, say
when a sheet is activated? Should I then depopulate the cell's formulas
when the sheet closes? Is it better to use code to populate the cells

with
values calculated in code, rather than write the formulas to the cells?

Are
there speed issues?

Any comments are appreciated
anny





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default Question re best practice

I dunno about "best", but I have one book with 38 sheets and about 1200
VLOOKUP's on each sheet, and I did as you describe, delete the formulas when
the sheet is deactivated and put them in place with a macro when the sheet
is "updated" (not just opened, as some editing of ths sheet is desirous
without the formulas being activated).....seems to help the recalc time....

Vaya con Dios,
Chuck, CABGx3


"anny" wrote in message
...
hello XLers

I have a general question about best practice in Excel . My workbook has
about 40 sheets. On each sheet, there is a very lengthy formula dragged
over a range of about 120 cells. Everything works fine, but it occurs to

me
that this long formula is repeated 4800 times, making the file kind of

big.

Is it better practice to use code to populate the cells with formulas, say
when a sheet is activated? Should I then depopulate the cell's formulas
when the sheet closes? Is it better to use code to populate the cells

with
values calculated in code, rather than write the formulas to the cells?

Are
there speed issues?

Any comments are appreciated
anny





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Summary Page Question EyeNoNothing via OfficeKB.com Excel Discussion (Misc queries) 1 February 18th 06 10:03 PM
Pivot table question gary Excel Discussion (Misc queries) 1 January 10th 06 06:25 PM
Benefits many people - Question ebgehringer Excel Discussion (Misc queries) 0 October 7th 05 09:22 PM
How do I find and replace a question mark in Excel? Ranpalandil Excel Discussion (Misc queries) 1 September 7th 05 10:20 PM
An easy macro question and one I believe to be a little more diffi TroutKing Excel Worksheet Functions 3 January 18th 05 09:17 PM


All times are GMT +1. The time now is 08:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"