Split the text in multiple rows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-09-20 11:39 PM
I would like to split the data from multiple cell at a time. will it be possible .
First 5 alphabet from the text and paste in different column.
From cell# F2 to F100 first 5 alphabet need to split and paste in column G.
Please help ASAP.
BR/Asitabha
------------------------------
Asitabha Deb
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-10-20 02:13 PM
Yes you can achieve this using below steps.
- Create Instance
- Open Workbook
- Get excel data as collection ( Use collection as its little bit faster compare to excel get value and set value)
- Create new column in collection to set value - if column is not there in excel
- now you have to use loop to access the collection data.
- Inside data you have to use left function to get 5 alphabets and store in collection new column
- write collection in excel.
I hope it will solve your issue.
Thanks
Nilesh
------------------------------
Nilesh Jadhav
Senior RPA Specialist
------------------------------
Consultant
ADP,India
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-10-20 03:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-10-20 04:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-10-20 05:12 PM
Consider your collection name is "Data" and there are 4 column inside your excel file which header is
1st Col = "FName" , 2nd Col = "MName" , 3rd col = "Lname" , 4th Col = "Alphabate"
Now follow below steps
- drag and drop one calculation stage and inside write expression Trim(Left([Data.Fname],5))
- In store result write [Data.Alphabate]
1st step will extract your first 5 character excluding space and 2nd will store extracted value in 4th Column.
Use write collection in excel action after end your loop.
I hope your issue will resolve 🙂
Do let me know if any issue.
Thanks
Nilesh
------------------------------
Nilesh Jadhav
Senior RPA Specialist
------------------------------
Consultant
ADP,India
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-10-20 04:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-10-20 06:54 PM
Left(Trim([Data.Fname]),5)
------------------------------
Hetal Rathore
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-10-20 03:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-10-20 03:33 PM
What error you are getting?
try to use Left([Data.Fname],5) ( remove trim for time being)
Thanks
Nilesh
------------------------------
Nilesh Jadhav
Senior RPA Specialist
------------------------------
Consultant
ADP,India
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-09-23 03:08 AM
I have text file with 200 data .such as name, policy number, account number and etc etc. How I could split it according to the column in my development ?
------------------------------
Shree Abhi
------------------------------
