Hello,
I have a large database. In columns A, B, C, and D there may be text. Every row has text in column A, and only some have text in B-D. I need a macro to duplicate the rows that have text in B, C, and/or D, copying those cells down to the appropriate cell. here is a basic example
before:
after:
The actual database has content in dozens of cells for each row, so make sure it copies the entire row.
Thanks
Matt
I have a large database. In columns A, B, C, and D there may be text. Every row has text in column A, and only some have text in B-D. I need a macro to duplicate the rows that have text in B, C, and/or D, copying those cells down to the appropriate cell. here is a basic example
before:
Excel Workbook | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | product1 | text1 | text1 | text3 | ||
2 | product2 | txt1 | * | * | ||
Sheet1 |
after:
Excel Workbook | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
4 | product1 | text1 | * | * | ||
5 | product1 | text2 | * | * | ||
6 | product1 | text3 | * | * | ||
7 | product2 | txt1 | * | * | ||
Sheet1 |
The actual database has content in dozens of cells for each row, so make sure it copies the entire row.
Thanks
Matt