Hi, I wanted to know if there’s a way to run a loop in an excel sheet that if the value exists in a cell certain column then return the value otherwise ignore the empty cells between.
For example, if there can be a value inside A1 then the value may exist in A15(in this case return the value of both these cells). But the cells are empty between A2 to A14.
So, What I want is in column F every time there’s a value I want to change the ID (while keeping the empty rows)meanwhile the loop is constant in column G.
Read Range into a data table, use for each row activity and check if 6th column (F column) is empty or not, if not empty, update 7th column value with column 6.
Eg: If : not String.isnullorempty(currentRow.item(5).tostring)
currentrow.item(6) = currentrow.item(5).tostring