To simplify this work, we can use the function "AutoFormat Styles …" to automatically apply desired formats to a table or to a selected range of cells.