← All functions

TEXTBEFORE

Unsupported (not recognized)

Category: Text · Last tested 2026-07-04

Support matrix

EngineDocumentedLive-testedVerdict
Excel Yes Not yet n/a
Google Sheets No Not yet n/a
LibreOffice Calc No Yes (24.2.7.2, 2026-07-04) Unsupported (not recognized)

Discovered quirks

Executed test cases

LibreOffice Calc 24.2.7.2 (tested 2026-07-04)

FormulaDescriptionResultExpectedVerdict
=TEXTBEFORE("a-b-c","-") Text before the first delimiter occurrence #NAME? a Mismatch
=TEXTBEFORE("a-b-c","-",2) instance_num=2 counts to the 2nd delimiter #NAME? a-b Mismatch
=TEXTBEFORE("abc","-") Delimiter not present and no if_not_found -> #N/A #NAME? #N/A Mismatch
=TEXTBEFORE("abc","-","none") Delimiter not present with if_not_found supplied #NAME? none Mismatch
=TEXTBEFORE("a-b-c","-",-1) Negative instance_num counts delimiters from the end #NAME? a-b
-1 means the last delimiter; text before it is 'a-b'
Mismatch

Docs & syntax