Copy cell formatting
Select the cell with the formatting you want to copy.
Select Home > Format Painter.
Drag to select the cell or range you want to apply the formatting to.
Release the mouse button and the formatting should now be applied.
Tip: You can also copy cell formatting by pointing your mouse at the edge of a selected cell whose format you want to copy, holding down the right mouse button, dragging to the cell or range you want to format, releasing the mouse button, and selecting Copy here as formats only from the context menu that appears. If you're using a single-button mouse or trackpad, on a Mac, you can use Control+click instead of the right-mouse button to drag.