Find the results of multiple occurrences in lookup

jmh2008

New Member
Joined
Sep 4, 2009
Messages
42
I have a table where i want to combine columns from looking up items in the first column which has dups.,


Student # Home Phone Email Work
1 123-1245
1 me@com
2 456-4587
3 125-5698
3 452-5698


So I would like to see:
Student # Home Phone Email Work
1 123-1245 me@com
2 456-4587
3 452-5698 125-5698


No vba please! :)

Thanks,
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi,

Try the following formula in E2:

=IFERROR(INDEX($B$1:$B$6,SMALL(IF($A$1:$A$6=$D2,ROW($A$1:$A$6)),COLUMN(A1))),"")

array entered (CTRL+SHIFT+ENTER)

drag the above formula to the columns on right (F2, G2 etc)

This is keeping in mind:

1. Student# is in column A (A2:A6)
2. Home Phone & Email in column B (B2:B6)
3. Student# is in column D

D2:1
D3:2
D4:3
 
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,007
Members
448,935
Latest member
ijat

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