How to get the filtered excel output in a datatable?

Filter Table activity will work on a table exists inside an Excel.

so better to use Datatable.Select() with your condition which will return an array of DataRow.
Then add that DataRow array in a datatable and then write that Datatable in an Excel.

Regards…!!
Aksh