Set parameter with sublists

Hello,
I am importing from excel to revit and I need to fill some parameters in the schedule. I need something like that (PrtScr) or similar. Can someone help me?

Where do the figures in your list come from?

What is the relationship from elements to parameter values?

Hello, I managed to change the code to not accumulate too many sublists. Thanks for the support