How to stop all formulas on a sheet...

MJN1965

New Member
Hi all,

I have a very formula heavy tab on a sheet, 25,500 to be exact, that are dramatically dragging the spead of my workbook down.

I have changed the workbook to Manual calculation, but these tab still seem to runn here and there and a calculation is obviously done as I save, which at times can take 5 mins +.

Each of the cells in the sheet run the following formula :-
{=IF(ISERROR(INDEX(INDIRECT(\$D\$2&"!\$D\$1:\$Q\$9999"),SMALL(IF(INDIRECT(\$D\$2&"!\$D\$1:\$Q\$9999")=\$D\$3,ROW(INDIRECT(\$JD\$2&"!\$D\$1:\$Q\$9999"))),ROW(INDIRECT(\$D\$2&"!1:1"))),2)),"",INDEX(INDIRECT(\$D\$2&"!\$D\$1:\$Q\$9999"),SMALL(IF(INDIRECT(\$D\$2&"!\$D\$1:\$r\$9999")=\$D\$3,ROW(INDIRECT(\$D\$2&"!\$D\$1:\$Q\$9999"))),ROW(INDIRECT(\$D\$2&"!1:1"))),2))}
and as you can see, it is an array.

Is there as way of either :-
1. Change the formula so it only runs if there is data in D2 & D3
2. A macro or VBA to stop/start all calculations on the entire sheet
3. A different formula entirely.

The sheet in question is using the INDIRECT to collect a part # & a Sheet title to search & return informtion on the first 15 instances of the part # (see attached image)

Martin

Attachments

• MrExcel Img1.PNG
28.3 KB · Views: 8

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Replies
1
Views
213
Replies
2
Views
167
Replies
4
Views
222
Replies
0
Views
76
Replies
1
Views
96

1,127,318
Messages
5,623,976
Members
416,003
Latest member
indyman

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.

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

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