Hi everyone, I have a very simple problem. I just need to trim some cells from excel. I tried it on my own but there are some errors I don’t understand.
Here is a link to my project, an example excel is there too: Project Zip
Hi everyone, I have a very simple problem. I just need to trim some cells from excel. I tried it on my own but there are some errors I don’t understand.
Here is a link to my project, an example excel is there too: Project Zip
Happy to help! Can you provide more details? What is given, and what would you like it to look like?
Hi!
Basically, I just want to make a new column with the (S$) in header instead of the values. The new values will just take the minimum price. If the item wasn’t found, it should be 0. That’s about it
Hi @anon97 ,
Try attached updated workflow, hope it helps you
Data Manipulation.zip (12.6 KB)
Regards,
Vinit Mhatre
Hi!
Thanks for the example. How can I trim the S$ out before the data is inserted in the new column? Besides that, I think just the new header is a different name
Hi @anon97 ,
You can use Replace function to replace “S$”
Split(CurrentRow("Price").ToString().Trim().ToUpper(),"TO")(0).Replace("S$","").Trim
Regards,
Vinit Mhatre
thank you. where exactly should I change or add this?
Hi @anon97 ,
Just update the expression into arrayrow that i have added into ELSE part of if condition, as below
And also if you want to change the column name you can do it into BUILD DATATABLE
Regards,
Vinit Mhatre
Hi @anon97 ,
Updated workflow: Main.xaml (15.5 KB)
Use this,
{CurrentRow("Items").ToString,CurrentRow("Price").ToString,Split(CurrentRow("Price").ToString().Trim().ToUpper(),"TO")(0).Replace("S$","").Trim}
Regards,
Vinit Mhatre
Thanks! It works now
Happy automation !!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.