| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | For what characters to use to construct your custom format click here WARNING: NOT ALL FORMATTING CHARACTERS ARE ACCEPTED - apparently the spreadsheet format uses a different library than the TEXT function! - | 123-button formats | User defined formats created with crosshatches (#) appear to be unreliable! | 123-button formats | December | |||||||||||||||||||||||||||
2 | 2 | |||||||||||||||||||||||||||||||
3 | Format used | Custom formatted | Comment | TEXT function formatted result | Name | formatted data | Format | Custom format if different | Issues | 6:06:29 PM | h:mm:ss a | ~ | 000000000000000010000000 | 8 | 12:34:56.000 | 1/1/2010 0:00:00 | 1900-01-02 00:00:00 | 2025-10-26 18:06:29.238 Z | 1.500000000000E+000 | |||||||||||||
4 | 0.0000 | 0.12346 | four decimals | 0.1235 | Normal | 12,345.123456789 | #,##0.############### | October 26 | MMMM d | 000000000010000000100000 | 12/24/2009 0:00:00 | 1900-01-03 00:00:00 | 2025-10-26 18:06:29.238 V | 15.000000000000E+000 | ||||||||||||||||||
5 | eeee, yyyy-MM-dd | Sunday, 2025-10-26 | Day of the week plus date | Sunday, 2025-10-26 | 1,000 Rounded | 1,000 | #,##0 | 10/26/25 | M/d/yy | 12/25/2009 0:00:00 | 1900-01-04 00:00:00 | 2025-10-26 18:06:29.238 Z | 150.000000000000E+000 | |||||||||||||||||||
6 | yyyy G | 2025 | Year and Era | 2025 | 1,000.12 2 Decimals | 1,000.12 | #,##0.00 | October 26, 2025 | MMMM d, yyyy | 48:33 | 12/26/2009 0:00:00 | 1900-01-05 00:00:00 | 12/30/1899 1:30:00 | 1.500000000000E+003 | ||||||||||||||||||
7 | [h]:mm:ss.SSS | 2226:06:29.238 | Hours (>24), minutes, seconds and milliseconds | [6]:06:29.238 | (1,000) Financial Rounded | (1,000) | #,##0;(#,##0) | 4/3/1897 21:01:25 | 10/26/2025 18:06:29 | M/d/yyyy H:mm:ss | 12/27/2009 0:00:00 | 1900-01-06 00:00:00 | 1/12/1900 22:49:48 | 15.000000000000E+003 | ||||||||||||||||||
8 | YYYY 'week' w | 2011 week w | Year and week in the year | 2011 week 1 | (1,000.12) Financial | (1,000.12) | #,##0.00;(#,##0.00) | 1102962:06:29 | [h]:mm:ss | 12/28/2009 0:00:00 | 1900-01-07 00:00:00 | 150.000000000000E+003 | ||||||||||||||||||||
9 | '0'.000000000000000E000 | '0'.000012345670000E096 | Scientific format, mantissa range [ 0, 1 ) | 0.123456700000000E107 | 1.03E+03 Scientific | 1.03E+02 | 0.00E+00 | 18:06:29 | H:mm:ss | 12/29/2009 0:00:00 | 1900-01-08 00:00:00 | 1.500000000000E+006 | ||||||||||||||||||||
10 | 0.000000000000000E000 | 1.234567000000000E106 | Scientific format, mantissa range [ 1, 10 ) | 1.234567000000000E106 | $1,000 Currency | $1,000 | #,##0 | ¤#,##0 | Currency symbols appears not to be added to the format, or not to be retrieved | 123,456,789 | #,##,##0;(#,##,##0) | These seem to be no more hard coded! | 12/30/2009 0:00:00 | 1900-01-09 00:00:00 | 15.000000000000E+006 | |||||||||||||||||
11 | *~###############0.00 | ~1234.56 | Padded number, padding character used: ~ | ~1234.56 | $1,000.12 Currency | $1,000.12 | #,##0.00 | ¤#,##0.00 | Currency symbols appears not to be added to the format, or not to be retrieved | (123,456,789) | #,##0;(#,##0) | These seem to be no more hard coded! | 12/31/2009 0:00:00 | 1900-01-10 00:00:00 | 150.000000000000E+006 | |||||||||||||||||
12 | kk:mm:ss.SSS | kk:00:00.999 | Just after midnight, 1-24 hours clock | kk:00:01.001 | 123.457 | #,##0.000;(#,##0.000) | These seem to be no more hard coded! | 1/1/2010 0:00:00 | 1900-01-11 00:00:00 | 1.500000000000E+009 | ||||||||||||||||||||||
13 | HH:mm:ss.SSS | 00:00:00.999 | Just after midnight, 0-23 hours clock | 00:00:00.999 | 10% Percent rounded | 10% | 0 | 0% | When the format is retrieved it only shows 0 ; but 0% can be set as format | (123.457) | #,##0.000;(#,##0.000) | These seem to be no more hard coded! | 10% | '+'86.12% | 0.86984634 | 1/2/2010 0:00:00 | 1900-01-12 00:00:00 | 15.000000000000E+009 | ||||||||||||||
14 | KK:mm:ss.SSS a | KK:00:00.999 PM | Just after noon, 0-11 hours clock | KK:00:01.001 a | 10.12% Percent | 10.25% | 0.00 | 0.00% | When the format is retrieved it only shows 0.00 ; but 0.00% can be set as format | 1.01E+03 | 0.00E+00 | 1/3/2010 0:00:00 | 1900-01-13 00:00:00 | 150.000000000000E+009 | ||||||||||||||||||
15 | hh:mm:ss.SSS a | 12:00:00.999 PM | Just after noon, 1-12 hours clock | 12:00:00.999 PM | 9/26/2008 Date | 9/26/2008 | M/d/yyyy | www.google.com | 1/4/2010 0:00:00 | 1900-01-14 00:00:00 | 1.500000000000E+012 | |||||||||||||||||||||
16 | 15:59:00 Time | 15:59:00 | H:mm:ss | 5/18/1903 | 1/5/2010 0:00:00 | 1900-01-15 00:00:00 | 15.000000000000E+012 | |||||||||||||||||||||||||
17 | MM-yyyy | 10-2025 | Month and year | 10-2025 | 9/26/2008 15:59:00 Date time | 9/26/2008 15:59:00 | M/d/yyyy H:mm:ss | 1/6/2010 0:00:00 | 1900-01-16 00:00:00 | 150.000000000000E+012 | ||||||||||||||||||||||
18 | MMM-yyyy | Oct-2025 | Month (abbr. name) and year | Oct-2025 | 24:01:00 Hours | 24:01:00 | [h]:mm:ss | Appears to be a special format, not compatible with the TEXT function | 10-2025 | 12-2025 | 1/7/2010 0:00:00 | 1900-01-17 00:00:00 | 1.500000000000E+015 | |||||||||||||||||||
19 | [m]:ss | 150:12 | Time in minutes (>60), seconds | 150:12 | Oct-2025 | Dec-2025 | 1/8/2010 0:00:00 | 1900-01-18 00:00:00 | 15.000000000000E+015 | |||||||||||||||||||||||
20 | u-L-d E F | u-L-26 E F | year, month, day, day name (abbrev.), day # in week | u-L-26 E F | Plain text | 000-555-12345 ABC | @STRING@ | Appears to be a special format, not compatible with the TEXT function | 123,456,789.12 | '€' 1,237.57 | 1238.567 | 12.3% | 26:41 | .23 | 'CHF' 1,234,567,890,123.23 | 1/9/2010 0:00:00 | 1900-01-19 00:00:00 | 150.000000000000E+015 | ||||||||||||||
21 | F | F | day # in week | F45957 | Set hyperlink | http://www.google.com | Appears NOT to be set by a format | -1234567.00 | -1234566 | 1/10/2010 0:00:00 | 1900-01-20 00:00:00 | 1.500000000000E+018 | ||||||||||||||||||||
22 | MMMM | October | Month name | October | More formats | 0,00,000.00 | 123,456,789.12 | Indian Lakh and Crore formats | 123,456,789.12 | '+'1234567.00 | 1234568 | $100 | $3 | $33.3333333333333 | 1/11/2010 0:00:00 | 1900-01-21 00:00:00 | 15.000000000000E+018 | |||||||||||||||
23 | EEEE | Sunday | Day name | #VALUE! | 2008-09-26 Date | 2008-09-26 | yyyy-MM-dd | 10% | 3 | 0.3 | 1/12/2010 0:00:00 | 1900-01-22 00:00:00 | 150.000000000000E+018 | |||||||||||||||||||
24 | m | 10 | Minutes | 10 | 09-26-2008 Date | 09-26-2008 | MM-dd-yyyy | 1/13/2010 0:00:00 | 1900-01-23 00:00:00 | 1.500000000000E+021 | ||||||||||||||||||||||
25 | M | 10 | Month | 10 | 9/26/08 Date | 9/26/08 | M/d/yy | -10 | 123 | 1/14/2010 0:00:00 | 1900-01-24 00:00:00 | 15.000000000000E+021 | ||||||||||||||||||||
26 | s | 29 | Seconds | 29 | 9-26-08 Date | 09-26-08 | MM-dd-yy | 0 | www.google.com | 1/15/2010 0:00:00 | 1900-01-25 00:00:00 | 150.000000000000E+021 | ||||||||||||||||||||
27 | SSS | 45957 | Milliseconds | 029 | 9/26 Date | 9/26 | M/d | 0 | 1/16/2010 0:00:00 | 1900-01-26 00:00:00 | 1.500000000000E+024 | |||||||||||||||||||||
28 | [S] | 10/26/2025 18:06:29 | Date in milliseconds | 3970663589 | 9-26 Date | 09-26 | MM-dd | Sun 10/26/2025 | Sun 10/26/2025 | 1900-01-27 00:00:00 | 15.000000000000E+024 | |||||||||||||||||||||
29 | g | g | Julian day | g45957 | 26 Sep Date | 26-Sep | d-MMM | Mon 10/27/2025 | Mon 10/27/2025 | 1900-01-28 00:00:00 | 150.000000000000E+024 | |||||||||||||||||||||
30 | A | PM | Milliseconds in day | A45957 | 26-Sep-2008 Date | 26-Sep-2008 | d-MMM-yyyy | 1900-01-29 00:00:00 | 1.500000000000E+027 | |||||||||||||||||||||||
31 | z | z | Timezone (INCORRECT or server?) | z45957 | September 26, 2008 Date | September 26, 2008 | MMMM d, yyyy | 1900-01-30 00:00:00 | 15.000000000000E+027 | |||||||||||||||||||||||
32 | Z | Z | Timezone RFC 822 (INCORRECT or server?) | Z45957 | September 26 Date | September 26 | MMMM d | 1900-01-31 00:00:00 | 150.000000000000E+027 | |||||||||||||||||||||||
33 | v | v | Timezone generic (INCORRECT or server?) | v45957 | Sep-26 Date | Sep-26 | MMM-d | 1900-02-01 00:00:00 | 1.500000000000E+030 | |||||||||||||||||||||||
34 | V | V | Timezone local (INCORRECT or server?) | V45957 | 3:59:00 PM Time | 3:59:00 PM | h:mm:ss a | 1900-02-02 00:00:00 | 15.000000000000E+030 | |||||||||||||||||||||||
35 | D | 26 | Day in year | 26 | 3:59 PM Time | 3:59 PM | h:mm a | 123456789.00 | 0 | 30 | 0 | 1900-02-03 00:00:00 | 150.000000000000E+030 | |||||||||||||||||||
36 | Y | 11 | Year - week in year (see: w ) | 2011 | 15:59 Time | 15:59 | H:mm | 1900-02-04 00:00:00 | 1.500000000000E+033 | |||||||||||||||||||||||
37 | w | w | Week - week in year (see: Y ) | w40544 | 1900-02-05 00:00:00 | 15.000000000000E+033 | ||||||||||||||||||||||||||
38 | W | W | Week in month | W45957 | 1900-02-06 00:00:00 | 150.000000000000E+033 | ||||||||||||||||||||||||||
39 | Q | Q | Quarter in year | Q45957 | TRUE | '$'12,345.6789 | 1900-02-07 00:00:00 | 1.500000000000E+036 | ||||||||||||||||||||||||
40 | q | q | Stand alone quarter | q45957 | FALSE | 1900-02-08 00:00:00 | ||||||||||||||||||||||||||
41 | @@@ | 123456 | Significant digits | 123456 | #N/A | 1900-02-09 00:00:00 | ||||||||||||||||||||||||||
42 | #,##,##0.00 | 123,456,789.12 | Indian Lakh and Crore format | 123,456,789.12 | 1900-02-10 00:00:00 | |||||||||||||||||||||||||||
43 | #,##0.000 | 0.123 | Number format, financial, 3 decimal digits | 0.123 | 1900-02-11 00:00:00 | D2000 | ||||||||||||||||||||||||||
44 | #,##0.### | 0.123 | Number format, financial, 3 decimal digits | 0.123 | 0:00:00.999 | 0.00001157407407 | kk:00:00.001 | 1900-02-12 00:00:00 | D2,000 | |||||||||||||||||||||||
45 | #,##0.############### | 0.12345678901235 | Number format, financial, 15 decimal digits | 0.123456789 | 0:00:00.001 | kk:34:56.000 | 1900-02-13 00:00:00 | D2,000 | ||||||||||||||||||||||||
46 | #,##0.############## | 0.12345678901235 | Number format, financial, 14 decimal digits | 0.12345678901235 | 1900-02-14 00:00:00 | |||||||||||||||||||||||||||
47 | #,##0.############# | 0.1234567890124 | Number format, financial, 13 decimal digits | 0.1234567890124 | 1900-02-15 00:00:00 | |||||||||||||||||||||||||||
48 | #,##0.############ | 0.123456789012 | Number format, financial, 12 decimal digits | 0.12345678901235 | 1900-02-16 00:00:00 | |||||||||||||||||||||||||||
49 | #,##0.########### | 0.12345678901 | Number format, financial, 11 decimal digits | 0.12345678901 | 1900-02-17 00:00:00 | |||||||||||||||||||||||||||
50 | #,##0.########## | 0.123456789 | Number format, financial, 10 decimal digits | 0.123456789 | 10000000 | '$' 10,000,000.00 | '$'* #,###,###,###0.00 | 1900-02-18 00:00:00 | ||||||||||||||||||||||||
51 | #,##0.######### | 0.123456789 | Number format, financial, 9 decimal digits | 0.123456789 | 1250000 | '$' 1,250,000.00 | 1900-02-19 00:00:00 | |||||||||||||||||||||||||
52 | #,##0.######## | 0.12345679 | Number format, financial, 8 decimal digits | 0.12345679 | 156250 | '$' 156,250.00 | 1900-02-20 00:00:00 | |||||||||||||||||||||||||
53 | #,##0.####### | 0.1234568 | Number format, financial, 7 decimal digits | 0.1234568 | 19531.25 | '$' 19,531.25 | 1900-02-21 00:00:00 | |||||||||||||||||||||||||
54 | #,##0.###### | 0.123457 | Number format, financial, 6 decimal digits | 0.123457 | 2441.40625 | '$' 2,441.41 | 1900-02-22 00:00:00 | |||||||||||||||||||||||||
55 | #,##0.##### | 0.12346 | Number format, financial, 5 decimal digits | 0.12346 | 305.1757813 | '$' 305.18 | 1900-02-23 00:00:00 | |||||||||||||||||||||||||
56 | #,##0.#### | 0.1235 | Number format, financial, 4 decimal digits | 0.1235 | 38.14697266 | '$' 38.15 | 1900-02-24 00:00:00 | |||||||||||||||||||||||||
57 | #,##0.### | 0.123 | Number format, financial, 3 decimal digits | 0.123 | 4.768371582 | '$' 4.77 | 1900-02-25 00:00:00 | |||||||||||||||||||||||||
58 | #,##0.## | 0.12 | Number format, financial, 2 decimal digits | 0.12 | 1900-02-26 00:00:00 | |||||||||||||||||||||||||||
59 | #,##0.# | 0.1 | Number format, financial, 1 decimal digit | 0.1 | 99,999,999.99 | 1900-02-27 00:00:00 | ||||||||||||||||||||||||||
60 | 0.0 | 0.1 | Number format, 1 decimal digit | 0.1 | 1900-02-28 00:00:00 | |||||||||||||||||||||||||||
61 | 0.00 | 0.12 | Number format, 2 decimal digits | 0.12 | 1900-03-01 00:00:00 | |||||||||||||||||||||||||||
62 | 0.000 | 0.123 | Number format, 3 decimal digits | 0.123 | 1900-03-02 00:00:00 | |||||||||||||||||||||||||||
63 | 0.0000 | 0.1235 | Number format, 4 decimal digits | 0.1235 | 1900-03-03 00:00:00 | |||||||||||||||||||||||||||
64 | 0.00000 | 0.12346 | Number format, 5 decimal digits | 0.12346 | 1900-03-04 00:00:00 | |||||||||||||||||||||||||||
65 | 0.000000 | 0.123457 | Number format, 6 decimal digits | 0.123457 | 1900-03-05 00:00:00 | |||||||||||||||||||||||||||
66 | 0.0000000 | 0.1234568 | Number format, 7 decimal digits | 0.1234568 | 1900-03-06 00:00:00 | |||||||||||||||||||||||||||
67 | 0.00000000 | 0.12345679 | Number format, 8 decimal digits | 0.12345679 | 1900-03-07 00:00:00 | |||||||||||||||||||||||||||
68 | 0.000000000 | 0.123456789 | Number format, 9 decimal digits | 0.123456789 | 1900-03-08 00:00:00 | |||||||||||||||||||||||||||
69 | 0.0000000000 | 0.1234567890 | Number format, 10 decimal digits | 0.1234567890 | 1900-03-09 00:00:00 | |||||||||||||||||||||||||||
70 | 0.00000000000 | 0.12345678901 | Number format, 11 decimal digits | 0.12345678901 | 1900-03-10 00:00:00 | |||||||||||||||||||||||||||
71 | 0.000000000000 | 0.123456789012 | Number format, 12 decimal digits | 0.123456789012 | 1900-03-11 00:00:00 | |||||||||||||||||||||||||||
72 | 0.0000000000000 | 0.1234567890124 | Number format, 13 decimal digits | 0.1234567890124 | 1900-03-12 00:00:00 | |||||||||||||||||||||||||||
73 | 0.00000000000000 | 0.12345678901235 | Number format, 14 decimal digits | 0.12345678901235 | 1900-03-13 00:00:00 | |||||||||||||||||||||||||||
74 | 0.000000000000000 | 0.123456789012350 | Number format, 15 decimal digits | 0.123456789012350 | 1900-03-14 00:00:00 | |||||||||||||||||||||||||||
75 | 0.000% | 12.346% | Percentage with custom number of decimals | 12.346% | 1900-03-15 00:00:00 | |||||||||||||||||||||||||||
76 | #,##,##0.000;(#,##,##0.000) | 123,456,789.123 | Positive and negative formats, customizable | 123,456,789.123 | 1900-03-16 00:00:00 | |||||||||||||||||||||||||||
77 | #,##,##0.000;(#,##,##0.000) | (123,456,789.123) | Positive and negative formats, customizable | (123,456,789.123) | 1900-03-17 00:00:00 | |||||||||||||||||||||||||||
78 | '+'0.##############;-0.############## | '+'12345678 | Positive and negative formats, customizable | +12345678 | 1900-03-18 00:00:00 | |||||||||||||||||||||||||||
79 | '+'0.##############;-0.############## | -12345678 | Positive and negative formats, customizable | -12345678 | 1900-03-19 00:00:00 | |||||||||||||||||||||||||||
80 | 0.000‰ | 0.123‰ | Promilla ‰ accepted! | 0.123‰ | 1900-03-20 00:00:00 | |||||||||||||||||||||||||||
81 | 0.000‱ | 0.123‱ | Per 10000 NOT accepted | 0.123‱ | 1900-03-21 00:00:00 | |||||||||||||||||||||||||||
82 | ¤0.00 | ¤123.45 | Currency symbol ¤ accepted! Uses locale setting | ¤123.45 | 1900-03-22 00:00:00 | |||||||||||||||||||||||||||
83 | ¤¤0.00 | ¤¤123.45 | Currency symbol ¤ accepted! Uses locale setting | ¤¤123.45 | 1900-03-23 00:00:00 | |||||||||||||||||||||||||||
84 | ¤¤¤0.00 | ¤¤¤123.45 | Currency symbol ¤ accepted! Uses locale setting | ¤¤¤123.45 | 1900-03-24 00:00:00 | |||||||||||||||||||||||||||
85 | '¥€$' 0.000 | '¥€$' 123456.789 | Fictional currencies (e.g. Yen-Euro-Dollar, 'YES') | ¥€$ 123456.789 | 1900-03-25 00:00:00 | |||||||||||||||||||||||||||
86 | ##0.##E+000 'l' | 30E-003 'l' | Scientific format for ..., kiloliters, liters, ml, µl, ... | 30E-003 l | 1900-03-26 00:00:00 | |||||||||||||||||||||||||||
87 | ##0.##E+000 'l' | 329E-006 'l' | Scientific format for ..., kiloliters, liters, ml, µl, ... | 329E-006 l | 1900-03-27 00:00:00 | |||||||||||||||||||||||||||
88 | ##0.##E+000 'l' | 3E+003 'l' | Scientific format for ..., kiloliters, liters, ml, µl, ... | 3E+003 l | 1900-03-28 00:00:00 | |||||||||||||||||||||||||||
89 | 1900-03-29 00:00:00 | |||||||||||||||||||||||||||||||
90 | 1900-03-30 00:00:00 | |||||||||||||||||||||||||||||||
91 | 1900-03-31 00:00:00 | |||||||||||||||||||||||||||||||
92 | 1900-04-01 00:00:00 | |||||||||||||||||||||||||||||||
93 | 1900-04-02 00:00:00 | |||||||||||||||||||||||||||||||
94 | 1900-04-03 00:00:00 | |||||||||||||||||||||||||||||||
95 | 1900-04-04 00:00:00 | |||||||||||||||||||||||||||||||
96 | 1900-04-05 00:00:00 | |||||||||||||||||||||||||||||||
97 | 1900-04-06 00:00:00 | |||||||||||||||||||||||||||||||
98 | 1900-04-07 00:00:00 | |||||||||||||||||||||||||||||||
99 | 1900-04-08 00:00:00 | |||||||||||||||||||||||||||||||
100 | 1900-04-09 00:00:00 | |||||||||||||||||||||||||||||||