Pavannaik
(Pavan)
December 18, 2017, 7:57am
1
I am having problem with replacing a particular value in excel.
In excel- Column4 contains (hp,hp,hp,dell,dell,dell,nokia,sony,sony)
I need to replace a particular cell value. for e.g. I need to replace the sony with ericsson.
I am using for each loop and if condition to extract the data.
how can I achieve this. can anyone help in this ?
2 Likes
prassin6
(Prashant Singh)
December 18, 2017, 11:19am
2
Hi @Pavannaik ,
Use " For Each Row " Activity.
then use "Get Row Item " Activity inside " For Each Row " Activity.
Specify the column name , or column index to get the data of that column of that row.
Then put it in a variable and check if it matches Sony.
if condition is yes , then use write cell to write new data in that cell.
if condition is no , it shud iterate through next row as it is .
Cheers
2 Likes
james
January 25, 2018, 6:25pm
4
I have a slightly different challenge that I was hoping for some assistance on. I have two variables that I am filtering on. In the excel sheet, I am asking UiPath to find rows that have A and B, and if that exists, then replace it with C. I can’t get it to work w/ the procedure described above. Any assistance you can provide is appreciated.
James
balupad14
(Balamurugan)
December 2, 2019, 8:12pm
6
Hi,
It is an activity called “Find and Replace” to solve your issue.
Hi,
A situation to find and replace the text inside the Excel. For that purpose, I have developed some activities below.
Find - Find the text inside the sheet. It will return the cell info as an array string and row indexes.
FindReplace - Find and replace the text inside the Excel sheet.
[image]
[image]
Regards
Balamurugan.S
Regards
Balamurugan.S
1 Like