![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 4
|
if i put a list of names in rowc and a list of names in rowb can i put any names that
match in rowc.i am new to excel and just wondered if this was possible. |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: May 2002
Posts: 13,278
|
Welcome, Willy!
All things are possible in the end, but: 1) You've already got a list of names in row c - was that a typo? do you want to put matched names in row d?? 2) What do you mean by matched? Where the values on the same row are equal, or just if the same same turns up in both columns? 3) Can you have more than one match, or wll there only be one instance of each name per row? Clarify a bit & I'm sure a solution will turn up... Paddy |
|
|
|
|
|
#3 |
|
New Member
Join Date: May 2002
Posts: 4
|
sorry paddy it was a type error,ill try again.
if i have a list of names in columnA and list of names in columnB can i put in columnC the names that appear in both A and B column,s . |
|
|
|
|
|
#4 |
|
New Member
Join Date: May 2002
Posts: 37
|
Worldcupwilly
If you just want to match every instance where an entry in column b matches an entry in column a then a simple vlookup should do However, this will return #N/A if the entry in column b does not appear anywhere in Column A. I am sure people out there with a lot more knowledge than me can offer a better solution (e.g. to only return an entry in column C once if there is more than one match) Assuming your names are in columns A1:A10 and B1:B10 enter the following formula in C1 and drag down to C10 =VLOOKUP(B1,$A$1:$A$11,1,FALSE) Hope it does the trick |
|
|
|
|
|
#5 |
|
New Member
Join Date: May 2002
Posts: 37
|
Willy
Sorry the assumption above should be that entries are in A1:A11 and B1:B11 |
|
|
|
|
|
#6 |
|
MrExcel MVP
Join Date: May 2002
Posts: 13,278
|
Willy,
Or have a look at the following for a bit more detail: http://www.mrexcel.com/board/viewtop...9570&forum=2&3 Paddy |
|
|
|
|
|
#7 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
|
an excellent choice Paddy
adjusting this thread for my suggestion on the earlier link, we'd just need to change the countif criteria to >=2 rather than =1 ie to capture duplicates assuming there weren't any in the original data |
|
|
|
|
|
#8 |
|
New Member
Join Date: May 2002
Posts: 4
|
thanks for your help .i hope to use this from now on----cheers
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|