A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
How do you want to output the results?
The objective is to know whether that specific header is present or not for all individual files. So any method is okay with the help of excel.
Power Query \ Get Data \ From File \ From Folder
Choose your folder \ Transform Data
Add a custom column "Header" using this MCode:
=Text.Split(Text.BeforeDelimiter(Text.FromBinary([Content]),"#(cr)"),",")
Expand the Header column to new rows
This are all headings from each file, filter the column and you know the files that contains the header you are looking for.
Andreas.