jellevansoelen
New Member
- Joined
- Mar 1, 2021
- Messages
- 29
- Office Version
- 365
- 2019
- Platform
- Windows
Hi excel macro expert,
I'm searching for a specific complex excel macro.
I have a document with more than 5000 rows. Each row has 10 columns. The first 3 colums (A,B,C) from a row is a default value. But from column D is different. Some cells has a value and some is empty. I'm looking for a macro/script which insert a new row by when the cell is not empty from column D. But with that specific value from cell D-E-F-G-H. And copy the default values of cell A,B,C.
Data is like:
A 12-10-2020 Plan A Plan B Plan C
B 16-10-2020 Plan A
C 25-10-2020 Plan A Plan B
D 27-10-2020 Plan A Plan C
E 29-10-2020 Plan A
End results would be like:
A 12-10-2020 Plan A
A 12-10-2020 Plan B
A 12-10-2020 Plan C
B 16-10-2020 Plan A
C 25-10-2020 Plan A
C 25-10-2020 Plan B
D 27-10-2020 Plan A
D 27-10-2020 Plan C
E 29-10-2020 Plan A
Hopefully you can understand me and someone can help me.
Tnx
I'm searching for a specific complex excel macro.
I have a document with more than 5000 rows. Each row has 10 columns. The first 3 colums (A,B,C) from a row is a default value. But from column D is different. Some cells has a value and some is empty. I'm looking for a macro/script which insert a new row by when the cell is not empty from column D. But with that specific value from cell D-E-F-G-H. And copy the default values of cell A,B,C.
Data is like:
A 12-10-2020 Plan A Plan B Plan C
B 16-10-2020 Plan A
C 25-10-2020 Plan A Plan B
D 27-10-2020 Plan A Plan C
E 29-10-2020 Plan A
End results would be like:
A 12-10-2020 Plan A
A 12-10-2020 Plan B
A 12-10-2020 Plan C
B 16-10-2020 Plan A
C 25-10-2020 Plan A
C 25-10-2020 Plan B
D 27-10-2020 Plan A
D 27-10-2020 Plan C
E 29-10-2020 Plan A
Hopefully you can understand me and someone can help me.
Tnx