lookup value if there are multiple matches

annielise

New Member
Joined
Sep 9, 2018
Messages
2
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

Name
Type
Booking Date
Joe
Type 1
01/01/2018
Joe
Type 2
06/08/2018
Karen
Type 1
01/02/2018
Ann
Type 2
03/02/2018
James
Type 1
20/08/2018
Ann
Type 1
31/08/2018
Helen
Type 1
01/01/2018
Helen
Type 2
09/01/2019
Helen
Type 3
02/03/2019

<tbody>
</tbody>


List of all Type 2 Booking Dates:

Name
Booking Date
Joe
06/08/2018
Karen
-
Ann
03/02/2018
James
20/08/2018
Helen
09/01/2019

<tbody>
</tbody>
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Try one of these.
If you have Excel 2010 or later you can use the formulas in cells D15 and E15 below.
Other wise you can use the formulas in A15 and B15. The formulas in A15 & B15 must be entered with CTRL-SHIFT-ENTER. Then drag down as needed.
Excel Workbook
ABCDE
1NameTypeBooking Date
2JoeType 11/1/2018
3JoeType 28/6/2018
4KarenType 12/1/2018
5AnnType 22/3/2018
6JamesType 18/20/2018
7AnnType 18/31/2018
8HelenType 11/1/2018
9HelenType 21/9/2019
10HelenType 33/2/2019
11
12
13Find:Type 2Find:Type 2
14NameDateNameDate
15Joe8/6/2018Joe8/6/2018
16Ann2/3/2018Ann2/3/2018
17Helen1/9/2019Helen1/9/2019
Sheet
 
Upvote 0

Forum statistics

Threads
1,215,239
Messages
6,123,817
Members
449,127
Latest member
Cyko

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