Balajibenz
Board Regular
- Joined
- Nov 18, 2020
- Messages
- 80
- Office Version
- 2013
- Platform
- Windows
Hi People,
Can you help me with below analysis using a VBA code.
I have the sheet with below input in sheet1. It basically has two columns. Column A has ID and B has its category. an ID might have multiple lines and multiple categories each separated by comma. the possible categories are - Production, Development, Testing, UserAcceptanceTest, Staging, DisasterRecovery.
what i am lookin for is to have a single line items for each ID and in the category column all the categories under ID should be refelcting each separated by Comma with out any duplicates in sheet 2 as shown below.
I have few lines but my original data has many and I am unable to attach it due to access issues. also original data will have many duplicates in categroy column (up to 50 each seperated by comma ). Thank you in advance for helping me put.
Can you help me with below analysis using a VBA code.
I have the sheet with below input in sheet1. It basically has two columns. Column A has ID and B has its category. an ID might have multiple lines and multiple categories each separated by comma. the possible categories are - Production, Development, Testing, UserAcceptanceTest, Staging, DisasterRecovery.
Book1 | ||||
---|---|---|---|---|
A | B | |||
1 | ID | Category 1 | ||
2 | 100 | Production, Production, Production | ||
3 | 100 | Production, Development, Production, Development | ||
4 | 128 | Production | ||
5 | 115 | Development, UserAcceptanceTest, UserAcceptanceTest | ||
6 | 115 | Production, Staging, Staging | ||
7 | 136 | UserAcceptanceTest, Production, DisasterRecovery | ||
Sheet1 |
what i am lookin for is to have a single line items for each ID and in the category column all the categories under ID should be refelcting each separated by Comma with out any duplicates in sheet 2 as shown below.
Book1 | ||||
---|---|---|---|---|
A | B | |||
1 | ID | Category 2 | ||
2 | 100 | Production, Development, Testing | ||
3 | 128 | Production | ||
4 | 115 | Development, UserAcceptanceTest, Production, Staging | ||
5 | 136 | UserAcceptanceTest, Production, DisasterRecovery | ||
Sheet2 |
I have few lines but my original data has many and I am unable to attach it due to access issues. also original data will have many duplicates in categroy column (up to 50 each seperated by comma ). Thank you in advance for helping me put.