Hi Guys,
My data has about 500 rows from Column I to R (total 10 columns).
The data in row N & O are duplicated.. And row O data can be Self-Duplicated
Now I need to sort:
1. If data in Column N = Column O (Duplicate), Move all data from "Columns I J K L M N" to that row.
2. If data in Column O is Self-Duplicated. Then copy & Move all data from "Columns I J K L M N" to that row.
3. If data in Column O is empty or contains something that doesn't exist on Column N. Then all data from "Columns I J K L M N" should be empty.
Results should be like this:
Honestly speaking, I've spent this whole weekend for this but I'm getting no where as I don't have much VBA background and My head has been hurting trying to solve this.
So, I'm wondering If someone here is kind enough to write an example coding/VBA for this.
Thanks guys,
My data has about 500 rows from Column I to R (total 10 columns).
The data in row N & O are duplicated.. And row O data can be Self-Duplicated
Now I need to sort:
I 1 9 15 |
J APPLE Sony Samsung |
K Each Set Set |
L Stock Stock Stock |
M AB AC DA |
N 375-9323 384-803 790-3268 |
O 375-9323 384-803 375-9323 790-3268 |
P 2 15 6 8 10 |
Q pсs. pсs. pсs. pсs. pсs. |
R A NO D D D |
1. If data in Column N = Column O (Duplicate), Move all data from "Columns I J K L M N" to that row.
2. If data in Column O is Self-Duplicated. Then copy & Move all data from "Columns I J K L M N" to that row.
3. If data in Column O is empty or contains something that doesn't exist on Column N. Then all data from "Columns I J K L M N" should be empty.
Results should be like this:
I 1 9 1 15 |
J APPLE Sony APPLE Samsung |
K Each Set Each Set |
L Stock Stock Stock Stock |
M AB AC AB DA |
N 375-9323 384-803 375-9323 790-3268 |
O 375-9323 384-803 375-9323 790-3268 |
P 2 15 6 8 10 |
Q pсs. pсs. pсs. pсs. pсs. |
R A NO D D D |
Honestly speaking, I've spent this whole weekend for this but I'm getting no where as I don't have much VBA background and My head has been hurting trying to solve this.
So, I'm wondering If someone here is kind enough to write an example coding/VBA for this.
Thanks guys,