Hello,
I want to export excel data to txt file in certain format. I have excel file with data in certain columns and I only want to select certain columns. Here is what data looks like in excel file. Also I am attaching excel file just to be more clear.
_A B C D E F G H I
1 b1 c1 e1 f1 h1
2 b2 c2 e2 f2 h2
3 b3 c3 e3 f3 h3
4
5 b4 c4 e4 f4 h4
6 b5 c5 e5 f5 h5
Here Columns A, D G, and I are empty. Also row 4 is empty
I want to generate a text file with columns C, E, H only ignoring any blank row or cell. So that the format of the txt file would be something like following.
data_e1(c1,e1,h1)
data_e2(c2,e2,h2)
data_e3(c3,e3,h3)
data_e4(c4,e4,h4)
data_e5(c5,e5,h5)
Note that I'm appending "data_e#" depending on the data from column E.
Any help would be greatly appreciated,
Thanks
.
Bookmarks