representation.file.excel_formatSpreadsheet custom number format code that defines how values are displayed. Found in metadata, headers, or as literal strings in spreadsheet data exports. Uses format tokens: # (optional digit), 0 (required digit), comma grouping, percent, date/time codes (yyyy, mm, dd, h, m, s), and optional multi-section syntax (positive;negative;zero;text).
$ finetype infer -i "#,##0.00"
→ representation.file.excel_formatSELECT finetype('#,##0.00');
-- → 'representation.file.excel_format'CAST({col} AS VARCHAR)-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'representation.file.excel_format';{
"$id": "https://meridian.online/schemas/representation.file.excel_format",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Spreadsheet custom number format code that defines how values are displayed. Found in metadata, headers, or as literal strings in spreadsheet data exports. Uses format tokens: # (optional digit), 0 (required digit), comma grouping, percent, date/time codes (yyyy, mm, dd, h, m, s), and optional multi-section syntax (positive;negative;zero;text).",
"examples": [
"#,##0.00",
"$#,##0.00",
"0.00%",
"mm/dd/yyyy",
"h:mm:ss AM/PM",
"0.00E+00"
],
"maxLength": 100,
"minLength": 2,
"pattern": "^[#0.,;\\[\\]$€£¥%EeAaPpMm/dDyYhHsS ?:\"\\-+()<>\\w]*$",
"title": "Excel Number Format String",
"type": "string",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-transform": "CAST({col} AS VARCHAR)"
}#,##0.00$#,##0.000.00%mm/dd/yyyyh:mm:ss AM/PM0.00E+00