JugglerJAF
Active Member
- Joined
- Feb 17, 2002
- Messages
- 297
- Office Version
- 365
- Platform
- Windows
I've had a search on the forum and cant find anything that does quite what I need.
I have two lists of data (columns A and B). Values can appear in both lists, on list1 but not on list 2, or on list 2 but not on list 1.
I need to move the data so that the values on each row match. Before and after screenshots of soem sample data are as follows:
BEFORE:
AFTER:
I've been trying all day to get my head round a VBA solution to this (the real list has about 20,000 records), but my brain has given up and gone home for the day!
Any suggestions, help or pointers greatly appreciated.
I have two lists of data (columns A and B). Values can appear in both lists, on list1 but not on list 2, or on list 2 but not on list 1.
I need to move the data so that the values on each row match. Before and after screenshots of soem sample data are as follows:
BEFORE:
Excel Workbook | ||||
---|---|---|---|---|
A | B | |||
1 | List 1 | List 2 | ||
2 | alpha | DELTA | ||
3 | bravo | ECHO | ||
4 | charlie | FOXTROT | ||
5 | golf | GOLF | ||
6 | hotel | INDIA | ||
7 | * | JULIET | ||
Sheet |
Excel Workbook | ||||
---|---|---|---|---|
A | B | |||
1 | List 1 | List 2 | ||
2 | alpha | * | ||
3 | bravo | * | ||
4 | charlie | * | ||
5 | * | DELTA | ||
6 | * | ECHO | ||
7 | * | FOXTROT | ||
8 | golf | GOLF | ||
9 | hotel | * | ||
10 | * | INDIA | ||
11 | * | JULIET | ||
Sheet |
I've been trying all day to get my head round a VBA solution to this (the real list has about 20,000 records), but my brain has given up and gone home for the day!
Any suggestions, help or pointers greatly appreciated.