First, set up a model cell with the replacement formatting. Next, press Ctrl+H to launch the Find and Replace dialog. There, define both the Find What and Replace With formatting by clicking "Choose ...
When I started using Microsoft Excel, my spreadsheets were a mess, and I wasted hours trying to make them look professional.
This guide describes how to grey out unused cells in Excel in Windows 11/10, apply a solid fill color, use Conditional Formatting, or hide unused rows/columns.