Spreadsheet attached with data and spreadsheet attached with ideal result.
Essentially I would like to be able to do an if statement that looks for any cell thats over 40 hours across all columns. the column headers are weeks in a year, so you can imagine this will grow to many columns over time.
I would suggest to change one argument in the Unique transform of @Anonymous example, to catch if there are multiple weeks with overtime for a single employee.
I set that up as per the request in the data sample, also Concat unique or Concat it is same because each column represent week and there is no possibility of having same value for same employee in same week.
Here is a complete solution for the whole 52 or 53 week year.
Having column name with all the week numbers and stack it with the data files that could only have initial week numbers and might grow as the year progress, so having stacked will keep the transform same and no need to change every time when a new week is added.
Just need to make sure, that the columns that are expected in data file and the one that is chosen as Header to use with Stack they remain the same.