There is one question I get asked more than almost any other: what is that on your Excel ribbon?
It’s Flip, an add-in I created to keep my favourite custom number formats only a few clicks away. It lets me change how numbers appear without changing the underlying values. Think of flipping a coin: the same value, but a different view.
The reason I built it starts with a small frustration that becomes a big nuisance when you work with lots of reports.
What You'll Learn
- Custom number formats belong to individual workbooks, so they aren’t automatically available in new workbooks.
- Flip saves reusable format entries, each containing up to three number formats.
- Quick access buttons and keyboard shortcuts cycle through saved formats without changing underlying values.
- Flip can also format entire PivotTable fields, Excel table columns, and chart data labels.
Table of Contents
- The problem with Excel’s custom number formats
- Create a reusable number format in Flip
- Cycle through your formats in any workbook
- Assign a keyboard shortcut
- Format PivotTable fields, table columns, and chart labels
- How to get the Flip add-in
The problem with Excel’s custom number formats
I use custom number formats regularly, particularly for accounting and finance reports. For example, I often want negative numbers displayed in brackets, with positive numbers aligned correctly above them.
That alignment needs a little care. A closing bracket takes up space to the right of a negative number. Without an equivalent space after a positive number, the digits don’t line up.
The built-in Number, Currency, and Accounting options don’t give me the exact combination I want. So I have to create a custom format.
Build an accounting-style custom number format
Select the report cells, open the Number Format drop-down on the ribbon, choose More Number Formats, and select Custom.
The format I want is:
#,##0_);(#,##0);- l);* @_)
The four sections, separated by semicolons, control positive numbers, negative numbers, zeros, and text, in that order. Here is how to build them:
- Positive numbers: Start with
#,##0for thousands separators and no decimal places. Add_)to reserve a space equal to the width of a closing bracket. - Negative numbers: Use
(#,##0)to put the number in brackets. - Zeros: Use a hyphen followed by
_), so zeros appear as a dash with the same bracket-width space on the right. - Text: Use
@to display the text and add_)after it. Put an asterisk followed by a space before the@to fill the available space on the left, making the text appear right aligned.
Putting those sections together gives this complete format:
#,##0_);(#,##0);-_);* @_)
Click OK to apply it. The report now has bracketed negatives, aligned positives, dashes for zeros, and text that appears right aligned.
If you want more detail on the individual symbols, Microsoft’s number format code reference is useful.
The worst part: formats belong to the workbook
Creating that format once is manageable. But what if I also want decimal places? Or red negative values? Or numbers displayed in thousands or millions? Each variation needs its own format.
Then I open a new workbook, go back to Format Cells > Custom, and the formats I created aren’t there.
Custom number formats are stored at workbook level, not application level. Creating one doesn’t automatically make it available in every other workbook.
There are partial workarounds involving templates or copying worksheets between workbooks. But they don’t give me the convenient, reusable collection I want. That’s why I created Flip.
Create a reusable number format in Flip
I already have my regular formats saved in the add-in. To show how the setup works, we can create a new entry called Demo.
- Open Flip’s drop-down menu and choose New. This creates an entry called New 1.
- Open the editing menu for that entry, choose the rename option, enter Demo, and click OK.
- New entries appear at the bottom of the list. To move Demo to the top, choose Position, enter 1, and click OK.
- Choose Display in Quick Access to make Demo available in Flip’s quick access section on the ribbon.
That gives us a convenient button. Next, we need to give it some number formats.
Import an existing format from a cell
Each named entry in Flip can hold up to three number formats. There are three ways to define them:
- Edit the number format code manually.
- Import the number format from the selected cell.
- Use the number format dialog box.
For the first format, select a cell containing the custom number format we created earlier. Then open Flip’s menu and choose the option to import from the selected cell.
The format is now saved in the Demo entry, ready to use elsewhere.
Add one-decimal and two-decimal variations
Rather than write the next two formats from scratch, we can copy the first one and adjust it.
- Open Format 1 to edit its code.
- Copy the code with Ctrl+C, then click OK.
- Open Format 2 and paste the code with Ctrl+V.
- Add one decimal place to both the positive and negative number sections, then click OK.
- Open Format 3, paste the original code again, and add two decimal places to the positive and negative sections.
- Click OK to save the third format.
The three saved codes are:
- No decimal places:
#,##0_);(#,##0);-_);* @_) - One decimal place:
#,##0.0_);(#,##0.0);-_);* @_) - Two decimal places:
#,##0.00_);(#,##0.00);-_);* @_)
The zero and text sections stay the same. Only the displayed precision of the positive and negative numbers changes.
Cycle through your formats in any workbook
With Demo configured, I can go to another workbook, select the cells I want to format, and click Demo in Flip’s quick access section.
Each click cycles through the three saved options: no decimal places, one decimal place, and two decimal places.
If an entry isn’t displayed in quick access, select its name from the drop-down list and click the Flip button instead.
You can create as many named entries as you want, each with up to three formats. Your regularly used formats are then only a few clicks away, rather than something you have to recreate in each workbook.
Assign a keyboard shortcut
If you prefer the keyboard, you can assign a shortcut to a quick access position.
- Open Flip’s menu and choose Set Quick Access Shortcuts.
- Enter the quick access position you want to configure. For Demo, which we placed first, enter 1.
- Click OK.
- Enter the shortcut you want to use. In this example, I use Ctrl+Shift+D.
- Click OK again.
Now, with the cells selected, pressing Ctrl+Shift+D cycles through Demo’s three formats. It performs the same action as clicking the quick access button.
Format PivotTable fields, table columns, and chart labels
Flip isn’t limited to ordinary worksheet cells. Its menu includes options to apply formats to PivotTable fields and Excel table columns, and you can toggle those options on or off.
- PivotTable fields: With the relevant option enabled, select a single cell in the value field and apply a Flip format. The format applies to the entire field.
- Excel table columns: With the table column option enabled, select one cell in a column and apply the format to the entire column.
- Chart data labels: Select the chart’s data labels and use Flip to change their number format.
That means the same saved formats can be used across the different places numbers appear in a report, not just in a selected range of cells.
How to get the Flip add-in
So that’s what has been hiding on my Excel ribbon: a reusable collection of number formats, with buttons and shortcuts to switch between them.
Flip is available exclusively to Excel Academy members. The Academy brings together courses, masterclasses, live Q&A, and tools for making your Excel work easier, including Flip.
|


