# vlookup() with multiple results?

#### SirMille

##### New Member

=TRANSPOSE( QUERY(D:H ; "select D where H='"&H11&"'" ))

So I was trying to find something similar to that for excel 2010, and found this

=INDEX(\$A\$2:\$C\$7, SMALL(IF(\$B\$9=\$A\$2:\$A\$7, ROW(\$A\$2:\$A\$7)-MIN(ROW(\$A\$2:\$A\$7))+1, ""), ROW(A1)),COLUMN(A1))

(it's better explained on How to return multiple values using vlookup in excel | Get Digital Help - Microsoft Excel resource)

The thing is that the forumla is super slow. It takes about 2-3 seconds per row in a document that has 300 rows... so that leaves me with ~5-10 minutes update when I change a row.

I was thinking having a dualcore 3 Ghz computer would do it fast, so I'm not sure weather it is the formula or excel all together that is slow.

Is there a better/faster solution for excel 2010? All tips are welcome! Thank you!

### Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

##### MrExcel MVP

=TRANSPOSE( QUERY(D:H ; "select D where H='"&H11&"'" ))

So I was trying to find something similar to that for excel 2010, and found this

=INDEX(\$A\$2:\$C\$7, SMALL(IF(\$B\$9=\$A\$2:\$A\$7, ROW(\$A\$2:\$A\$7)-MIN(ROW(\$A\$2:\$A\$7))+1, ""), ROW(A1)),COLUMN(A1))

(it's better explained on How to return multiple values using vlookup in excel | Get Digital Help - Microsoft Excel resource)

The thing is that the forumla is super slow. It takes about 2-3 seconds per row in a document that has 300 rows... so that leaves me with ~5-10 minutes update when I change a row.

I was thinking having a dualcore 3 Ghz computer would do it fast, so I'm not sure weather it is the formula or excel all together that is slow.

Is there a better/faster solution for excel 2010? All tips are welcome! Thank you!

The following set up is faster if you return records with multiple cells...

http://www.mrexcel.com/forum/excel-questions/307832-multiple-vlookups.html#post1511354 (post #3).

#### T. Valko

##### Well-known Member

=TRANSPOSE( QUERY(D:H ; "select D where H='"&H11&"'" ))

So I was trying to find something similar to that for excel 2010, and found this

=INDEX(\$A\$2:\$C\$7, SMALL(IF(\$B\$9=\$A\$2:\$A\$7, ROW(\$A\$2:\$A\$7)-MIN(ROW(\$A\$2:\$A\$7))+1, ""), ROW(A1)),COLUMN(A1))

(it's better explained on How to return multiple values using vlookup in excel | Get Digital Help - Microsoft Excel resource)

The thing is that the forumla is super slow. It takes about 2-3 seconds per row in a document that has 300 rows... so that leaves me with ~5-10 minutes update when I change a row.

I was thinking having a dualcore 3 Ghz computer would do it fast, so I'm not sure weather it is the formula or excel all together that is slow.

Is there a better/faster solution for excel 2010? All tips are welcome! Thank you!
Are you using entire columns as range references? That will certainly slow things down.

See if this helps:

Lookup when there are multiple instances of the lookup value

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,043
Messages
5,835,097
Members
430,341
Latest member
kelstnmate

### 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.

### Which adblocker are you using?

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