Skip to content

Text by Locale and Host ​

Whether two strings match depends on the locale and on the operating system Excel runs on. Formulon returns each answer under the profile that captured it.

Folding by locale ​

Under the Japanese profiles, SUMIF criteria compare these pairs as follows:

PairJapanese profiles
Hiragana and katakanaSame character
Full-width and half-width formsSame character
Circled and plain digitsSame character
ß / ssSame
ä / aDifferent
Long-vowel mark ー after a kanaFolded into the vowel it extends; the English and German profiles keep it distinct

Mac ja-JP orders the half-width prolonged sound mark ー (U+FF70) and a half-width voicing mark by a rule of their own: "データ"<"データ" is TRUE, and so is the same comparison against テータ, テータ, テー and デー (golden: collation_prolonged_mark). A comparison by code point puts テ (U+FF83) after デ (U+30C7) and answers FALSE.

Mac and Windows disagree ​

Mac and Windows Excel give different answers in the same locale:

FormulaMac ja-JPWindows ja-JP
=MATCH("あ",A1:A3,0) with ア in A11#N/A
=CODE("髙")9538526
=LENB("â")21

CODE and LENB answer from each platform's own legacy character set. On Windows ja-JP, Hangul is the single CP932 byte ?, so CODE("한") is 63 and LENB("한글") is 2.

Two cases do not depend on the platform. A COUNTIF wildcard matches text only, so "12*" skips the number 1213. ASC leaves ヴ as it is, because no single half-width character represents it.

Checked against Excel

The Excel column was captured from a real Excel build. The Formulon column is what the WASM engine in this page returns for the same formula under the same profile.

Powered by the real Formulon engine (WASM) — it runs entirely in your browser, nothing is uploaded.

Character positions ​

Character positions follow the workbook's Compatibility Version, not the profile:

Workbook=LEN("😀")A character outside the BMP in LEN, MID, FIND, SEARCH, REPLACE
Version 2, which every new workbook is1One position
Version 1, including a loaded file that carries no version2Two positions

The Mac ja-JP text goldens record =LEN("😀") as 1 (supp_len_emoji) and =FIND("b","a😀b𐐨c𠀀d") as 3 (supp_find_after_astral) in a version 2 workbook. Versions 1 and 2 were measured on Mac Excel; the Windows side rests on the Windows ja-JP goldens of version 2 workbooks.