Written by Allen Wyatt (last updated June 15, 2019)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021
Neil knows how to create custom formats in Excel. He has created a custom format that displays dates exactly as he wants them displayed and he would like this custom format to show up in the Date category (Number tab of the Format Cells dialog) rather than being left in the Custom category. Neil wonders if there is a way to do this.
The short answer is that no, there is no way to do this. The formats that appear in the non-custom categories are hard coded by Excel. The only thing you could do to make the application of the custom formats faster (if that is your goal) is to use a macro that applies the format. The following is an example of a macro that applies a custom format to whatever cells are selected:
Sub MyNumberFormat() Selection.NumberFormat = "_(* #,##0_);_(* (#,##0);_(* ""-""??_);_(@_)" End Sub
You can assign the macro to a shortcut key or to the Quick Access Toolbar, thereby making it very easy to apply.
Note:
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8844) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Excel here: Moving Custom Formats to Number Formatting Categories.
Program Successfully in Excel! This guide will provide you with all the information you need to automate any task in Excel and save time and effort. Learn how to extend Excel's functionality with VBA to create solutions not possible with the standard features. Includes latest information for Excel 2024 and Microsoft 365. Check out Mastering Excel VBA Programming today!
Word provides a much wider range of formatting tools and options than you can find in Excel. One example is when it comes ...
Discover MoreWhen you save a workbook, you expect Excel to remember the formatting you applied in the worksheets in that workbook. If ...
Discover MoreExcel allows you to adjust not only the horizontal alignment of values in a cell, but also the vertical alignment. This ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2019-06-17 12:15:12
Preston
Thanks for this nice tip, Mr. Wyatt!
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments