Setting parameter based on Excel data after comparing vs list

So, currently I read in all pipes and pull out a parameter and using an if statement assign a dimension. My proof of concept is accepted and given direction.

What my end game is now is I read in an excel file and transpose the list. This gives me different columns but consistent ones where I know where the data will be and in what order. Normally, I would write a while loop setting the variable (in this case a group of variables) equal to the parameter I pulled and compare it against a list (list 3, for example). If the value is greater to go to the next item on the list. Once I am less than or equal to the value I would use that indices location to pull from another list (list 4) and then set a parameter.

I am having trouble doing this with the while node as I can’t find out how to set the operator correctly to compare the list.