INDEX/VLOOKUP Forumla for Unique List

MJLG85

New Member
Joined
Jan 24, 2018
Messages
40
Hello

So I have manged to find a formula to help produce a list of unique names based on rules, but i can only get it to return the first name from the whole list.

{=IFERROR(INDEX(Master!$B$2:$B$500,MATCH(0,COUNTIF(H$2,IF(Master!A$2:A$500=H$2,Master!B$2:B$500,H$2)),0)),"")}

"Master B" is the range i want the names from
H2 is the name/value i want it to check in Master A

I then did th ctrl+shift+return trick, dragged it dwn but only the first name appears when i know there are more, yet al th sites i have looked at shows i will return the next name that matches H2

Should i be using Vlookup in this to help it?
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
How about
=IFERROR(INDEX(Master!$B$2:$B$500,AGGREGATE(15,6,(ROW(Master!$B$2:$B$500)-ROW(Master!$B$2)+1)/(Master!A$2:A$500=H$2),ROWS($H$3:$H3))),"")
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,703
Messages
6,173,973
Members
452,540
Latest member
haasro02

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