Hi there,
I have data that when i vlookup it only picks up the first value. What is the best way of being able to find the corresponding value in a different column if the criteria matches?
For example, i want to be able to find what all the Type 2 bookings are for the individuals. What formula would be best for this? Thanks!
Data Set
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name
[/TD]
[TD]Type
[/TD]
[TD]Booking Date
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Joe
[/TD]
[TD]Type 1
[/TD]
[TD]01/01/2018
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Joe
[/TD]
[TD]Type 2
[/TD]
[TD]06/08/2018
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Karen
[/TD]
[TD]Type 1
[/TD]
[TD]01/02/2018
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Ann
[/TD]
[TD]Type 2
[/TD]
[TD]03/02/2018
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]James
[/TD]
[TD]Type 1
[/TD]
[TD]20/08/2018
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Ann
[/TD]
[TD]Type 1
[/TD]
[TD]31/08/2018
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Helen
[/TD]
[TD]Type 1
[/TD]
[TD]01/01/2018
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Helen
[/TD]
[TD]Type 2
[/TD]
[TD]09/01/2019
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Helen
[/TD]
[TD]Type 3
[/TD]
[TD]02/03/2019
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
List of all Type 2 Booking Dates:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name
[/TD]
[TD]Booking Date
[/TD]
[/TR]
[TR]
[TD]Joe
[/TD]
[TD]06/08/2018
[/TD]
[/TR]
[TR]
[TD]Karen
[/TD]
[TD]-
[/TD]
[/TR]
[TR]
[TD]Ann
[/TD]
[TD]03/02/2018
[/TD]
[/TR]
[TR]
[TD]James
[/TD]
[TD]20/08/2018
[/TD]
[/TR]
[TR]
[TD]Helen
[/TD]
[TD]09/01/2019
[/TD]
[/TR]
</tbody>[/TABLE]
I have data that when i vlookup it only picks up the first value. What is the best way of being able to find the corresponding value in a different column if the criteria matches?
For example, i want to be able to find what all the Type 2 bookings are for the individuals. What formula would be best for this? Thanks!
Data Set
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name
[/TD]
[TD]Type
[/TD]
[TD]Booking Date
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Joe
[/TD]
[TD]Type 1
[/TD]
[TD]01/01/2018
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Joe
[/TD]
[TD]Type 2
[/TD]
[TD]06/08/2018
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Karen
[/TD]
[TD]Type 1
[/TD]
[TD]01/02/2018
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Ann
[/TD]
[TD]Type 2
[/TD]
[TD]03/02/2018
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]James
[/TD]
[TD]Type 1
[/TD]
[TD]20/08/2018
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Ann
[/TD]
[TD]Type 1
[/TD]
[TD]31/08/2018
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Helen
[/TD]
[TD]Type 1
[/TD]
[TD]01/01/2018
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Helen
[/TD]
[TD]Type 2
[/TD]
[TD]09/01/2019
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Helen
[/TD]
[TD]Type 3
[/TD]
[TD]02/03/2019
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
List of all Type 2 Booking Dates:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name
[/TD]
[TD]Booking Date
[/TD]
[/TR]
[TR]
[TD]Joe
[/TD]
[TD]06/08/2018
[/TD]
[/TR]
[TR]
[TD]Karen
[/TD]
[TD]-
[/TD]
[/TR]
[TR]
[TD]Ann
[/TD]
[TD]03/02/2018
[/TD]
[/TR]
[TR]
[TD]James
[/TD]
[TD]20/08/2018
[/TD]
[/TR]
[TR]
[TD]Helen
[/TD]
[TD]09/01/2019
[/TD]
[/TR]
</tbody>[/TABLE]