I want to remove those row if the FIN number is less than 11 digits. Does anyone know how to do this? Thank you so much!!!
Input

Output

I want to remove those row if the FIN number is less than 11 digits. Does anyone know how to do this? Thank you so much!!!
Input

Output

Excel Application Scope activity to read the data from your Excel file into a DataTable using the Read Range activity.Select method of the DataTable to filter rows based on the condition that the value in the “FIN” column is numeric and has less than 11 digits.Write Range activity to write the filtered DataTable to a new Excel file.Hey @ndtran85
you can filter datatable.
Try this:
dt = dt.AsEnumerable().Where(Function(row) If(IsNumeric(row("FIN").ToString()), row("FIN").ToString().Length >= 11, False)).CopyToDataTable()
Thank you so much @pikorpa!!! It works!!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.