@kowisoft how about two branches. One for the stable columns one for the dynamic ones. To deal with the column names in the Column Expressions Node you could do a loop that would:
rename the (dynamic) column to a temporary name “_temp_column_xyz” then do the transformation with this column (the name will always be the same for the expression) and then rename it back to the original one. You could only send this column wise to the loop and collect the results at the end. Not the most elegant way but once you have set it up it will be dynamic.
Like in this example: