728x90_weltweit-handeln_smartbrokerplus
728x90_weltweit-handeln_smartbrokerplus
Anzeige


Transparenz: Um diesen Blog kostenlos anbieten zu können, nutzen wir Affiliate-Links. Klickst du darauf und kaufst etwas, bekommen wir eine kleine Vergütung. Der Preis bleibt für dich gleich. Win-Win!

Custom Formatting Excel – Number Format Codes Excel

Cell formatting is one of the most important core functions in Excel, with which we can make the background behind the pure numbers visible. In addition to the usual number formatting such as percent (%), currency (€/$), time (12:30), fractions (1/4) that most people know and have already used in everyday work, there is a whole range more of user-defined cell formatting and number formats that are already prepared in Excel for selection.

Benutzerdefinierte Formatierung Excel

Themenübersicht

Anzeige

But often even these are not enough to display numerical values as required. For example, if you want to display a number of pallets or crates / cartons or other things in Excel in such a way that these numerical values can also be used for calculations, you will of course not find this in the existing user-defined number formatting.

The same applies to the automatic display of negative values (-1000) in a specific color. But that’s exactly why Excel offers the possibility to adapt the cell formatting to your own needs. In our little tutorial we would like to explain what the character sets (# | [] | E+ | % | ?) are all about and how you can use them. You can also find more information about cell formatting in Excel in our tutorial on conditional formatting in Excel.

Custom Formatting Excel – Number Format Codes Excel

Cell formatting is one of the most important core functions in Excel, with which we can make the background behind the pure numbers visible. In addition to the usual number formatting such as percent (%), currency (€/$), time (12:30), fractions (1/4) that most people know and have already used in everyday work, there is a whole range more of user-defined cell formatting and number formats that are already prepared in Excel for selection.

Benutzerdefinierte Formatierung Excel

Themenübersicht

Anzeige

But often even these are not enough to display numerical values as required. For example, if you want to display a number of pallets or crates / cartons or other things in Excel in such a way that these numerical values can also be used for calculations, you will of course not find this in the existing user-defined number formatting.

The same applies to the automatic display of negative values (-1000) in a specific color. But that’s exactly why Excel offers the possibility to adapt the cell formatting to your own needs. In our little tutorial we would like to explain what the character sets (# | [] | E+ | % | ?) are all about and how you can use them. You can also find more information about cell formatting in Excel in our tutorial on conditional formatting in Excel.

What do the characters in custom formatting mean?

Custom formatting in Excel is accessed from the Home tab, then the Number menu section. There is usually the value „Standard“ which contains a number of predefined number formattings that are used most frequently via a drop-down menu. The last item there is „further number formats“ which takes you to the cell formatting area. Here you can set a lot more such as fonts, frames, color highlights.

Via „Additional number formats“ you get to a dialog window in which „User-defined“ is the last item. In the list that is then available for selection, it can be quite confusing what all the rhombuses, square brackets, question marks and semicolons mean and how they can be used.

see fig. (click to enlarge)

benutzerdefinierte formatierung Abb.1

Don’t get confused at this point, because the symbols shown are nothing more than placeholders for specific applications. You can accept it, but you don’t have to. You can also build your own use case from it, or adapt predefined formatting that is in the list (almost) arbitrarily. Below is a table of symbols and what they stand for:

Number format code meaning
# Placeholder for numbers that can be used to limit the number of zeros within a number to the significant number
„“ For inserting text in combination with numbers (e.g. 100 „palettes“)
[] For defining text or numbers in a specific color (e.g. [red], [green], [blue])
= Condition for a numerical value that fulfills a condition (e.g. > than 1,000)
<> Less than and Greater than… (Can be combined with „=“ e.g. >=1000
€, $, £, ¥ Currency formatting determines where the currency symbol appears, and it also determines the style and position of the thousands separator
E+, E-, e+, e- Scientific format for displaying the exponent. Number of zeros or „#“ indicates the number of digits in the exponent. „E-“ or „e-“ (negative exponents) displays a minus sign, and „E+“ and „+“ (positive exponents) displays a plus sign
yy, dd, mm, ss, hh Formatting of time-based numerical values. This can be years, months, days, hours, minutes or seconds, which can be output in different ways (depending on the number of codes used). (Ex. Jan 14, 2022 = dd:mmmm:yyy or Jan 14, 2022 = dd:mm:yy)
? Used to display fractions (e.g. 5.25 = 5 1/4 = #?/?). The hash indicates the place for the whole number, and with ?/? specifies that the decimal places should be displayed as a fraction

What do the characters in custom formatting mean?

Custom formatting in Excel is accessed from the Home tab, then the Number menu section. There is usually the value „Standard“ which contains a number of predefined number formattings that are used most frequently via a drop-down menu. The last item there is „further number formats“ which takes you to the cell formatting area. Here you can set a lot more such as fonts, frames, color highlights.

Via „Additional number formats“ you get to a dialog window in which „User-defined“ is the last item. In the list that is then available for selection, it can be quite confusing what all the rhombuses, square brackets, question marks and semicolons mean and how they can be used.

see fig. (click to enlarge)

benutzerdefinierte formatierung Abb.1

Don’t get confused at this point, because the symbols shown are nothing more than placeholders for specific applications. You can accept it, but you don’t have to. You can also build your own use case from it, or adapt predefined formatting that is in the list (almost) arbitrarily. Below is a table of symbols and what they stand for:

Number format code meaning
# Placeholder for numbers that can be used to limit the number of zeros within a number to the significant number
„“ For inserting text in combination with numbers (e.g. 100 „palettes“)
[] For defining text or numbers in a specific color (e.g. [red], [green], [blue])
= Condition for a numerical value that fulfills a condition (e.g. > than 1,000)
<> Less than and Greater than… (Can be combined with „=“ e.g. >=1000
€, $, £, ¥ Currency formatting determines where the currency symbol appears, and it also determines the style and position of the thousands separator
E+, E-, e+, e- Scientific format for displaying the exponent. Number of zeros or „#“ indicates the number of digits in the exponent. „E-“ or „e-“ (negative exponents) displays a minus sign, and „E+“ and „+“ (positive exponents) displays a plus sign
yy, dd, mm, ss, hh Formatting of time-based numerical values. This can be years, months, days, hours, minutes or seconds, which can be output in different ways (depending on the number of codes used). (Ex. Jan 14, 2022 = dd:mmmm:yyy or Jan 14, 2022 = dd:mm:yy)
? Used to display fractions (e.g. 5.25 = 5 1/4 = #?/?). The hash indicates the place for the whole number, and with ?/? specifies that the decimal places should be displayed as a fraction

Application examples of custom formatting

As already shown in the table, the numbers can be displayed as currency, fraction, and / or different decimal places and colors using the user-defined formatting in Excel. Times and dates can also be adjusted to the extent that Excel can calculate them. We have created an example table with different formatting, which we would like to use to explain some of the possibilities.

Note: This sample table can also be downloaded here for free >>>

In our table, we focus on a list of various current item stocks, as well as the reorder, minimum, and maximum stock levels of each item. In addition, the current acquisition prices, the maximum justifiable purchase prices, as well as sales prices per unit and the resulting positive and negative (loss) profit margins per unit.

The numbers in the „Current stock“ column should be formatted in such a way that they automatically appear in red if the stock exceeds the maximum stock or falls below the minimum stock, and otherwise in blue font. In addition, there should not only be the pure number, but the additional information „piece“ after the number. So that this works, let’s take a look at the first row of the table:

The stock is currently 71 pieces, the minimum stock is 25 pieces and the maximum stock is 70 pieces. The maximum stock has thus been exceeded and the number is displayed in red. To do this, we used the following custom formatting:

see fig. (click to enlarge)

[Red][>70] 0 „pieces“;[Red][<=25] 0 „pieces“;[Blue] 0 „pieces“

benutzerdefinierte formatierung Abb.2

Let’s break down our formatting into its individual parts for a better understanding:

1. [Red][>70] 0 „Piece“ = The color value of the number is specified in the square brackets at the beginning, and in the second square bracket behind it we specify a condition for when this should be the case. Here the number should appear in red if the number is greater than 70. Next, we didn’t just want to have the pure number there, but the information „piece“. You can put text both before and after a number. So that Excel can calculate with it, you must ALWAYS put the text in „“!

2.;[Red][<=25] 0 „piece“ = The first character we see is a semicolon. This is how we separate the sections within our conditional formatting code. You can use up to four sections within a format code, but you must always ensure that they are separated from one another with a semicolon so that the formatting works. So first we specify the color again, and then we specify the argument that this should be on condition that the number is less than or equal to 25.

3.;[Blue] 0 „Piece“ = In the last section of our formatting, we specify that if none of the arguments mentioned above applies, the font should be blue, and of course our additional text „Piece“. If we left out the third section completely, Excel would only output the pure number in the default font color.

Note: In the screenshot above, you will have noticed that when you select cell C4, which says „71 pieces“, this information is not reflected in the formula bar. There is only the number 71. This is because by adding text in „“ Excel can ignore this text and only look at the number. If we were to simply write 71 pieces into the cell without displaying this using formatting, Excel would treat the content of the cell as text. And you can’t calculate with text!

We hope that our little tutorial has given you a little more insight into custom formatting in Excel. And again, don’t be fooled by all the special characters that are already in the formatting options. You can use them, but you don’t have to. Now that you know what the characters mean, you can easily create your own custom formatting in Excel.

Tip: You can also find out more about cell formatting options in our tutorial on conditional formatting in Excel.
You can download the table that we used for this tutorial for free and try it out a bit.

Blogverzeichnis Bloggerei.de

Application examples of custom formatting

As already shown in the table, the numbers can be displayed as currency, fraction, and / or different decimal places and colors using the user-defined formatting in Excel. Times and dates can also be adjusted to the extent that Excel can calculate them. We have created an example table with different formatting, which we would like to use to explain some of the possibilities.

Note: This sample table can also be downloaded here for free >>>

In our table, we focus on a list of various current item stocks, as well as the reorder, minimum, and maximum stock levels of each item. In addition, the current acquisition prices, the maximum justifiable purchase prices, as well as sales prices per unit and the resulting positive and negative (loss) profit margins per unit.

The numbers in the „Current stock“ column should be formatted in such a way that they automatically appear in red if the stock exceeds the maximum stock or falls below the minimum stock, and otherwise in blue font. In addition, there should not only be the pure number, but the additional information „piece“ after the number. So that this works, let’s take a look at the first row of the table:

The stock is currently 71 pieces, the minimum stock is 25 pieces and the maximum stock is 70 pieces. The maximum stock has thus been exceeded and the number is displayed in red. To do this, we used the following custom formatting:

see fig. (click to enlarge)

[Red][>70] 0 „pieces“;[Red][<=25] 0 „pieces“;[Blue] 0 „pieces“

benutzerdefinierte formatierung Abb.2

Let’s break down our formatting into its individual parts for a better understanding:

1. [Red][>70] 0 „Piece“ = The color value of the number is specified in the square brackets at the beginning, and in the second square bracket behind it we specify a condition for when this should be the case. Here the number should appear in red if the number is greater than 70. Next, we didn’t just want to have the pure number there, but the information „piece“. You can put text both before and after a number. So that Excel can calculate with it, you must ALWAYS put the text in „“!

2.;[Red][<=25] 0 „piece“ = The first character we see is a semicolon. This is how we separate the sections within our conditional formatting code. You can use up to four sections within a format code, but you must always ensure that they are separated from one another with a semicolon so that the formatting works. So first we specify the color again, and then we specify the argument that this should be on condition that the number is less than or equal to 25.

3.;[Blue] 0 „Piece“ = In the last section of our formatting, we specify that if none of the arguments mentioned above applies, the font should be blue, and of course our additional text „Piece“. If we left out the third section completely, Excel would only output the pure number in the default font color.

Note: In the screenshot above, you will have noticed that when you select cell C4, which says „71 pieces“, this information is not reflected in the formula bar. There is only the number 71. This is because by adding text in „“ Excel can ignore this text and only look at the number. If we were to simply write 71 pieces into the cell without displaying this using formatting, Excel would treat the content of the cell as text. And you can’t calculate with text!

We hope that our little tutorial has given you a little more insight into custom formatting in Excel. And again, don’t be fooled by all the special characters that are already in the formatting options. You can use them, but you don’t have to. Now that you know what the characters mean, you can easily create your own custom formatting in Excel.

Tip: You can also find out more about cell formatting options in our tutorial on conditional formatting in Excel.
You can download the table that we used for this tutorial for free and try it out a bit.

Blogverzeichnis Bloggerei.de

Suche nach:

Über den Autor:

Michael W. Suhr | Baujahr 1974Dipl. Betriebswirt | Webdesign- und Beratung | Office Training
Nach 20 Jahren in der Logistik habe ich mein Hobby welches mich seit Mitte der 1980er Jahre begleitet zum Beruf gemacht, und bin seit Anfang 2015 als Freelancer im Bereich Webdesign, Webberatung und Microsoft Office tätig. Nebenbei schreibe ich soweit es die Zeit zulässt noch Artikel für mehr digitale Kompetenz in meinem Blog.
Transparenz: Um diesen Blog kostenlos anbieten zu können, nutzen wir Affiliate-Links. Klickst du darauf und kaufst etwas, bekommen wir eine kleine Vergütung. Der Preis bleibt für dich gleich. Win-Win!

Artikelsuche nach Kategorie:

Suche nach:

Über den Autor:

Michael W. Suhr | Baujahr 1974Dipl. Betriebswirt | Webdesign- und Beratung | Office Training
Nach 20 Jahren in der Logistik habe ich mein Hobby welches mich seit Mitte der 1980er Jahre begleitet zum Beruf gemacht, und bin seit Anfang 2015 als Freelancer im Bereich Webdesign, Webberatung und Microsoft Office tätig. Nebenbei schreibe ich soweit es die Zeit zulässt noch Artikel für mehr digitale Kompetenz in meinem Blog.
Transparenz: Um diesen Blog kostenlos anbieten zu können, nutzen wir Affiliate-Links. Klickst du darauf und kaufst etwas, bekommen wir eine kleine Vergütung. Der Preis bleibt für dich gleich. Win-Win!

Artikelsuche nach Kategorie:

Popular Posts:

1803, 2026

Erste Hilfe für langsame Browser: So surfen Sie wieder im Turbogang

März 18th, 2026|Kategorien: Shorts & Tutorials, Homeoffice|Schlagwörter: , |

Ein langsamer Browser nervt. Doch Ladezeiten aus der Hölle lassen sich stoppen! Befreien Sie Chrome, Firefox und Edge von Datenmüll. Und wenn das nicht hilft? Entdecken Sie, wie Router, Ihr Netzanbieter oder Server-Probleme Ihre Surfgeschwindigkeit heimlich ausbremsen.

1803, 2026

WLAN-Signal verbessern: So kommt das Internet in jeden Raum

März 18th, 2026|Kategorien: Shorts & Tutorials, Datenschutz, Hardware, Homeoffice|Schlagwörter: , |

Langsames Internet und Verbindungsabbrüche im Zuhause sind frustrierend. Dieser Ratgeber zeigt Ihnen Schritt für Schritt, wie Sie Ihr WLAN-Signal verbessern. Erfahren Sie alles über die optimale Router-Positionierung, Funkkanäle und zukunftssichere Mesh-Systeme.

1503, 2026

Papierkorb geleert? Gelöschte Dateien wiederherstellen

März 15th, 2026|Kategorien: Shorts & Tutorials, Datenschutz, Hardware, Homeoffice, Software|Schlagwörter: , , |

Ein falscher Klick und wichtige Dateien sind weg – selbst aus dem Papierkorb. Oft sind die Daten jedoch noch nicht physisch gelöscht. Lesen Sie, warum Sie sofort alle Schreibvorgänge stoppen sollten und wie Sie Ihre Dokumente mit den richtigen Tools wiederherstellen.

1503, 2026

WLAN-Passwort vergessen? So findest du es in wenigen Minuten wieder

März 15th, 2026|Kategorien: Shorts & Tutorials, Android / iOS, Datenschutz, Hardware, Homeoffice|Schlagwörter: , |

Sie haben Ihr WLAN-Passwort vergessen und kommen nicht mehr ins Internet? Keine Panik! In diesem ausführlichen Ratgeber zeigen wir Ihnen Schritt für Schritt, wie Sie Ihr Kennwort auf Windows, macOS, Android und iOS ganz leicht wiederfinden oder den Router zurücksetzen.

1403, 2026

Word-Formatierungen endlich im Griff – Tutorial

März 14th, 2026|Kategorien: Shorts & Tutorials, Homeoffice, Microsoft Office, Software, Word|Schlagwörter: , , |

Verzweifeln Sie nicht an zerschossenen Word-Dokumenten! Dieser Leitfaden zeigt Ihnen, wie Sie hartnäckige Formatierungen löschen, Formatvorlagen richtig nutzen und Steuerzeichen lesen. So sparen Sie Zeit und Nerven bei der Textverarbeitung.

1403, 2026

PDFs gratis bearbeiten, Verkleinern & Zusammenfügen

März 14th, 2026|Kategorien: Shorts & Tutorials, Datenschutz, Homeoffice, Produkttests, Software|Schlagwörter: , |

eure PDF-Abos sind Geschichte! Unser Guide zeigt Ihnen, wie Sie PDF-Dateien völlig kostenlos verwalten. Lernen Sie die besten Offline- und Online-Tools kennen, um Dokumente sicher zu bündeln, für E-Mails zu verkleinern und Texte direkt zu bearbeiten.

Angebote 2025/2026 in: Vorlagen

Popular Posts:

1803, 2026

Erste Hilfe für langsame Browser: So surfen Sie wieder im Turbogang

März 18th, 2026|Kategorien: Shorts & Tutorials, Homeoffice|Schlagwörter: , |

Ein langsamer Browser nervt. Doch Ladezeiten aus der Hölle lassen sich stoppen! Befreien Sie Chrome, Firefox und Edge von Datenmüll. Und wenn das nicht hilft? Entdecken Sie, wie Router, Ihr Netzanbieter oder Server-Probleme Ihre Surfgeschwindigkeit heimlich ausbremsen.

1803, 2026

WLAN-Signal verbessern: So kommt das Internet in jeden Raum

März 18th, 2026|Kategorien: Shorts & Tutorials, Datenschutz, Hardware, Homeoffice|Schlagwörter: , |

Langsames Internet und Verbindungsabbrüche im Zuhause sind frustrierend. Dieser Ratgeber zeigt Ihnen Schritt für Schritt, wie Sie Ihr WLAN-Signal verbessern. Erfahren Sie alles über die optimale Router-Positionierung, Funkkanäle und zukunftssichere Mesh-Systeme.

1503, 2026

Papierkorb geleert? Gelöschte Dateien wiederherstellen

März 15th, 2026|Kategorien: Shorts & Tutorials, Datenschutz, Hardware, Homeoffice, Software|Schlagwörter: , , |

Ein falscher Klick und wichtige Dateien sind weg – selbst aus dem Papierkorb. Oft sind die Daten jedoch noch nicht physisch gelöscht. Lesen Sie, warum Sie sofort alle Schreibvorgänge stoppen sollten und wie Sie Ihre Dokumente mit den richtigen Tools wiederherstellen.

1503, 2026

WLAN-Passwort vergessen? So findest du es in wenigen Minuten wieder

März 15th, 2026|Kategorien: Shorts & Tutorials, Android / iOS, Datenschutz, Hardware, Homeoffice|Schlagwörter: , |

Sie haben Ihr WLAN-Passwort vergessen und kommen nicht mehr ins Internet? Keine Panik! In diesem ausführlichen Ratgeber zeigen wir Ihnen Schritt für Schritt, wie Sie Ihr Kennwort auf Windows, macOS, Android und iOS ganz leicht wiederfinden oder den Router zurücksetzen.

1403, 2026

Word-Formatierungen endlich im Griff – Tutorial

März 14th, 2026|Kategorien: Shorts & Tutorials, Homeoffice, Microsoft Office, Software, Word|Schlagwörter: , , |

Verzweifeln Sie nicht an zerschossenen Word-Dokumenten! Dieser Leitfaden zeigt Ihnen, wie Sie hartnäckige Formatierungen löschen, Formatvorlagen richtig nutzen und Steuerzeichen lesen. So sparen Sie Zeit und Nerven bei der Textverarbeitung.

1403, 2026

PDFs gratis bearbeiten, Verkleinern & Zusammenfügen

März 14th, 2026|Kategorien: Shorts & Tutorials, Datenschutz, Homeoffice, Produkttests, Software|Schlagwörter: , |

eure PDF-Abos sind Geschichte! Unser Guide zeigt Ihnen, wie Sie PDF-Dateien völlig kostenlos verwalten. Lernen Sie die besten Offline- und Online-Tools kennen, um Dokumente sicher zu bündeln, für E-Mails zu verkleinern und Texte direkt zu bearbeiten.

Angebote 2025/2026 in: Vorlagen

2023-06-03T18:09:07+02:00Von |Kategorien: Allgemein|

IHR FINANZ-COCKPIT

Finanz-Cockpit
Ads

Neueste Beiträge:

Alles fürs Büro

Suche nach Kategorie:

Popular Posts:

Search by category:

Herbstangebote 2023

Autumn Specials:

Anzeige
Nach oben