A distinctive 26-unit apartment building in downtown Madison has traded for $14.7 million, brokers with Hudson Atlantic Realty announced Wednesday.