Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default Merge two lists to get one with unique records

I haven't been able to figure this one out but a co-worker needs to have a
unique list generated by two lists. We are using Excel 2003.

1) she has two lists. for example:

First List Second List Combined List
Harry Brown * Harry Brown Harry Brown *
Ben Boat * Ben Boat Ben Boat *
Mary Moon * Glen Glue Mary Moon *
Val Value * Will Wish Glen Glue
Val Value *
Will Wish
2) She wants to combine all the names from the First List and the Second
List into the Combined List but she doesn't want any duplicate names.
3) All the First List names have a *.
4) There is no * for the Second List.
5) When the same name appears in the First List and the Second List, she
wants the name to appear with the * like Harry Brown * in the Third List.
6) If the name is not in the First List, she wants the name to appear
without the * like Glen Glue in the Third List.

The only way that I have figured out how to do it involves removing the *
from the First List, then copying the Second List under the First List, then
using the Advanced Filter feature and picking "unique records only."

The problem with my solution is that the * is not on the Combined List and
this is what my co-worker wants.

I hope this isn't too confusing. If anyone would be able to solve this, I
would greatly appreciate it. It has "driven me up a wall."
Thanks!
Jugglertwo

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default Merge two lists to get one with unique records

I see that my three lists did not come out on my post the way that I expected
so I'm trying the three lists again: I'm putting in the = (equal sign to see
if it will make the three lists appear somewhat in columns.

First List =======Second List=====Combined List
Harry Brown *====Harry Brown====Harry Brown *
Ben Boat *======Ben Boat ======Ben Boat *
Mary Moon *=====Glen Glue======Mary Moon *
Val Value *====== Will Wish======Glen Glue
==========================Val Value *
==========================Will Wish


"Jugglertwo" wrote:

I haven't been able to figure this one out but a co-worker needs to have a
unique list generated by two lists. We are using Excel 2003.

1) she has two lists. for example:

First List Second List Combined List
Harry Brown * Harry Brown Harry Brown *
Ben Boat * Ben Boat Ben Boat *
Mary Moon * Glen Glue Mary Moon *
Val Value * Will Wish Glen Glue
Val Value *
Will Wish
2) She wants to combine all the names from the First List and the Second
List into the Combined List but she doesn't want any duplicate names.
3) All the First List names have a *.
4) There is no * for the Second List.
5) When the same name appears in the First List and the Second List, she
wants the name to appear with the * like Harry Brown * in the Third List.
6) If the name is not in the First List, she wants the name to appear
without the * like Glen Glue in the Third List.

The only way that I have figured out how to do it involves removing the *
from the First List, then copying the Second List under the First List, then
using the Advanced Filter feature and picking "unique records only."

The problem with my solution is that the * is not on the Combined List and
this is what my co-worker wants.

I hope this isn't too confusing. If anyone would be able to solve this, I
would greatly appreciate it. It has "driven me up a wall."
Thanks!
Jugglertwo

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Merge two lists to get one with unique records

I'd do what you did using the filter then in another column use a formula to
see if the name appears in the first table. If it does then concatenate the
* after the name:

=IF(COUNT(MATCH(C1,A1:A100,0)),C1&" *",C1)

Then clean up by converting the formulas to constants and restoring the
tables as needed.

--
Biff
Microsoft Excel MVP


"Jugglertwo" wrote in message
...
I haven't been able to figure this one out but a co-worker needs to have a
unique list generated by two lists. We are using Excel 2003.

1) she has two lists. for example:

First List Second List Combined List
Harry Brown * Harry Brown Harry Brown *
Ben Boat * Ben Boat Ben Boat *
Mary Moon * Glen Glue Mary Moon *
Val Value * Will Wish Glen Glue
Val Value *
Will Wish
2) She wants to combine all the names from the First List and the Second
List into the Combined List but she doesn't want any duplicate names.
3) All the First List names have a *.
4) There is no * for the Second List.
5) When the same name appears in the First List and the Second List, she
wants the name to appear with the * like Harry Brown * in the Third List.
6) If the name is not in the First List, she wants the name to appear
without the * like Glen Glue in the Third List.

The only way that I have figured out how to do it involves removing the *
from the First List, then copying the Second List under the First List,
then
using the Advanced Filter feature and picking "unique records only."

The problem with my solution is that the * is not on the Combined List and
this is what my co-worker wants.

I hope this isn't too confusing. If anyone would be able to solve this, I
would greatly appreciate it. It has "driven me up a wall."
Thanks!
Jugglertwo



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare two lists; return only unique records Lkyred19 Excel Worksheet Functions 3 January 14th 08 03:38 PM
unique filter results in some non-unique records. Serials Librarian Excel Discussion (Misc queries) 2 May 26th 06 09:58 PM
Extract Unique Records from two lists MarkN Excel Worksheet Functions 3 November 11th 05 01:07 PM
Unique records Pete Excel Discussion (Misc queries) 1 July 26th 05 06:58 PM
How to delete duplicate records when I merge two lists (deleting . rinks Excel Worksheet Functions 10 December 11th 04 01:03 AM


All times are GMT +1. The time now is 10:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"