if the value starts with D then it has to write snapdeal on the A cell under the platform… in else condition it has to write olx on the A cell like what ever the value will come.
one more thing to mention B cell values can extend
Read the excel into datatable then do a for each row of the datatable.
If row(“id”).ToString.ToLowerInvariant.Substring(0,1) = “d” Then
assign row(“Platform”) = “snapdeal”
Else
assign row(“Platform”) = “olx”
After all rows has been processed write the datatable to excel by using write range
sorry for asking too much bro… may i know where i have to create var bro… i think i have created a workflow like youself even added read range value op Dt in my for each but it stiill shows the error