Sort files in subfolder using an Excel file

hello, everyone,
I am a very satisfied user of Hazel, a great program that has saved me a lot of time in many daily tasks in my work... but I don't have much experience to make complex rules.
I work in a printing company and periodically I receive a folder with hundreds of files (sometimes thousands). The file name is always a 6 number code.
Furthermore I always receive an Excel file with two columns: column A includes the name of the files (6-number code) and column B the material on which each file has to be printed.
It is possible that Hazel will create a folder for each material from the Excel file (usually I use more or less 5 or 6 materials) and move each file (with 6 code numbers) in its corresponding material folder.
I hope I have explained clearly.
Before writing to ask for help I have made several attempts, but I have never achieved my goal.
Thank you very much in advance
I am a very satisfied user of Hazel, a great program that has saved me a lot of time in many daily tasks in my work... but I don't have much experience to make complex rules.
I work in a printing company and periodically I receive a folder with hundreds of files (sometimes thousands). The file name is always a 6 number code.
Furthermore I always receive an Excel file with two columns: column A includes the name of the files (6-number code) and column B the material on which each file has to be printed.
It is possible that Hazel will create a folder for each material from the Excel file (usually I use more or less 5 or 6 materials) and move each file (with 6 code numbers) in its corresponding material folder.
I hope I have explained clearly.
Before writing to ask for help I have made several attempts, but I have never achieved my goal.
Thank you very much in advance