Tim Hanson
Member
Hello,
I have a file with two columns: name and email and thousands of rows,the emails addresses provide a unique id field.
I need a macro to creates a unique numerical ID starting at zero and continuing to last row such that it looks like the Final Structure.
Any help with this is greatly appreciated, I do not know where to begin with this.
Thanks
flie
Final Structure
I have a file with two columns: name and email and thousands of rows,the emails addresses provide a unique id field.
I need a macro to creates a unique numerical ID starting at zero and continuing to last row such that it looks like the Final Structure.
Any help with this is greatly appreciated, I do not know where to begin with this.
Thanks
flie
Code:
[CODE]Name email
Bob Johnson bobjohnson@email.com
Bob Johnson bobjohnson@email.com
Frank Carpet frakkcarpet@email.com
. .
. .
. .
Juan Alvarez Juanalvarez@email.com
Juan Alvarez Juanalvarez@email.com
Juan Alvarez Juanalvarez@email.com
Joe Jenson joejenson@email.com
sally Berg sallyberg@email.com
. .
. .
. .
Polly Pots polly pots@email.com
Yara Flowers yaraflowers@email.com
Yara Flowers yaraflowers@email.com
Yara Flowers yaraflowers@email.com
Yara Flowers yaraflowers@email.com
Yara Flowers yaraflowers@email.com
Final Structure
Code:
Name email ID
Bob Johnson bobjohnson@email.com 0
Bob Johnson bobjohnson@email.com 0
Frank Carpet frakkcarpet@email.com 1
. .
. .
. .
Juan Alvarez Juanalvarez@email.com 17
Juan Alvarez Juanalvarez@email.com 17
Juan Alvarez Juanalvarez@email.com 17
Joe Jenson joejenson@email.com 18
sally Berg sallyberg@email.com 19
. .
. .
. .
Polly Pots polly pots@email.com 2552
Yara Flowers yaraflowers@email.com 2553
Yara Flowers yaraflowers@email.com 2553
Yara Flowers yaraflowers@email.com 2553
Yara Flowers yaraflowers@email.com 2553
Yara Flowers yaraflowers@email.com 2553