SPARKLINE
Unsupported (not recognized)Category: Google · Last tested 2026-09-01
Real compatibility results for the SPARKLINE function: executed in Excel for the web, Google Sheets and LibreOffice Calc, measured against Google’s published documentation. Excel does not document SPARKLINE, so this page makes no claim about Excel. Syntax and links to that documentation are below.
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel (desktop) | No | n/a (not an Excel function) | n/a |
| Excel for the web | — | Yes (recalc, 2026-09-01) | Unsupported (not recognized) |
| Google Sheets | Yes | Yes (Drive import, 2026-09-01) | Inconclusive (no verdict published) |
| LibreOffice Calc | No | Yes (25.8.7.3, 2026-09-01) | Unsupported (not recognized) |
LibreOffice version history
We executed the same test cases under each LibreOffice release to show exactly when SPARKLINE’s support changed — not documentation claims, real results.
| LibreOffice version | Verdict | Tested |
|---|---|---|
| 24.2.0.3 | Unsupported (not recognized) | 2026-09-01 |
| 24.8.7.2 | Unsupported (not recognized) | 2026-09-01 |
| 25.2.0.3 | Unsupported (not recognized) | 2026-09-01 |
| 25.8.7.3 | Unsupported (not recognized) | 2026-09-01 |
Why isn't SPARKLINE working in LibreOffice?
LibreOffice Calc does not implement SPARKLINE as of 25.8.7.3 — in our
executed tests it returns a #NAME? (unrecognized function) error. This is not a typo or a
settings problem, and saving the file as .xlsx does not change it: the function simply isn’t
available yet.
Watch the LibreOffice version support page —
we re-run every test on each new release, so it will flip to Supported here as soon as it lands.
Looking for sparklines in Calc rather than for the Google Sheets formula? LibreOffice Calc has sparklines as a cell feature, not as a function: the current LibreOffice help documents Insert → Sparkline (“Sparklines are small data charts displayed inside a cell” — help.libreoffice.org, read 2026-09-12). A workbook that draws them that way is not affected by the #NAME? verdict on this page, which is only about the SPARKLINE() formula from Google Sheets. We have not executed a version check for the feature itself, so this page states no “since version” for it.
.xlsx export to carry, and a blank here means this cell holds a picture — not the function returned nothing. Publishing a verdict from it and publishing an empty result from it would be wrong in opposite directions, so the readback is shown as it came and no verdict is drawn.
Every executed case is shown below with exactly what Google returned.
Executed test cases
Excel for the web (executed 2026-09-01 via OneDrive recalculation)
These values come from Excel for the web, not from desktop Excel. They are two different implementations of the calculation engine, and this run measured only the web one: the corpus was uploaded to OneDrive as .xlsx, recalculated by Excel for the web on open, and downloaded again for readback. Excel for the web is a rolling service with no pinnable version, so the run is identified by its date. Where a value here disagrees with the Expected column — which is Microsoft’s documentation of the desktop product — we cannot tell you whether the web engine diverges from the desktop one or the documentation is wrong about both, because we do not run desktop Excel.
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =SPARKLINE(A1:A5) | Existence probe only: SPARKLINE draws a miniature chart inside the cell rather than returning a value, so there is no value to assert | #NAME? | ProvenanceNOT ASSERTABLE BY DESIGN, and deliberately recorded as a probe (expected: null) rather than a support claim -- the treatment batch B gave the CUBE* family and COPILOT, batch C gave DETECTLANGUAGE, and batch G gave RTD, STOCKHISTORY and TRANSLATE. SPARKLINE IS NOT A VALUE FUNCTION AT ALL. Google's description is one sentence and it settles the matter: "Creates a miniature chart contained within a single cell." What the cell holds after evaluation is a DRAWING, not a number or a string, so 'what does it return' has no answer of the kind the rest of this corpus asserts -- the published syntax is `SPARKLINE(data, [options])` and the first Sample Usage is `SPARKLINE(A1:F1)`, of which this case is the column-shaped equivalent over five set cells. A WARNING ABOUT THE READBACK, WRITTEN BEFORE THE FACT SO IT CANNOT BE FORGOTTEN AFTERWARDS. This harness reads results back out of an .xlsx export with openpyxl, which surfaces a cell's cached VALUE. A chart-in-cell has no cached scalar, so a successful evaluation may well read back as an empty cell (None). That blank would mean 'this cell holds a picture', and it must never be published as 'SPARKLINE returned an empty result' or scored as a value at all. This case is expected: null so that no comparison can be made from it in either direction, and any future ingest that records a blank here should carry this sentence with it. LIBREOFFICE, MEASURED BEFORE THIS FILE WAS AUTHORED. All four pinned builds (24.2.0.3, 24.8.7.2, 25.2.0.3, 25.8.7.3) were probed with NINE storage spellings -- plain, _xlfn., COM.MICROSOFT., ORG.OPENOFFICE., _xlfn.ORG.OPENOFFICE., ORG.LIBREOFFICE., _xlfn.ORG.LIBREOFFICE., _xlfn.COM.MICROSOFT. and COM.SUN.STAR.SHEET.ADDIN.ANALYSIS. -- and every one of those 36 combinations returned #NAME?. LibreOffice's own parser additionally wrote the name back into the converted file LOWER-CASED ('=sparkline(A1:A3)'), which is what it does with an identifier it does not recognise as a function at all rather than with a function it knows under a different storage token. A #NAME? under all nine storage forms on all four builds is therefore a genuine absence and not a storage-form artifact of this harness, which is why 'unsupported in LibreOffice' IS a verdict this file publishes even though the returned VALUE is not assertable in any engine. BATCH PROVENANCE (batch J, group B of sheets-lo-only-plan.md -- Google-documented, service- or context-bound; the final batch of the completeness push). This function has x == false in docs/data/compat.json: Microsoft does not document it at all, so this corpus makes no claim about Excel, nothing here is measured against Microsoft's documentation, and the Excel column on the published page reads 'n/a (not an Excel function)' rather than a verdict. The authority is Google's own function help, cited by full URL and by the date it was read (2026-08-31) -- Google publishes no version number for Sheets, so a bare URL dates nothing. GOOGLE SHEETS: this batch builds the Sheets chunk whose ingest will record what the service returns for this call. Until that ingest lands the Sheets column on the published page reads 'Not yet' and nothing in this file claims anything about it. (Stated positively on purpose -- scripts/check_honesty.py bans the blanket negative shape of that sentence, and the guard is worth keeping blunt.) Google's SPARKLINE help page, read live on 2026-08-31 at https://support.google.com/docs/answer/3093289. |
Error |
Google Sheets (executed 2026-09-01 via Drive import)
Google Sheets is a rolling service with no pinnable version, so this run is identified by its date. The corpus was imported to Drive as .xlsx, recalculated by Sheets, and exported back for readback.
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =SPARKLINE(A1:A5) | Existence probe only: SPARKLINE draws a miniature chart inside the cell rather than returning a value, so there is no value to assert | ProvenanceNOT ASSERTABLE BY DESIGN, and deliberately recorded as a probe (expected: null) rather than a support claim -- the treatment batch B gave the CUBE* family and COPILOT, batch C gave DETECTLANGUAGE, and batch G gave RTD, STOCKHISTORY and TRANSLATE. SPARKLINE IS NOT A VALUE FUNCTION AT ALL. Google's description is one sentence and it settles the matter: "Creates a miniature chart contained within a single cell." What the cell holds after evaluation is a DRAWING, not a number or a string, so 'what does it return' has no answer of the kind the rest of this corpus asserts -- the published syntax is `SPARKLINE(data, [options])` and the first Sample Usage is `SPARKLINE(A1:F1)`, of which this case is the column-shaped equivalent over five set cells. A WARNING ABOUT THE READBACK, WRITTEN BEFORE THE FACT SO IT CANNOT BE FORGOTTEN AFTERWARDS. This harness reads results back out of an .xlsx export with openpyxl, which surfaces a cell's cached VALUE. A chart-in-cell has no cached scalar, so a successful evaluation may well read back as an empty cell (None). That blank would mean 'this cell holds a picture', and it must never be published as 'SPARKLINE returned an empty result' or scored as a value at all. This case is expected: null so that no comparison can be made from it in either direction, and any future ingest that records a blank here should carry this sentence with it. LIBREOFFICE, MEASURED BEFORE THIS FILE WAS AUTHORED. All four pinned builds (24.2.0.3, 24.8.7.2, 25.2.0.3, 25.8.7.3) were probed with NINE storage spellings -- plain, _xlfn., COM.MICROSOFT., ORG.OPENOFFICE., _xlfn.ORG.OPENOFFICE., ORG.LIBREOFFICE., _xlfn.ORG.LIBREOFFICE., _xlfn.COM.MICROSOFT. and COM.SUN.STAR.SHEET.ADDIN.ANALYSIS. -- and every one of those 36 combinations returned #NAME?. LibreOffice's own parser additionally wrote the name back into the converted file LOWER-CASED ('=sparkline(A1:A3)'), which is what it does with an identifier it does not recognise as a function at all rather than with a function it knows under a different storage token. A #NAME? under all nine storage forms on all four builds is therefore a genuine absence and not a storage-form artifact of this harness, which is why 'unsupported in LibreOffice' IS a verdict this file publishes even though the returned VALUE is not assertable in any engine. BATCH PROVENANCE (batch J, group B of sheets-lo-only-plan.md -- Google-documented, service- or context-bound; the final batch of the completeness push). This function has x == false in docs/data/compat.json: Microsoft does not document it at all, so this corpus makes no claim about Excel, nothing here is measured against Microsoft's documentation, and the Excel column on the published page reads 'n/a (not an Excel function)' rather than a verdict. The authority is Google's own function help, cited by full URL and by the date it was read (2026-08-31) -- Google publishes no version number for Sheets, so a bare URL dates nothing. GOOGLE SHEETS: this batch builds the Sheets chunk whose ingest will record what the service returns for this call. Until that ingest lands the Sheets column on the published page reads 'Not yet' and nothing in this file claims anything about it. (Stated positively on purpose -- scripts/check_honesty.py bans the blanket negative shape of that sentence, and the guard is worth keeping blunt.) Google's SPARKLINE help page, read live on 2026-08-31 at https://support.google.com/docs/answer/3093289. |
Inconclusive |
LibreOffice Calc 25.8.7.3 (tested 2026-09-01)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =SPARKLINE(A1:A5) | Existence probe only: SPARKLINE draws a miniature chart inside the cell rather than returning a value, so there is no value to assert | #NAME? | ProvenanceNOT ASSERTABLE BY DESIGN, and deliberately recorded as a probe (expected: null) rather than a support claim -- the treatment batch B gave the CUBE* family and COPILOT, batch C gave DETECTLANGUAGE, and batch G gave RTD, STOCKHISTORY and TRANSLATE. SPARKLINE IS NOT A VALUE FUNCTION AT ALL. Google's description is one sentence and it settles the matter: "Creates a miniature chart contained within a single cell." What the cell holds after evaluation is a DRAWING, not a number or a string, so 'what does it return' has no answer of the kind the rest of this corpus asserts -- the published syntax is `SPARKLINE(data, [options])` and the first Sample Usage is `SPARKLINE(A1:F1)`, of which this case is the column-shaped equivalent over five set cells. A WARNING ABOUT THE READBACK, WRITTEN BEFORE THE FACT SO IT CANNOT BE FORGOTTEN AFTERWARDS. This harness reads results back out of an .xlsx export with openpyxl, which surfaces a cell's cached VALUE. A chart-in-cell has no cached scalar, so a successful evaluation may well read back as an empty cell (None). That blank would mean 'this cell holds a picture', and it must never be published as 'SPARKLINE returned an empty result' or scored as a value at all. This case is expected: null so that no comparison can be made from it in either direction, and any future ingest that records a blank here should carry this sentence with it. LIBREOFFICE, MEASURED BEFORE THIS FILE WAS AUTHORED. All four pinned builds (24.2.0.3, 24.8.7.2, 25.2.0.3, 25.8.7.3) were probed with NINE storage spellings -- plain, _xlfn., COM.MICROSOFT., ORG.OPENOFFICE., _xlfn.ORG.OPENOFFICE., ORG.LIBREOFFICE., _xlfn.ORG.LIBREOFFICE., _xlfn.COM.MICROSOFT. and COM.SUN.STAR.SHEET.ADDIN.ANALYSIS. -- and every one of those 36 combinations returned #NAME?. LibreOffice's own parser additionally wrote the name back into the converted file LOWER-CASED ('=sparkline(A1:A3)'), which is what it does with an identifier it does not recognise as a function at all rather than with a function it knows under a different storage token. A #NAME? under all nine storage forms on all four builds is therefore a genuine absence and not a storage-form artifact of this harness, which is why 'unsupported in LibreOffice' IS a verdict this file publishes even though the returned VALUE is not assertable in any engine. BATCH PROVENANCE (batch J, group B of sheets-lo-only-plan.md -- Google-documented, service- or context-bound; the final batch of the completeness push). This function has x == false in docs/data/compat.json: Microsoft does not document it at all, so this corpus makes no claim about Excel, nothing here is measured against Microsoft's documentation, and the Excel column on the published page reads 'n/a (not an Excel function)' rather than a verdict. The authority is Google's own function help, cited by full URL and by the date it was read (2026-08-31) -- Google publishes no version number for Sheets, so a bare URL dates nothing. GOOGLE SHEETS: this batch builds the Sheets chunk whose ingest will record what the service returns for this call. Until that ingest lands the Sheets column on the published page reads 'Not yet' and nothing in this file claims anything about it. (Stated positively on purpose -- scripts/check_honesty.py bans the blanket negative shape of that sentence, and the guard is worth keeping blunt.) Google's SPARKLINE help page, read live on 2026-08-31 at https://support.google.com/docs/answer/3093289. |
Error |
Docs & syntax
- Google Sheets: official documentation
Where SPARKLINE behaves differently
- Google-only functions: what ports to Excel and LibreOffice, and what does not
Executed: 47 functions Google documents and neither Microsoft nor LibreOffice does, 189 cases, 183 of them #NAME? in LibreOffice on all four pinned builds after five- and nine-spelling probes. QUERY and ARRAYFORMULA do not port; the operator functions do exactly; REGEXMATCH, REGEXTEST and REGEX are three different functions with three regex flavours.