So I have run into a scenario that I have never had.
I have a formula, which I have used before but on a lesser population of data, and it has been working fine.
However, I now have a much larger volume of data I need to run it on.
When I run the formula, after about 5 minutes, it comes back with an error message stating that Excel has run out of resources and is no longer able to evaluate the formula.
Here is the formula:
{=IF(OR(ISBLANK(B2),ISBLANK(C2),ISBLANK(D2)),"",SUM(--(MMULT((ROW(INDIRECT(B2&":"&D2))>=TRANSPOSE(IF(Events!$A$2:$A$5405=A2,IF(Events!$B$2:$B$5405="Yes",Events!$C$2:$C$5405))))*(ROW(INDIRECT(B2&":"&D2))<=TRANSPOSE(IF(Events!$A$2:$A$5405=A2,IF(Events!$B$2:$B$5405="Yes",Events!$D$2:$D$5405)))),Events!$C$2:$C$5405^0)>0)))}
Entered with CSE.
The Items sheet has about 6900 records.
The Events sheet has about 5400 records.
Items is comprised of:
ID
Start
Middle
End
# Days
Events is comprised of:
ID
Status
Start
End
When I have run it previously, the Items had like 1500 records and the Events had like 2000 records. It would take like 20 mins but then give me the results.
I am running Excel x64, on windows 7 pro x64, i7-4600M, 8GB ram, 40GB of HDD free.
I did notice that excel maxes out at about 2GB of ram usage and then just stops.
I have tried to limit the number of cores it uses, I have tried manual calculations, etc.
Any ideas on what might be causing it and how I can resolve it?????
-Spydey
I have a formula, which I have used before but on a lesser population of data, and it has been working fine.
However, I now have a much larger volume of data I need to run it on.
When I run the formula, after about 5 minutes, it comes back with an error message stating that Excel has run out of resources and is no longer able to evaluate the formula.
Here is the formula:
{=IF(OR(ISBLANK(B2),ISBLANK(C2),ISBLANK(D2)),"",SUM(--(MMULT((ROW(INDIRECT(B2&":"&D2))>=TRANSPOSE(IF(Events!$A$2:$A$5405=A2,IF(Events!$B$2:$B$5405="Yes",Events!$C$2:$C$5405))))*(ROW(INDIRECT(B2&":"&D2))<=TRANSPOSE(IF(Events!$A$2:$A$5405=A2,IF(Events!$B$2:$B$5405="Yes",Events!$D$2:$D$5405)))),Events!$C$2:$C$5405^0)>0)))}
Entered with CSE.
The Items sheet has about 6900 records.
The Events sheet has about 5400 records.
Items is comprised of:
ID
Start
Middle
End
# Days
Events is comprised of:
ID
Status
Start
End
When I have run it previously, the Items had like 1500 records and the Events had like 2000 records. It would take like 20 mins but then give me the results.
I am running Excel x64, on windows 7 pro x64, i7-4600M, 8GB ram, 40GB of HDD free.
I did notice that excel maxes out at about 2GB of ram usage and then just stops.
I have tried to limit the number of cores it uses, I have tried manual calculations, etc.
Any ideas on what might be causing it and how I can resolve it?????
-Spydey