Multiple Values bring up multiple results

Burgers

New Member
Joined
Mar 8, 2011
Messages
4
ok, so i have a huge Data table (DATA) in my excel workbook for my school.

I would use this formula to look up individual ID#'s and match them with their corresponding counselor : (counselor is in column 5 in DATA)

=VLOOKUP($A$2:$A$8729,DATA!$A$2:$E$56060,5,FALSE)

in the DATA table, ID#'s are listed multiple times (based on reporting term: fall10, spring 11, ect.) so i created this formula to return multiple values for 1 iD#:

=if(iserror(index(data!$A$2:$AB$65536,SMALL(IF(DATA!$a$2:$A$56000=$A$2,rOW(DATA!$A$2:$A$56000)),rOW(1:1)),8)),"",index(data!$A$2:$AB$65536,SMALL(IF(DATA!$a$2:$A$56000=$A$2,rOW(DATA!$A$2:$A$56000)),rOW(1:1)),8))

Now this formula works perfectly, but only if i enter in 1 ID# in cell A2. I want to be able to copy and paste a list ID#'s in A column and it return the multiple rows for each ID#.. is this possible?

Any help would be greatly appreciated! :)
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,224,583
Messages
6,179,678
Members
452,937
Latest member
Bhg1984

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