Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Calculating is very slow

I have developed a spreadsheet on my home computer which does a lot of
SUMPRODUCT calculating (I know this can be a slow calculating function). On
my computer the spreadsheet takes 2 minutes to do its calculating. I
transferred the speadsheet to the company I was doing work for & run the same
spreadsheet but it takes 40 minutes to do it's calculating. This was running
over a network so I tried to run on the local drive on the fastest PC there
(it is only a slightly lower spec than my machine) & it still takes 30
minutes.

The SUMPRODUCT looks up a worksheet table which Excel gets thru a query. I
have only the minimum number of lines in the table that it needs as I know
the SUMPRODUCT function takes alot more time on larger sized tables. I have
tried turning off any services that the PC was running, such as antivirus,
that could slow the PC down but it didn't make any difference. What things
should I look for to make this faster?

Below is the type of code I have in the spreadsheet.

=SUMPRODUCT((Sheet2!A$1:A$3110="Family")*(LEFT(She et2!F$1:F$3110,20)="Counselling
- family")*(Sheet2!B$1:B$3110<"
")*(LEFT(Sheet2!D$1:D$3110,1)="A")*(Sheet2!E$1:E$3 110=A12)*(Sheet2!E$1:E$3110<A13)*(Sheet2!C$1:C$31 10=C$6))

Is there another function that I could use other thatn the SUMPRODUCT
function? TIA
--
Tony
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Calculating is very slow

Hi Tony,

Difficult to say from a distance.

But do visit Charles Williams' site:

www.decisionmodels.com

BTW it wouldn't surprise me if memory shortage is a problem. Any signs of excessive paging in the Task manager?

Personally I prefer to have helper columns with intermediate results; easy to check for correctness and usually rather fast,
faster than SUMPRODUCT anyway.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"TonyL" wrote in message ...
|I have developed a spreadsheet on my home computer which does a lot of
| SUMPRODUCT calculating (I know this can be a slow calculating function). On
| my computer the spreadsheet takes 2 minutes to do its calculating. I
| transferred the speadsheet to the company I was doing work for & run the same
| spreadsheet but it takes 40 minutes to do it's calculating. This was running
| over a network so I tried to run on the local drive on the fastest PC there
| (it is only a slightly lower spec than my machine) & it still takes 30
| minutes.
|
| The SUMPRODUCT looks up a worksheet table which Excel gets thru a query. I
| have only the minimum number of lines in the table that it needs as I know
| the SUMPRODUCT function takes alot more time on larger sized tables. I have
| tried turning off any services that the PC was running, such as antivirus,
| that could slow the PC down but it didn't make any difference. What things
| should I look for to make this faster?
|
| Below is the type of code I have in the spreadsheet.
|
| =SUMPRODUCT((Sheet2!A$1:A$3110="Family")*(LEFT(She et2!F$1:F$3110,20)="Counselling
| - family")*(Sheet2!B$1:B$3110<"
| ")*(LEFT(Sheet2!D$1:D$3110,1)="A")*(Sheet2!E$1:E$3 110=A12)*(Sheet2!E$1:E$3110<A13)*(Sheet2!C$1:C$31 10=C$6))
|
| Is there another function that I could use other thatn the SUMPRODUCT
| function? TIA
| --
| Tony


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Calculating is very slow

Thanks Niek. I will have a look at the website.

Yes, Excel on the PC at the company is using 100% CPU usage. PC is 2.66 GHz
with 740MB RAM

Mine is a 1.8 GHz dual core with 1GB RAM tablet & when it is doing the
spreadsheet it is only using about 50% CPU
--
Tony


"Niek Otten" wrote:

Hi Tony,

Difficult to say from a distance.

But do visit Charles Williams' site:

www.decisionmodels.com

BTW it wouldn't surprise me if memory shortage is a problem. Any signs of excessive paging in the Task manager?

Personally I prefer to have helper columns with intermediate results; easy to check for correctness and usually rather fast,
faster than SUMPRODUCT anyway.

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"TonyL" wrote in message ...
|I have developed a spreadsheet on my home computer which does a lot of
| SUMPRODUCT calculating (I know this can be a slow calculating function). On
| my computer the spreadsheet takes 2 minutes to do its calculating. I
| transferred the speadsheet to the company I was doing work for & run the same
| spreadsheet but it takes 40 minutes to do it's calculating. This was running
| over a network so I tried to run on the local drive on the fastest PC there
| (it is only a slightly lower spec than my machine) & it still takes 30
| minutes.
|
| The SUMPRODUCT looks up a worksheet table which Excel gets thru a query. I
| have only the minimum number of lines in the table that it needs as I know
| the SUMPRODUCT function takes alot more time on larger sized tables. I have
| tried turning off any services that the PC was running, such as antivirus,
| that could slow the PC down but it didn't make any difference. What things
| should I look for to make this faster?
|
| Below is the type of code I have in the spreadsheet.
|
| =SUMPRODUCT((Sheet2!A$1:A$3110="Family")*(LEFT(She et2!F$1:F$3110,20)="Counselling
| - family")*(Sheet2!B$1:B$3110<"
| ")*(LEFT(Sheet2!D$1:D$3110,1)="A")*(Sheet2!E$1:E$3 110=A12)*(Sheet2!E$1:E$3110<A13)*(Sheet2!C$1:C$31 10=C$6))
|
| Is there another function that I could use other thatn the SUMPRODUCT
| function? TIA
| --
| Tony



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Calculating is very slow

Hi Tony,

I'm not very good at this, but I think you get 50% because only one of the processors is used. I did notice that modern processors
(like yours) are a lot faster than older ones. The GHz does not count too much then.


"TonyL" wrote in message ...
| Thanks Niek. I will have a look at the website.
|
| Yes, Excel on the PC at the company is using 100% CPU usage. PC is 2.66 GHz
| with 740MB RAM
|
| Mine is a 1.8 GHz dual core with 1GB RAM tablet & when it is doing the
| spreadsheet it is only using about 50% CPU
| --
| Tony
|
|
| "Niek Otten" wrote:
|
| Hi Tony,
|
| Difficult to say from a distance.
|
| But do visit Charles Williams' site:
|
| www.decisionmodels.com
|
| BTW it wouldn't surprise me if memory shortage is a problem. Any signs of excessive paging in the Task manager?
|
| Personally I prefer to have helper columns with intermediate results; easy to check for correctness and usually rather fast,
| faster than SUMPRODUCT anyway.
|
| --
| Kind regards,
|
| Niek Otten
| Microsoft MVP - Excel
|
|
| "TonyL" wrote in message ...
| |I have developed a spreadsheet on my home computer which does a lot of
| | SUMPRODUCT calculating (I know this can be a slow calculating function). On
| | my computer the spreadsheet takes 2 minutes to do its calculating. I
| | transferred the speadsheet to the company I was doing work for & run the same
| | spreadsheet but it takes 40 minutes to do it's calculating. This was running
| | over a network so I tried to run on the local drive on the fastest PC there
| | (it is only a slightly lower spec than my machine) & it still takes 30
| | minutes.
| |
| | The SUMPRODUCT looks up a worksheet table which Excel gets thru a query. I
| | have only the minimum number of lines in the table that it needs as I know
| | the SUMPRODUCT function takes alot more time on larger sized tables. I have
| | tried turning off any services that the PC was running, such as antivirus,
| | that could slow the PC down but it didn't make any difference. What things
| | should I look for to make this faster?
| |
| | Below is the type of code I have in the spreadsheet.
| |
| | =SUMPRODUCT((Sheet2!A$1:A$3110="Family")*(LEFT(She et2!F$1:F$3110,20)="Counselling
| | - family")*(Sheet2!B$1:B$3110<"
| | ")*(LEFT(Sheet2!D$1:D$3110,1)="A")*(Sheet2!E$1:E$3 110=A12)*(Sheet2!E$1:E$3110<A13)*(Sheet2!C$1:C$31 10=C$6))
| |
| | Is there another function that I could use other thatn the SUMPRODUCT
| | function? TIA
| | --
| | Tony
|
|
|


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
Microsoft request for slow-calculating workbooks Charles Williams Excel Discussion (Misc queries) 0 March 1st 06 09:06 AM
Microsoft request for slow-calculating workbooks Charles Williams Excel Worksheet Functions 0 March 1st 06 09:06 AM
Why so slow max Excel Discussion (Misc queries) 1 February 27th 06 02:38 PM
Calculating recurring date in following month, calculating # days in that period Walterius Excel Worksheet Functions 6 June 4th 05 11:21 PM
Slow Subtotaling Jeremy Excel Discussion (Misc queries) 1 January 3rd 05 04:59 PM


All times are GMT +1. The time now is 12:24 AM.

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"