Hi, I have an excel sheet with 2 columns with headers of “key”, “value”. I want to check for each condition that a certain value exists in “key” of a row, then assign a variable to the “value” of that row.
for example, if a cell value “from” exists in the “key” of a row, I must assign a variable to the corresponding “value” cell. please help me out.
Use Read Range activity to read the data from excel file and will give you output as DataTable and say ‘DT’. And then use ForEach Row activity to iterate that DataTable.
ForEach row in DT
IF row(“Key”).Tostring.Length > 0
Then row(“Value”) = “value”
Else Nothing
Finally use Write Range activity to write into Excel file.