The Product Attribute Grid mod in Free Addons may do what you want, or at least be a start on the custom coding required.