To apply the accounting number format in Excel, select the cell or range of cells you want to format, right-click and choose "Format Cells." In the Format Cells dialog box, go to the Number tab and select "Accounting" from the Category list. Set the desired options for symbols, decimal places, and negative numbers. Click “OK” to apply the accounting number format to the selected cells.