The formula in Microsoft Excel is not any different than in the Google Sheets. But, I get different results

(left) Microsoft Excel, (right) Google Sheets
The Google Excel formula works; the same Google Sheets formula does not work in the Microsoft Excel one.
How can I fix this? Ignore the Dutch separator ; –
in the English version with the separator , I have the same problem.
D, where the Excel worksheet (the one on the left) is showing “other” in every row. – G-Man Says 'Reinstate Monica' Feb 25 '17 at 16:33