Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You should find the numFmts section somewhere near the top of style.xml, as part of the styleSheet element</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes" ?&gt; &lt;styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"&gt; &lt;numFmts count="3"&gt; &lt;numFmt numFmtId="164" formatCode="[$-414]mmmm\ yyyy;@" /&gt; &lt;numFmt numFmtId="165" formatCode="0.000" /&gt; &lt;numFmt numFmtId="166" formatCode="#,##0.000" /&gt; &lt;/numFmts&gt; </code></pre> <p><strong>EDIT</strong></p> <p>I've been double-checking my xlsx reader code (it's been a long while since I delved into that part of the library); and there are built-in formats. Number format codes (numFmtId) less than 164 are "built-in".</p> <p>The list that I have is incomplete:</p> <pre><code>0 = 'General'; 1 = '0'; 2 = '0.00'; 3 = '#,##0'; 4 = '#,##0.00'; 5 = '$#,##0;\-$#,##0'; 6 = '$#,##0;[Red]\-$#,##0'; 7 = '$#,##0.00;\-$#,##0.00'; 8 = '$#,##0.00;[Red]\-$#,##0.00'; 9 = '0%'; 10 = '0.00%'; 11 = '0.00E+00'; 12 = '# ?/?'; 13 = '# ??/??'; 14 = 'mm-dd-yy'; 15 = 'd-mmm-yy'; 16 = 'd-mmm'; 17 = 'mmm-yy'; 18 = 'h:mm AM/PM'; 19 = 'h:mm:ss AM/PM'; 20 = 'h:mm'; 21 = 'h:mm:ss'; 22 = 'm/d/yy h:mm'; 37 = '#,##0 ;(#,##0)'; 38 = '#,##0 ;[Red](#,##0)'; 39 = '#,##0.00;(#,##0.00)'; 40 = '#,##0.00;[Red](#,##0.00)'; 44 = '_("$"* #,##0.00_);_("$"* \(#,##0.00\);_("$"* "-"??_);_(@_)'; 45 = 'mm:ss'; 46 = '[h]:mm:ss'; 47 = 'mmss.0'; 48 = '##0.0E+0'; 49 = '@'; 27 = '[$-404]e/m/d'; 30 = 'm/d/yy'; 36 = '[$-404]e/m/d'; 50 = '[$-404]e/m/d'; 57 = '[$-404]e/m/d'; 59 = 't0'; 60 = 't0.00'; 61 = 't#,##0'; 62 = 't#,##0.00'; 67 = 't0%'; 68 = 't0.00%'; 69 = 't# ?/?'; 70 = 't# ??/??'; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload