jamesbrown008
New Member
- Joined
- Apr 22, 2011
- Messages
- 27
Hi all
I have a worksheet called "Master" with some id's, dates and user names.
Example included below:
All I want to do is copy columns A B and C to a new worksheet called "User List" but remove all duplicates. A row is considered a duplicate if the name (Column C) and date
(Column B) are the same on two or more rows.
For example:
In the screenshot you see the following values for 4/3/11 (In reality there are many more rows and many more dates)
Column A Column B Column C
Row A 1 4/3/11 James
Row B 2 4/3/11 Steve
Row C 3 4/3/11 Fred
Row D 4 4/3/11 James
Row E 5 4/3/11 Steve
Row F 6 4/4/11 James
Row G 7 4/4/11 Fred
In this example I would want the script to only copy
Rows A, B, C, F and G because D and E are duplicates.
As previously mentioned - I don't need to copy the whole row, just the values in Columns A, B and C
Any ideas?
Thanks in advance
James
I have a worksheet called "Master" with some id's, dates and user names.
Example included below:
All I want to do is copy columns A B and C to a new worksheet called "User List" but remove all duplicates. A row is considered a duplicate if the name (Column C) and date
(Column B) are the same on two or more rows.
For example:
In the screenshot you see the following values for 4/3/11 (In reality there are many more rows and many more dates)
Column A Column B Column C
Row A 1 4/3/11 James
Row B 2 4/3/11 Steve
Row C 3 4/3/11 Fred
Row D 4 4/3/11 James
Row E 5 4/3/11 Steve
Row F 6 4/4/11 James
Row G 7 4/4/11 Fred
In this example I would want the script to only copy
Rows A, B, C, F and G because D and E are duplicates.
As previously mentioned - I don't need to copy the whole row, just the values in Columns A, B and C
Any ideas?
Thanks in advance
James
Last edited: