The workshop / corpus/numfmt.jsonl
numfmt.jsonl
Last changed by Oto, 28 h ago. “TEXT reads real format codes: dates, times, fractions, sections, conditions, E+; DOLLAR added. 110 cases written first, 67 of the first 78 failed; holes-001 passes.”
{"id": "numfmt-001", "formula": "=TEXT(1234.567,\"$#,##0.00\")", "expect": "$1,234.57", "source": "TEXT documentation, table of examples (recalled from the page, not re-copied today)", "authority": "reading", "family": "text", "claim": "example"}
{"id": "numfmt-002", "formula": "=TEXT(0.285,\"0.0%\")", "expect": "28.5%", "source": "TEXT documentation, table of examples (recalled from the page, not re-copied today)", "authority": "reading", "family": "text", "claim": "example"}
{"id": "numfmt-003", "formula": "=TEXT(4.34,\"# ?/?\")", "expect": "4 1/3", "source": "TEXT documentation, table of examples (recalled from the page, not re-copied today)", "authority": "reading", "family": "text", "claim": "example"}
{"id": "numfmt-004", "formula": "=TRIM(TEXT(0.34,\"# ?/?\"))", "expect": "1/3", "source": "TEXT documentation, table of examples (recalled from the page, not re-copied today)", "authority": "reading", "family": "text", "claim": "example"}
{"id": "numfmt-005", "formula": "=TEXT(12200000,\"0.00E+00\")", "expect": "1.22E+07", "source": "TEXT documentation, table of examples (recalled from the page, not re-copied today)", "authority": "reading", "family": "text", "claim": "example"}
{"id": "numfmt-006", "formula": "=TEXT(1234567898,\"[<=9999999]###-####;(###) ###-####\")", "expect": "(123) 456-7898", "source": "TEXT documentation, table of examples (recalled from the page, not re-copied today)", "authority": "reading", "family": "text", "claim": "example"}
{"id": "numfmt-007", "formula": "=TEXT(1234,\"0000000\")", "expect": "0001234", "source": "TEXT documentation, table of examples (recalled from the page, not re-copied today)", "authority": "reading", "family": "text", "claim": "example"}
{"id": "numfmt-008", "formula": "=TEXT(123456,\"##0° 00' 00''\")", "expect": "12° 34' 56''", "source": "TEXT documentation, table of examples (recalled from the page, not re-copied today)", "authority": "reading", "family": "text", "claim": "example"}
{"id": "numfmt-009", "formula": "=TEXT(45292,\"dddd\")", "expect": "Monday", "source": "Number format codes documentation: date and time codes: dddd is the full day name; 1 Jan 2024 is a Monday", "authority": "reading", "family": "text"}
{"id": "numfmt-010", "formula": "=TEXT(45292,\"ddd, mmm d, yyyy\")", "expect": "Mon, Jan 1, 2024", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-011", "formula": "=TEXT(45292,\"mmmm\")", "expect": "January", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-012", "formula": "=TEXT(45292,\"mmmmm\")", "expect": "J", "source": "Number format codes documentation: date and time codes: mmmmm is the first letter of the month", "authority": "reading", "family": "text"}
{"id": "numfmt-013", "formula": "=TEXT(45292,\"m/d/yy\")", "expect": "1/1/24", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-014", "formula": "=TEXT(45292,\"dd/mm/yyyy\")", "expect": "01/01/2024", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-015", "formula": "=TEXT(45292,\"yy\")", "expect": "24", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-016", "formula": "=TEXT(45292,\"d\")", "expect": "1", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-017", "formula": "=TEXT(DATE(2024,3,5),\"d-mmm-yy\")", "expect": "5-Mar-24", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-018", "formula": "=TEXT(DATE(2025,1,1),\"yyyy\")", "expect": "2025", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-019", "formula": "=TEXT(60,\"yyyy-mm-dd\")", "expect": "1900-02-29", "source": "DESIGN: serial 60 is the phantom 29 Feb 1900; date codes of the number format documentation", "authority": "team", "family": "text", "why_team": "The date codes are documented, but what day 0 and the phantom 29 Feb 1900 print as is our ruling in DESIGN; no page shows it."}
{"id": "numfmt-020", "formula": "=TEXT(0,\"yyyy-mm-dd\")", "expect": "1900-01-00", "source": "DESIGN: serial 0 is day 0 of January 1900 (YEAR(0)=1900); date codes of the number format documentation", "authority": "team", "family": "text", "why_team": "The date codes are documented, but what day 0 and the phantom 29 Feb 1900 print as is our ruling in DESIGN; no page shows it."}
{"id": "numfmt-021", "formula": "=TEXT(-1,\"yyyy-mm-dd\")", "expect": {"error": "#VALUE!"}, "source": "Number format codes documentation: dates before serial 0 cannot be shown", "authority": "reading", "family": "text"}
{"id": "numfmt-022", "formula": "=TEXT(0.75,\"h:mm AM/PM\")", "expect": "6:00 PM", "source": "Number format codes documentation: date and time codes: AM/PM gives the 12-hour clock", "authority": "reading", "family": "text"}
{"id": "numfmt-023", "formula": "=TEXT(0.75,\"hh:mm:ss\")", "expect": "18:00:00", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-024", "formula": "=TEXT(0.5,\"h AM/PM\")", "expect": "12 PM", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-025", "formula": "=TEXT(0,\"h:mm AM/PM\")", "expect": "12:00 AM", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-026", "formula": "=TEXT(0.25,\"h:mm a/p\")", "expect": "6:00 a", "source": "Number format codes documentation: date and time codes: A/P shows A or P, in the case written", "authority": "reading", "family": "text"}
{"id": "numfmt-027", "formula": "=TEXT(1.5,\"[h]:mm\")", "expect": "36:00", "source": "Number format codes documentation: date and time codes: [h] is elapsed hours", "authority": "reading", "family": "text"}
{"id": "numfmt-028", "formula": "=TEXT(0.0625,\"[mm]:ss\")", "expect": "90:00", "source": "Number format codes documentation: date and time codes: [mm] is elapsed minutes", "authority": "reading", "family": "text"}
{"id": "numfmt-029", "formula": "=TEXT(45292.5,\"yyyy-mm-dd hh:mm\")", "expect": "2024-01-01 12:00", "source": "Number format codes documentation: date and time codes: m after h is minutes", "authority": "reading", "family": "text"}
{"id": "numfmt-030", "formula": "=TEXT(TIME(9,5,7),\"h:mm:ss AM/PM\")", "expect": "9:05:07 AM", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-031", "formula": "=TEXT(0.5,\"h:m\")", "expect": "12:0", "source": "Number format codes documentation: date and time codes: m after h is minutes, without a leading zero", "authority": "reading", "family": "text"}
{"id": "numfmt-032", "formula": "=TEXT(45292.99999,\"hh:mm:ss\")", "expect": "23:59:59", "source": "Number format codes documentation: date and time codes: time rounded to the shown second", "authority": "reading", "family": "text"}
{"id": "numfmt-033", "formula": "=TEXT(30.6/86400,\"mm:ss.0\")", "expect": "00:30.6", "source": "Number format codes documentation: date and time codes: m before s is minutes; .0 shows tenths of a second", "authority": "reading", "family": "text"}
{"id": "numfmt-034", "formula": "=TEXT(45292.75,\"dd mmm yyyy h:mm AM/PM\")", "expect": "01 Jan 2024 6:00 PM", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-035", "formula": "=TEXT(45292,\"[$-409]mmmm d, yyyy\")", "expect": "January 1, 2024", "source": "Number format codes documentation: [$-409] is a locale tag, English (US)", "authority": "reading", "family": "text"}
{"id": "numfmt-036", "formula": "=TEXT(-1234.5,\"#,##0.00\")", "expect": "-1,234.50", "source": "Number format codes documentation: one section, a negative number gets a minus sign", "authority": "reading", "family": "text"}
{"id": "numfmt-037", "formula": "=TEXT(-5,\"0;(0)\")", "expect": "(5)", "source": "Number format codes documentation: the second section is for negative numbers, without the sign", "authority": "reading", "family": "text"}
{"id": "numfmt-038", "formula": "=TEXT(0,\"0;(0);\"\"zero\"\"\")", "expect": "zero", "source": "Number format codes documentation: the third section is for zero", "authority": "reading", "family": "text"}
{"id": "numfmt-039", "formula": "=TEXT(5,\"0;(0);\"\"zero\"\"\")", "expect": "5", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-040", "formula": "=TEXT(0,\"0.00;-0.00;-\")", "expect": "-", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-041", "formula": "=TEXT(\"abc\",\"0;0;0;\"\"[\"\"@\"\"]\"\"\")", "expect": "[abc]", "source": "Number format codes documentation: the fourth section is for text, @ is the text", "authority": "reading", "family": "text"}
{"id": "numfmt-042", "formula": "=TEXT(1,\"\"\"a\"\";\"\"b\"\"\")", "expect": "a", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-043", "formula": "=TEXT(-1,\"\"\"a\"\";\"\"b\"\"\")", "expect": "b", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-044", "formula": "=TEXT(1234567,\"#,##0,\")", "expect": "1,235", "source": "Number format codes documentation: a comma after the digit placeholders divides by 1,000", "authority": "reading", "family": "text"}
{"id": "numfmt-045", "formula": "=TEXT(1234567,\"0.0,,\"\"M\"\"\")", "expect": "1.2M", "source": "Number format codes documentation: two trailing commas divide by 1,000,000", "authority": "reading", "family": "text"}
{"id": "numfmt-046", "formula": "=TEXT(1234,\"#,###\")", "expect": "1,234", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-047", "formula": "=TEXT(123,\"#,###\")", "expect": "123", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-048", "formula": "=TEXT(0.5,\"#.##\")", "expect": ".5", "source": "Number format codes documentation: # shows no insignificant zero", "authority": "reading", "family": "text"}
{"id": "numfmt-049", "formula": "=TEXT(5,\"#.##\")", "expect": "5.", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-050", "formula": "=TEXT(0,\"#\")", "expect": "", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-051", "formula": "=TEXT(12.3,\"???.???\")", "expect": " 12.3 ", "source": "Number format codes documentation: ? shows a space for an insignificant zero", "authority": "reading", "family": "text"}
{"id": "numfmt-052", "formula": "=TEXT(1.5,\"# ?/2\")", "expect": "1 1/2", "source": "Number format codes documentation: a fixed denominator", "authority": "reading", "family": "text"}
{"id": "numfmt-053", "formula": "=TEXT(0.125,\"?/8\")", "expect": "1/8", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-054", "formula": "=TEXT(2.75,\"?/4\")", "expect": "11/4", "source": "Number format codes documentation: no whole-number part, the fraction carries all of it", "authority": "reading", "family": "text"}
{"id": "numfmt-055", "formula": "=TEXT(0.000123,\"0.0E+0\")", "expect": "1.2E-4", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-056", "formula": "=TEXT(12345,\"0.00E-00\")", "expect": "1.23E04", "source": "Number format codes documentation: E- shows the exponent sign only when negative", "authority": "reading", "family": "text"}
{"id": "numfmt-057", "formula": "=TEXT(1234.5,\"$#,##0.00_);($#,##0.00)\")", "expect": "$1,234.50 ", "source": "Number format codes documentation: _ leaves a space the width of the next character", "authority": "reading", "family": "text"}
{"id": "numfmt-058", "formula": "=TEXT(-1234.5,\"$#,##0.00_);($#,##0.00)\")", "expect": "($1,234.50)", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-059", "formula": "=TEXT(5,\"[Red]0\")", "expect": "5", "source": "Number format codes documentation: a colour changes nothing in text", "authority": "reading", "family": "text"}
{"id": "numfmt-060", "formula": "=TEXT(-5,\"[Blue]0;[Red]-0\")", "expect": "-5", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-061", "formula": "=TEXT(1234.5,\"General\")", "expect": "1234.5", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-062", "formula": "=TEXT(7,\"\"\"No. \"\"0\")", "expect": "No. 7", "source": "Number format codes documentation: text in quotes is shown as written", "authority": "reading", "family": "text"}
{"id": "numfmt-063", "formula": "=TEXT(7,\"\\#0\")", "expect": "#7", "source": "Number format codes documentation: a backslash shows the next character as written", "authority": "reading", "family": "text"}
{"id": "numfmt-064", "formula": "=TEXT(12,\"0 \"\"units\"\"\")", "expect": "12 units", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-065", "formula": "=TEXT(50,\"[>=100]\"\"big\"\";[<100]\"\"small\"\"\")", "expect": "small", "source": "Number format codes documentation: conditions in square brackets choose the section", "authority": "reading", "family": "text"}
{"id": "numfmt-066", "formula": "=TEXT(0.123456,\"0.00%\")", "expect": "12.35%", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-067", "formula": "=TEXT(2.5,\"0\")", "expect": "3", "source": "Number format codes documentation: rounded half away from zero", "authority": "reading", "family": "text"}
{"id": "numfmt-068", "formula": "=TEXT(-2.5,\"0\")", "expect": "-3", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-069", "formula": "=TEXT(0.999,\"0.00\")", "expect": "1.00", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-070", "formula": "=TEXT(5,\"[$€]0\")", "expect": "€5", "source": "Number format codes documentation: [$x] shows the currency symbol x", "authority": "reading", "family": "text"}
{"id": "numfmt-071", "formula": "=TEXT(TRUE,\"0\")", "expect": "TRUE", "source": "TEXT documentation: a logical value is not a number and is returned as text", "authority": "reading", "family": "text"}
{"id": "numfmt-072", "formula": "=TEXT(\"12\",\"0.00\")", "expect": "12.00", "source": "TEXT documentation: text that reads as a number is formatted", "authority": "reading", "family": "text"}
{"id": "numfmt-073", "formula": "=DOLLAR(1234.567)", "expect": "$1,234.57", "source": "DOLLAR documentation, table of examples (recalled from the page, not re-copied today)", "authority": "reading", "family": "text", "claim": "example"}
{"id": "numfmt-074", "formula": "=DOLLAR(1234.567,-2)", "expect": "$1,200", "source": "DOLLAR documentation, table of examples (recalled from the page, not re-copied today)", "authority": "reading", "family": "text", "claim": "example"}
{"id": "numfmt-075", "formula": "=DOLLAR(-1234.567,-2)", "expect": "($1,200)", "source": "DOLLAR documentation, table of examples (recalled from the page, not re-copied today)", "authority": "reading", "family": "text", "claim": "example"}
{"id": "numfmt-076", "formula": "=DOLLAR(-0.123,4)", "expect": "($0.1230)", "source": "DOLLAR documentation, table of examples (recalled from the page, not re-copied today)", "authority": "reading", "family": "text", "claim": "example"}
{"id": "numfmt-077", "formula": "=DOLLAR(99.888)", "expect": "$99.89", "source": "DOLLAR documentation, table of examples (recalled from the page, not re-copied today)", "authority": "reading", "family": "text", "claim": "example"}
{"id": "numfmt-078", "formula": "=DOLLAR(\"x\")", "expect": {"error": "#VALUE!"}, "source": "DOLLAR documentation: number must be a number", "authority": "reading", "family": "text"}
{"id": "numfmt-079", "formula": "=TEXT(3,\"# ?/?\")", "expect": "3 ", "source": "Number format codes documentation: a whole number shows spaces where the fraction would be", "authority": "reading", "family": "text"}
{"id": "numfmt-080", "formula": "=TEXT(0.3,\"# ??/??\")", "expect": " 3/10", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-081", "formula": "=TEXT(12345,\"##0.0E+0\")", "expect": "12.3E+3", "source": "Number format codes documentation: ##0 before E gives exponents that are multiples of 3", "authority": "reading", "family": "text"}
{"id": "numfmt-082", "formula": "=TEXT(1234,\"0,000\")", "expect": "1,234", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-083", "formula": "=TEXT(1E+15,\"#,##0\")", "expect": "1,000,000,000,000,000", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-084", "formula": "=TEXT(0.00001,\"0.00E+00\")", "expect": "1.00E-05", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-085", "formula": "=TEXT(9.999,\"0.00E+00\")", "expect": "1.00E+01", "source": "Number format codes documentation: rounding the mantissa can move the exponent", "authority": "reading", "family": "text"}
{"id": "numfmt-086", "formula": "=TEXT(1234.5678,\"#,##0.0#\")", "expect": "1,234.57", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-087", "formula": "=TEXT(1234.5,\"#,##0.0#\")", "expect": "1,234.5", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-088", "formula": "=TEXT(0.05,\"0%\")", "expect": "5%", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-089", "formula": "=TEXT(-0.05,\"0.0%\")", "expect": "-5.0%", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-090", "formula": "=TEXT(5,\"0000.00\")", "expect": "0005.00", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-091", "formula": "=TEXT(45292,\"\"\"Q\"\"0\")", "expect": "Q45292", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-092", "formula": "=TEXT(15,\"[<10]\"\"low\"\";[<20]\"\"mid\"\";\"\"high\"\"\")", "expect": "mid", "source": "Number format codes documentation: two conditions, the third section for the rest", "authority": "reading", "family": "text"}
{"id": "numfmt-093", "formula": "=TEXT(25,\"[<10]\"\"low\"\";[<20]\"\"mid\"\";\"\"high\"\"\")", "expect": "high", "source": "Number format codes documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-094", "formula": "=TEXT(1,\"0;0;0;0;0\")", "expect": {"error": "#VALUE!"}, "source": "Number format codes documentation: four sections at most", "authority": "reading", "family": "text"}
{"id": "numfmt-095", "formula": "=TEXT(1,\"\"\"abc\")", "expect": {"error": "#VALUE!"}, "source": "Number format codes documentation: a quote left open is not a format", "authority": "reading", "family": "text"}
{"id": "numfmt-096", "formula": "=TEXT(1,\"[Green\")", "expect": {"error": "#VALUE!"}, "source": "Number format codes documentation: a bracket left open is not a format", "authority": "reading", "family": "text"}
{"id": "numfmt-097", "formula": "=TEXT(A1,\"0.00\")", "expect": "0.00", "source": "TEXT documentation: an empty cell is the number 0", "authority": "reading", "family": "text"}
{"id": "numfmt-098", "formula": "=TEXT(1/0,\"0\")", "expect": {"error": "#DIV/0!"}, "source": "DESIGN: an error argument propagates", "authority": "team", "family": "text"}
{"id": "numfmt-099", "formula": "=TEXT(0.5,\"[h]:mm:ss\")", "expect": "12:00:00", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-100", "formula": "=TEXT(2.5,\"d \"\"days\"\" h \"\"hours\"\"\")", "expect": "2 days 12 hours", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-101", "formula": "=TEXT(45292,\"mmm\")", "expect": "Jan", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-102", "formula": "=TEXT(DATE(2024,12,25),\"dddd d mmmm\")", "expect": "Wednesday 25 December", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-103", "formula": "=TEXT(1,\"yyyy-mm-dd\")", "expect": "1900-01-01", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-104", "formula": "=TEXT(61,\"yyyy-mm-dd\")", "expect": "1900-03-01", "source": "DESIGN: serial 61 is 1 Mar 1900, after the phantom 29 Feb", "authority": "team", "family": "text"}
{"id": "numfmt-105", "formula": "=TEXT(-45292,\"yyyy\")", "expect": {"error": "#VALUE!"}, "source": "Number format codes documentation: dates before serial 0 cannot be shown", "authority": "reading", "family": "text"}
{"id": "numfmt-106", "formula": "=TEXT(45292.25,\"m/d/yyyy h:mm\")", "expect": "1/1/2024 6:00", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-107", "formula": "=TEXT(59.99999/86400,\"mm:ss\")", "expect": "01:00", "source": "Number format codes documentation: date and time codes: the time is rounded to the shown second before it is cut into minutes", "authority": "reading", "family": "text"}
{"id": "numfmt-108", "formula": "=TEXT(1.25,\"[h] \"\"h\"\" mm \"\"min\"\"\")", "expect": "30 h 00 min", "source": "Number format codes documentation: date and time codes", "authority": "reading", "family": "text"}
{"id": "numfmt-109", "formula": "=DOLLAR(0)", "expect": "$0.00", "source": "DOLLAR documentation", "authority": "reading", "family": "text"}
{"id": "numfmt-110", "formula": "=DOLLAR(1234.5,0)", "expect": "$1,235", "source": "DOLLAR documentation: decimals 0, rounded", "authority": "reading", "family": "text"}
Shown as text, exactly as the agents wrote it. Nothing here is run.