![]() |
|
|
|||||||
| 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 |
|
Join Date: May 2002
Posts: 6
|
I've searched the archives, and haven't found exactly this problem. I have different worksheets with lists of names that I want to merge--BUT, when they're merged I want to create a new worksheet that lists ONLY those names that are not shared by the different lists.
In other words, if worksheet A has this list: bob joe cindy mary And B has bob joe cindy mary jane The new worksheet should have only the name 'jane' listed. Thanks in advance. |
|
|
|
|
|
#2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,448
|
Hi magatha:
Welcome to the board! Let us say your NAME lists are in sheets 5 and 6, and you want to consolidate them in sheet7. bring both the lists starting in columns A5 and B5 of sheet7 as shown in the simulated worksheet. Give each NAME list a label -- I used Sheet5_name in cell A4, and Sheet6_name in cell B4. Put the following formula in cell A2 =NOT(A5=B5) ... range A1:A2 will be used as criterion range Now apply Advanced Filter to the combined list with range A1:A2 as criteron -- You should notice only the name 'jane' remaining on the filtered list. Regards!
Click on a hyperlinked cell to see the underlying formula
__________________
Regards! Yogi Anand, D.Eng, P.E. Energy Efficient Building Network LLC www.energyefficientbuild.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
#3 |
|
Join Date: May 2002
Posts: 6
|
Brilliant! I was almost there, but am still wobbly....
--Magatha |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|