I wasn't aware of that.
The formula uses/calls Excel functions like LEN(), TRIM(), SUBSTITUTE()... In case your Excel is for a non-English language, the functions may have different names. Yes, it is Microsoft wisdom

If so, you need to amend the function names used in your formula accordingly. Functions like SUBSTITUTE() and IF() require a list of arguments separated by a list-separator-character. That is typically a comma or a semicolon depending on locale. You may have to replace the list separator.
Your spreadsheet may require the IF(LEN(TRIM(B5))>0,1,0) rather than LEN(TRIM(B5)). My LibreOffice spreadsheet returns boolean True or False rather than 1 or 0 and I need the IF() variant. On my system: IF(LEN(TRIM(B5))>0;1;0).