Hi
I'm applying a formula to 10000 cell range.
Despite automatic calculation being off it still takes a long time.
The actual calculation is carried out very quickly.
If I use a simplier formula as below for comparison purposes only it takes very little time.
Is it the adjusting of the row references that is taking the time.
Is here a way around this problem?
Thanks
I'm applying a formula to 10000 cell range.
VBA Code:
Application.Calculation = xlCalculationManual
strFormula = "=COUNTIFS(Target!$A:$A,CalcTranches!$A2,Target!$C:$C,CalcTranches!$B2,Target!$D:$D,CalcTranches!$C2,Target!$E:$E,CalcTranches!$D2)"
rng.formula = strFormula
Application.Calculation = xlCalculationAutomatic
Despite automatic calculation being off it still takes a long time.
The actual calculation is carried out very quickly.
If I use a simplier formula as below for comparison purposes only it takes very little time.
VBA Code:
Application.Calculation = xlCalculationManual
strFormula = "=1"
rng.formula = strFormula
Application.Calculation = xlCalculationAutomatic
Is it the adjusting of the row references that is taking the time.
Is here a way around this problem?
Thanks