vlookup

cfrancis

New Member
Joined
Sep 19, 2002
Messages
2
I am relatively new to using excel and I have a problem. I have a list of data in several columns and rows, say a1:e:10. I have a drop down menu to choose a piece of information out of the data. Vlookup will spit out the data that I request, but there are cases were the item I choose from the drop down list is in my data more than one time. It seems like vlookup just gives the first one that it gets to. I need something that will retrieve more than one item if there are multiple entries of that item. thanks.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
If you are omiting the last (optional) parameter(of VLOOKUP), the first column must be in ascending order. Try after sorting the range, OR with "FALSE" as the last parameter.

Following text is from excel's help.
<< If range_lookup is TRUE, the values in the first column of table_array must be placed in ascending order: ..., -2, -1, 0, 1, 2, ..., A-Z, FALSE, TRUE; otherwise VLOOKUP may not give the correct value. If range_lookup is FALSE, table_array does not need to be sorted.>>
 
Upvote 0
I have False as the last parameter, and have sorted the data, so that the item I choose is in the first column. I probably confused you with my description of my problem. Here is an example:
a b c d
1 brakes 1994 ford ranger
2 brakes 2000 dodge durango
3 yoke 1977 chevy pickup

Say in the drop down menu, I choose brakes. vookup will give the information in a1:d1, but I cant figure out how to get it to give me the information in row 2 also. Any suggestions will be appriciated.
 
Upvote 0
Can you use the data filter?

Highlight the column with brakes in it.
then select Data Filter AutoFilter. That will give you a list select brakes and that will return the two with brakes. Select all to return the full list?

Not sure how you want you sheet to work but this is one way that you may be able to use.

Another newby.
L
 
Upvote 0

Forum statistics

Threads
1,203,105
Messages
6,053,544
Members
444,670
Latest member
laurenmjones1111

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