I have an excel data table like this:
Name Status
ABC YES
DEF NO
GHI YES
JKL NO
I use Filter Data Table to filter the column “Status” = “NO” , save the output as DataTable1(which is the same as input) and use For each row to run the process because I just want to carry out the process for those whereby the status is a “NO”. After the process is done, I want to change the status from “NO” to “YES”.
I have tried using Assign(row.Item(“Status”) = “YES) and Write Cell to write DataTable1 into the excel sheet but I realise that it will replace all the data which is not what I want. I still want the keep those with a “YES”
The output I get: (something similar)
Name Status
DEF YES
JKL YES
GHI YES
JKL NO
What I’m looking for:
Name Status
ABC YES
DEF YES
GHI YES
JKL YES
Can someone help me on this, thank you so much!