Convert data from specific field excel to text file

I want to convert data from excel to txt.file
But I want only specific filed (text gree) file.xlsx (8.2 KB)


convert to text file below.
file text.txt (149 Bytes)

Please guide me about it.

Hi @fairymemay

Can you answer the following questions
1.Do you have any rule to select the fields from excel?
2. Is there any rule for the word file also? Data in the 3rd row of word file do not follow the pattern of 2nd row in the file.
3. What is H, D in the start of the word file?

I can try to build the logic.

Atul Rai

In the Header after name you have ID but in the Data you have job after name.

@fairymemay Check this workflow : (8.0 KB)

The Output can be easily done by using a Transpose Datatable Activity. The workflow uses an external package. You can download the highlighted package from the Manage Packages and use the workflow I have provided.

If you have any errors found, share the same.

1 Like

This is not an elegant solution but I would suggest that you read the Excel file into a datatable and loop through this datatable to remove any unnecessary rows and separate the data (this may have to use hard coded business rules such as "does column1 contain ID? If so, keep the row. If column1=end, then create a new variable after this row). Once you have sorted the data, you can then manipulate it into the text file that you require. My other suggestion would be to perhaps change the process if possible so that the input data is more structured, making your data easier to manage.


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.