svkroy
Board Regular
- Joined
- Sep 12, 2009
- Messages
- 179
Hi,
I am in a fix. I have this data.
Column 1 Column 2
xyz 1234.76 (18.98)
xyz 6321.76/(9765.34)
xyz 85.76 765
xyz 785
xyz (234)
The logic being if values in Col 1 has "xyz" then insert a blank row below and split the corresponding second values of Col 2 in the row just beneath that, also fill "xyz" in blank Col 1 cells. If it has only one value keep the next row blank. The output is as below:
Column 1 Column 2
xyz 1234.76
xyz (18.98)
xyz 6321.76
xyz (9765.34)
xyz 85.76
xyz 765.00
xyz 785.00
xyz
xyz (234)
xyz
Any help, ideas. Thanks in advance.
I am in a fix. I have this data.
Column 1 Column 2
xyz 1234.76 (18.98)
xyz 6321.76/(9765.34)
xyz 85.76 765
xyz 785
xyz (234)
The logic being if values in Col 1 has "xyz" then insert a blank row below and split the corresponding second values of Col 2 in the row just beneath that, also fill "xyz" in blank Col 1 cells. If it has only one value keep the next row blank. The output is as below:
Column 1 Column 2
xyz 1234.76
xyz (18.98)
xyz 6321.76
xyz (9765.34)
xyz 85.76
xyz 765.00
xyz 785.00
xyz
xyz (234)
xyz
Any help, ideas. Thanks in advance.