Spanish election table OK first the bad news I don t know of any way to have a sortable wikitable which works correctly and uses colspan at all Now the better news everything else is possible I ve added some examples to the table below To set identical widths you should specify these for the headers either as a value or as a percentage I ve used width 100 as an example for the second and third columns You can change almost any aspect of the cell s appearance I ve used wiki markup for a subtle effect for the header of column six and a red background for something unmissable but a little difficult to read for the header of column seven Finally the quickest way I know of to right align your values is to add align right to the row header I ve done this for the first row of values then set the electoral district field to align left All this is as an example but I hope some of it is useful to you You can find more details at Help Table and Help Sorting and I ll be happy to answer any further queries class wikitable sortable Electoral District width 100 PSOE 04 width 100 PP 2004 PSOE 08 PP 2008 PSOE change style background red PP change align right align left Alicante 42 1 48 9 41 0 52 6 1 1 3 7 Almer a 47 7 44 3 41 2 51 7 6 5 7 4