Possible Vlookup: Multi Criteria without using Unique Variables

KuraiChikara

Board Regular
Joined
Nov 16, 2016
Messages
111
Office Version
  1. 2013
Platform
  1. Windows
Hello,
I'm trying to see if there is a way to pull different types of data from criteria that can be repeated; Example:
1: There are only 2 people in the name criteria but they are listed more than once (Jane Doe twice and John Doe 4x)
2: I'm looking to do a formula that will remove the duplicate names while allowing me to find each possible item under their name WITHOUT adding unique variables (IE: Jane Doe 1, Jane Doe 2, etc) if that's even possible

Name (criteria)Item
Jane DoeStrawberries
Jane DoeRaspberries
John DoePineapples
John DoeBlueberries
John DoeApples
John DoeGrapefruit


GOAL:

NameItem 1 (formula)Item 2 (formula)Item 3 (formula)Item 4 (formula)
Jane DoeStrawberriesRaspberries
John DoePineappleBlueberriesApplesGrapefruit
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
What version of XL are you using? Please amend you account details to show this & what platform you are using. It enables members to suggest a solution that should work. Thanks
 
Upvote 0
Thanks for that.
How about
+Fluff.xlsm
AB
1Name (criteria)Item
2Jane DoeStrawberries
3Jane DoeRaspberries
4John DoePineapples
5John DoeBlueberries
6John DoeApples
7John DoeGrapefruit
Sheet1


Cell Formulas
RangeFormula
A2:A5A2=IFERROR(INDEX(Sheet1!$A$2:$A$7,MATCH(0,INDEX(COUNTIF(A$1:A1,Sheet1!$A$2:$A$7),0),0)),"")
B2:I5B2=IFERROR(INDEX(Sheet1!$B$2:$B$7,AGGREGATE(15,6,(ROW(Sheet1!$B$2:$B$7)-ROW(Sheet1!$B$2)+1)/(Sheet1!$A$2:$A$7=$A2),COLUMNS($A2:A2))),"")
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,960
Messages
6,122,479
Members
449,088
Latest member
Melvetica

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