jo15765
Well-known Member
- Joined
- Sep 23, 2011
- Messages
- 591
Hello - I have an excel worksheet where in Column A it has a user id, then column B it shows websites visited. It's in an unusable format currently, and I'd like to get it usable. Sample data is like this
What I need is to remove the actual name and add the userId to each site visited so that the excel sheet will look like this
What is a macro/formula/vba that will achieve this result?
Code:
userID Name/site
abc123 Jack Johnson
www.espn.com
aol
google
xyz789 Bob Godfrey
msnbc
toolscool.com
era292 Jason McKnight
google.com
www.google.com
What I need is to remove the actual name and add the userId to each site visited so that the excel sheet will look like this
Code:
abc123 www.espn.com
abc123 aol
abc123 google
xyz789 msnbc
xyz789 toolscool.com
era292 google.com
era292 www.google.com
What is a macro/formula/vba that will achieve this result?