Hi,
I have a spreadsheet in Excel which when I use the filter function and i want to filter to show only the “blank” cells and then replace the “blanks” with a word.
Is this something that can be done?
Regards,
Shawn
Hi,
I have a spreadsheet in Excel which when I use the filter function and i want to filter to show only the “blank” cells and then replace the “blanks” with a word.
Is this something that can be done?
Regards,
Shawn
Hi @shawnmurray,
I have created a workflow based on your requirement.
Please let me Know if it is exact one.
Thanks,
Mohanraj.SEmpty.zip (173.3 KB)
Can you Please confirm Your UiPath Version and also ensure the below dependencies is added to this project.
Thanks,
Mohanraj.S
HI @shawnmurray
Few steps to do this…
Code for assign is:
row(“YourColumn”) = “New Text”
Hi
Hope these steps could help you resolve this
–use excel application scope and pass the file path as input
–use read range activity and get the output with a variable of type datatable named outdt
–use a for each row loop and pass the above variable as input outdt
–inside the loop use a activiy called **if **
–with condition like this
String.IsNullOrEmpty(row(“yourcolumnname”).ToString)
and if the above condition passes it will go to the THEN part where we can have a assign activity to pass the blank with the word we want
like this
row(“yourcolummname”) = “yourstring”
simple isn’t it…
Cheers @shawnmurray
@Mohansadaiyapillai how can i check the dependencies if the product does not open.
UiPath version 2019.6.0
Thanks
Fantastic
Cheers @shawnmurray
@shawnmurray Try to upgrade it to the latest version 2019.7.0 and open the project.
( Sorry you cannot see the dependencies if it is not open)
Thanks,
Mohanraj.S
@Mohansadaiyapillai To upgrade would i uninstall current version and download new version from Community?
Regards,
Shawn
Hi @shawnmurray,
If you are using Community Edition it should automatically download the latest version. If this is not happening, go to https://platform.uipath.com and after you will log in go to:
Thanks @Pablito That worked!!
Regards,
Shawn
Hi @Mohansadaiyapillai ,
After updating i have been able to look at this.
This is what i am looking for but instead of a certain range, is it possible to apply it to an entire column, so column “A” for example.
Regards,
Shawn
Please look into this and it will give you a solution.
EmptyCell.zip (174.3 KB)
Thanks,
Mohanraj.S
@Mohansadaiyapillai
That seems to be perfect dude!
Thanks,
Shawn
That’s Sounds good, Please close this thread as mark my answer as solution.
Thanks,
Mohanraj.S
Hi @Mohansadaiyapillai
Could i apply the same principle for example if a number was greater than 10 to replace it with a word?
Regards,
Shawn