Spill index and sort

MiniFav

Board Regular
Joined
Mar 10, 2020
Messages
81
Office Version
  1. 365
Platform
  1. Windows
I have the following formula,

=IF(ISERROR(INDEX('AD Initial'!A$2:A$5001,SMALL(IF('AD Initial'!$H$2:$H$5001="NA",ROW('AD Initial'!A$2:A$5001)),ROW(1:1))-1,1)),"",INDEX('AD Initial'!A$2:A$5001,SMALL(IF('AD Initial'!$H$2:$H$5001="NA",ROW('AD Initial'!$H$2:$H$5001)),ROW(1:1))-1,1))&""

It works a treat by checking another work sheet and orders each row depending on the value in column H.
The code above will pick out any NAs and pull them onto the current work sheet, I have others for OPEN, Repeat, One-off, Closed etc all auto sorting the data to relevant sheets.

Now this is great and all but I have come to find spill formulas are more efficient than volitile formulas so was looking to see if the above could have a spill alternative?
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
How about
Excel Formula:
=FILTER('AD Initial'!A$2:A$5001,'AD Initial'!$H$2:$H$5001="NA")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,022
Messages
6,122,721
Members
449,093
Latest member
Mnur

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