Excel error "Ran out of Resources"

Eurekaonide

Active Member
Joined
Feb 1, 2010
Messages
433
Hi All

I have a workbook which is quite heavy in formulas and not VBA and Im now getting the error message Excel ran out of resources to perform the calculation and the formuilas are not working.

Does anyone have a fix for this?

I have reduced down the data as much as I can and the formulas. There are 4 Pivots not terribly big mind.

My only other thought is Im using the formula =LOOKUP(2,1/(('Baseline_Data (2)'!$A:$A=HOME!$B$12)*('Baseline_Data (2)'!$B:$B=HOME!E20)),'Baseline_Data (2)'!$C:$C)

like this quite a lot and I wonder if this is the issue?

Thanks
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
It may help if you can replace the entire column references with defined ranges, i.e.
instead of using references like this:
VBA Code:
$A:$A
narrow it down to only look at al the rows you may use, i.e.
VBA Code:
$A1:$A1000

Just be sure to pick some row number you will never exceed.
Do this to ALL the complete column references.
 
Upvote 0
Solution
It may help if you can replace the entire column references with defined ranges, i.e.
instead of using references like this:
VBA Code:
$A:$A
narrow it down to only look at al the rows you may use, i.e.
VBA Code:
$A1:$A1000

Just be sure to pick some row number you will never exceed.
Do this to ALL the complete column references.
Thank you so much I believe this has resolved the issue
 
Upvote 0
Excellent! Glad to hear it!
Thanks for letting us know.

Yes, certain formulas, like the LOOKUP formulas, can be expensice/use a lot of resources, so it is best to minimize them to just look at the appropriate ranges and not the entire column, whenever possible.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top