vlookup and duplicate cell entries

UNIQUO1

New Member
Joined
Mar 13, 2009
Messages
2
Hi I need some help on this table thing.

  1. I have 2 lists. Lets call them list a and list b on the same worksheet. I did a vlookup formula on the second worksheet to look up what was in a particular cell in list b in list a.
  2. This worked fine when I tried to find all the "harry" and "Diana" in the table as there are other names besides "Harry" and "Diana".
  3. However when it came to =vlookup(harry,list a,2,false) as there are many "Harry" and "Diana" with different figures, vlookup only took the first match for "Harry" and "Diana". And kept repeating itself.
  4. What I need it to Do is find all the "Harry" and "Diana" cells and information in column 2 from the first one onwards.
Please help
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Hi I need some help on this table thing.

  1. I have 2 lists. Lets call them list a and list b on the same worksheet. I did a vlookup formula on the second worksheet to look up what was in a particular cell in list b in list a.
  2. This worked fine when I tried to find all the "harry" and "Diana" in the table as there are other names besides "Harry" and "Diana".
  3. However when it came to =vlookup(harry,list a,2,false) as there are many "Harry" and "Diana" with different figures, vlookup only took the first match for "Harry" and "Diana". And kept repeating itself.
  4. What I need it to Do is find all the "Harry" and "Diana" cells and information in column 2 from the first one onwards.
Please help

Try to adapt a scheme like

http://www.mrexcel.com/forum/showthread.php?t=231882

to your spreadsheet.
 
Upvote 0
One problem with that formula

What I need is if it finds Harry, it should be like

list a list b

Harry Harry 100
Diana Harry 50
Diana 60
John 100
Mary 100


I enter a formula to find "Harry" from list b in list a. vlookup(harry,list a,1,false)

then it finds all the "Harry" in the worksheet. Then I change the formula to keep finding "Harry" but instead of taking the information from column 1, I want it to take it from column 2. When it takes the information from column 2, what it currently does is

example Harry 100
Harry 100 when it should show 50.

What kind formula should I use instead? I still want it to show "Harry" and at the same time continue finding all the Harry and numbers beyond 100.

So far all I can do is make it find Harry and find the numbers but it stops at 100. Please help
 
Last edited:
Upvote 0

Forum statistics

Threads
1,222,437
Messages
6,166,027
Members
452,008
Latest member
Customlogoflipflops

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