Need to check if rows exist or not in Data tables

First assign excel Table in DataTable.
Use For Each Row and pass conditions is empty
and if yes then Add Row.

Hope this will help…

You can also refer