Add formatting to table cells