Most efficient way to read folders of excel and constrain by a date range. each excel has the date field.
Hi,
I have a folder structure based on YEAR folders which contain MONTH folders which contain WEEK excel files. The WEEK excel files may contain date ranges which may go outside the month range of days.
After reading all the necessary excels I only want data of a whole month of days - e.g. so all the days in January 2025 say.
What would be the most efficient way to do this? For example there could be days at the start of January 2025 in the folder 2024, folder December.
i’m not too familiar with where clause before and after and whether they would apply to excel data.
Would inline sql be an efficient way?
Or, as in my example, will I have to read in December 2024, January 2025 and February 2025 before filtering to make sure i have all the days of January?
Thanks for any advice.


