Guidance needed on how to light up many lights on one column of max.

No like I'm asking instead of doing maxsingle(columnstate,rowstate) what should I do cuz I have to keep track of the byte