Greeting,
Im having problem with my workflow which output is logical error.
The process should be where (IF → cells empty or 0 → “No match”) (else → “Match”)
I use IF Else with Expression (gotah2 is Nothing OrElse gotah2.Rows.Count=0)
“gotah2” is variable.
I also use filter datatable which remove column (gotah2.Columns(0)) = “0”) but somehow not remove it.
Inside excel have few cells with “0”. However, the bot still go “Match” even the cells stated 0. Appreciate the guidance and simple solution.
Files as below (0 started on cells 300 due to read write from previous workflow) test4.xlsx (13.9 KB)
Try Below Expression in For each row and Let me know if It is Working.
string.IsNullOrEmpty(CurrentRow(0).ToString) or CurrentRow(0).ToString.Equals(“0”)
Than → “Not Match” Else → “Match”
So sorry, my workflow cannot work if using “for each row” for that part. I try to keep it simple with using IF else method. Maybe can you suggest simple workflow that eliminate 0 in cells. Because my “IF Else” used to work if cells is " " but doesn’t work if contain 0. Can refer test4.xlsx above. I also try using filter datatable to eliminate 0 but doesn’t eliminate 0.
Hmm that’s weird, it works when using your workflow. The different is I’m using read range inside excel scope and somehow it doesn’t remove 0. Anyway I will try implement this on my part and see how it goes. Thanks
Hi, I realise the filter is using Column0 → contain → “0” instead “=” → “0”. I wonder what are the cause for that. Because if the cells contain 1234.00, it will remove for sure.