alternative to 4017 decade counter for iterating over matrix columns
The MM5450 may do what you want.

34 outputs, serial fed, chainable.
 Notionally 3 pins to drive (clock, data, latch) but can be driven with 1 pin if needed. Digikey $4.39/1 This one in DIP-40 but also available in LCC. 

if this does not suit your need you need to provide a more complete description of your requirement. 

Outputs are open drain, ie either on = low or off = float or open circuit.