Change from Array formula

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,406
Hi all,

Is there a way to use a formula but not as an array?

=IFERROR(INDEX(Update!$BI$2:$BI$1000, SMALL(IF(COUNTIF($D$8, Update!$BG$2:$BG$1000)*COUNTIF(E16,Update!$AZ$2:$ZA$1000), ROW(Update!$BG$2:$BG$1000)-MIN(ROW(Update!$BG$2:$BG$1000))+1), ROW(A6)), COLUMN(A6)),"")

this formula works great but I need to use it approx. 1000 times so it slows the whole sheet down

is there a better way?

D8 and E16 are search in BG and AZ and BI is returned

Many thanks
 

Some videos you may like

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

DRSteele

Well-known Member
Joined
Mar 31, 2015
Messages
2,297
Office Version
  1. 365
Platform
  1. Windows
At first glance, I can say without reservation that function IFFERROR is the main culprit here. Can you find another way to control for the errors the array reports?
 

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,406
Hi DRSteele,

Even without the IFERROR it still very slow indeed

Thanks anyway
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,192
Is this really Update!$AZ$2:$ZA$1000 or Update!$AZ$2:$AZ$1000?

Care to post a scaled down input sample along with the expected output?
 

Watch MrExcel Video

Forum statistics

Threads
1,109,395
Messages
5,528,487
Members
409,820
Latest member
gabrielrms

This Week's Hot Topics

  • Change military grades into rank
    Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
  • VBA COUNTIF SOLUTION
    Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
  • INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
    Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...
  • Auto-Create a monthly Sign in sheet for preschool students
    The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
  • VBA vlookup multiple results
    Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
  • Extract values for earliest/latest times
    I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...
Top