Hi @kiran_g
There are two options
1) Connect excel as DataBase
This option helps to read large excel file in form of database tables and help to execute SQL Queries on it.
See below link for documentation with respect to this:
https://www.matthewdevaney.com/power-automate-desktop-read-filter-excel-with-sql-query/
Linq queries
It helps to perform manipulation on excel file (in datatable form) in easy and efficient way.
See below article written @LokeshBysani 🙂 on how to execute linq query in power automate desktop
https://www.linkedin.com/pulse/how-run-net-script-action-empowers-data-table-power-automate-bysani/
Coming to your question, if you want to try using linq query , try using below code
dt2= dt1.AsEnumerable().Where(Function(row) CDate(row("ColumnName").ToString.Trim)>"09-10-2023" And CDate(row("ColumnName").ToString.Trim)<"16-10-2023").CopyToDataTable()
where dt1 is input argument of datatable type to Run .net script action which is input datatable which is obtained by reading the excel, while dt2 is output datatable obtained after filtering using linq query which is the output argument.
Hope it helps !