Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following formula in 5000 cells in column P in my worksheet.
=IF($O2<"",NETWORKDAYS(O2,N2),"") Using a module, I'm importing the rows that contain data in columns A:O. After the rows have been imported into the worksheet I can see the above formula calculating. The problem is that it is extremely show, approximately 2 seconds per row. Is there a way I can speed this up? Thanks for your help. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Alex,
Presumably the formula are already in column P and calculation is set to automatic so calculation will begin as soon as a line of data are populated so this 'may' help Application.screenupdating=false your code Application.screenupdating=true Mike "Alex" wrote: I have the following formula in 5000 cells in column P in my worksheet. =IF($O2<"",NETWORKDAYS(O2,N2),"") Using a module, I'm importing the rows that contain data in columns A:O. After the rows have been imported into the worksheet I can see the above formula calculating. The problem is that it is extremely show, approximately 2 seconds per row. Is there a way I can speed this up? Thanks for your help. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Mike. I already have screenupdating turned off/on. It still slow.
"Mike H" wrote: Alex, Presumably the formula are already in column P and calculation is set to automatic so calculation will begin as soon as a line of data are populated so this 'may' help Application.screenupdating=false your code Application.screenupdating=true Mike "Alex" wrote: I have the following formula in 5000 cells in column P in my worksheet. =IF($O2<"",NETWORKDAYS(O2,N2),"") Using a module, I'm importing the rows that contain data in columns A:O. After the rows have been imported into the worksheet I can see the above formula calculating. The problem is that it is extremely show, approximately 2 seconds per row. Is there a way I can speed this up? Thanks for your help. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Calculation set to Manual too?
-- Kind regards, Niek Otten Microsoft MVP - Excel "Alex" wrote in message ... | Thanks Mike. I already have screenupdating turned off/on. It still slow. | | "Mike H" wrote: | | Alex, | | Presumably the formula are already in column P and calculation is set to | automatic so calculation will begin as soon as a line of data are populated | so this 'may' help | | Application.screenupdating=false | | your code | | Application.screenupdating=true | | Mike | | "Alex" wrote: | | I have the following formula in 5000 cells in column P in my worksheet. | =IF($O2<"",NETWORKDAYS(O2,N2),"") Using a module, I'm importing the rows | that contain data in columns A:O. After the rows have been imported into the | worksheet I can see the above formula calculating. The problem is that it is | extremely show, approximately 2 seconds per row. Is there a way I can speed | this up? Thanks for your help. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
No, it was set to automatic. I've got it working now. Thanks so much.
"Niek Otten" wrote: Calculation set to Manual too? -- Kind regards, Niek Otten Microsoft MVP - Excel "Alex" wrote in message ... | Thanks Mike. I already have screenupdating turned off/on. It still slow. | | "Mike H" wrote: | | Alex, | | Presumably the formula are already in column P and calculation is set to | automatic so calculation will begin as soon as a line of data are populated | so this 'may' help | | Application.screenupdating=false | | your code | | Application.screenupdating=true | | Mike | | "Alex" wrote: | | I have the following formula in 5000 cells in column P in my worksheet. | =IF($O2<"",NETWORKDAYS(O2,N2),"") Using a module, I'm importing the rows | that contain data in columns A:O. After the rows have been imported into the | worksheet I can see the above formula calculating. The problem is that it is | extremely show, approximately 2 seconds per row. Is there a way I can speed | this up? Thanks for your help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
worksheet calculating SLOW | Excel Discussion (Misc queries) | |||
Very Slow Calculating | Excel Discussion (Misc queries) | |||
Slow Calculating and optimizing | Excel Programming | |||
Calculating is very slow | Excel Discussion (Misc queries) | |||
Microsoft request for slow-calculating workbooks | Excel Discussion (Misc queries) |