Removes diacritics from text (for example é to e, ü to u)
=LET(
t, TO_TEXT(text),
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
REGEXREPLACE(
t,
"[ÀÁÂÃÄÅĀĂĄǍȀȂȦẠẢẤẦẨẪẬẮẰẲẴẶ]", "A"
),
"[àáâãäåāăąǎȁȃȧạảấầẩẫậắằẳẵặ]", "a"
),
"[ÇĆĈĊČ]", "C"
),
"[çćĉċč]", "c"
),
"[ÐĎĐ]", "D"
),
"[ðďđ]", "d"
),
"[ÈÉÊËĒĔĖĘĚȄȆẸẺẼẾỀỂỄỆ]", "E"
),
"[èéêëēĕėęěȅȇẹẻẽếềểễệ]", "e"
),
"[ÌÍÎÏĨĪĬĮİǏȈȊỊỈĨ]", "I"
),
"[ìíîïĩīĭįǐȉȋịỉĩ]", "i"
),
"[ÑŃŅŇ]", "N"
),
"[ñńņň]", "n"
),
"[ÒÓÔÕÖØŌŎŐǑȌȎȪȬȮỌỎỐỒỔỖỘỚỜỞỠỢ]", "O"
),
"[òóôõöøōŏőǒȍȏȫȭȯọỏốồổỗộớờởỡợ]", "o"
),
"[ŠŚŜŞ]", "S"
),
"[šśŝş]", "s"
),
"[ÙÚÛÜŨŪŬŮŰŲǓȔȖỤỦỨỪỬỮỰ]", "U"
),
"[ùúûüũūŭůűųǔȕȗụủứừửữự]", "u"
),
"[ÝŸŶỲỴỶỸ]", "Y"
),
"[ýÿŷỳỵỷỹ]", "y"
),
"[ŽŹŻ]", "Z"
),
"[žźż]", "z"
),
"[Æ]", "AE"
),
"[æ]", "ae"
),
"[Œ]", "OE"
),
"[œ]", "oe"
)
)This function removes diacritics (accent marks) from text so characters like "é", "ñ", and "ü" become "e", "n", and "u". It's useful for normalizing names and titles, improving search and matching, and reducing duplicates caused by accented vs non-accented spellings. For example, if A2 contains "Beyoncé résumé über jalapeño", then =REMOVE_DIACRITICS(A2) returns "Beyonce resume uber jalapeno".
Use the inputs below to create REMOVE_DIACRITICS as a reusable custom function in Google Sheets.
Learn how to add custom functions to Google SheetsREMOVE_DIACRITICS
Removes diacritics from text (for example é to e, ü to u)
=LET( t, TO_TEXT(text), REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( REGEXREPLACE( t, "[ÀÁÂÃÄÅĀĂĄǍȀȂȦẠẢẤẦẨẪẬẮẰẲẴẶ]", "A" ), "[àáâãäåāăąǎȁȃȧạảấầẩẫậắằẳẵặ]", "a" ), "[ÇĆĈĊČ]", "C" ), "[çćĉċč]", "c" ), "[ÐĎĐ]", "D" ), "[ðďđ]", "d" ), "[ÈÉÊËĒĔĖĘĚȄȆẸẺẼẾỀỂỄỆ]", "E" ), "[èéêëēĕėęěȅȇẹẻẽếềểễệ]", "e" ), "[ÌÍÎÏĨĪĬĮİǏȈȊỊỈĨ]", "I" ), "[ìíîïĩīĭįǐȉȋịỉĩ]", "i" ), "[ÑŃŅŇ]", "N" ), "[ñńņň]", "n" ), "[ÒÓÔÕÖØŌŎŐǑȌȎȪȬȮỌỎỐỒỔỖỘỚỜỞỠỢ]", "O" ), "[òóôõöøōŏőǒȍȏȫȭȯọỏốồổỗộớờởỡợ]", "o" ), "[ŠŚŜŞ]", "S" ), "[šśŝş]", "s" ), "[ÙÚÛÜŨŪŬŮŰŲǓȔȖỤỦỨỪỬỮỰ]", "U" ), "[ùúûüũūŭůűųǔȕȗụủứừửữự]", "u" ), "[ÝŸŶỲỴỶỸ]", "Y" ), "[ýÿŷỳỵỷỹ]", "y" ), "[ŽŹŻ]", "Z" ), "[žźż]", "z" ), "[Æ]", "AE" ), "[æ]", "ae" ), "[Œ]", "OE" ), "[œ]", "oe" ) )
text
Text to normalize by removing diacritics
A2
Other functions in the same category: Text Manipulation & Formatting
Return uppercase initials from a name or phrase
Normalize whitespace without altering punctuation or letter casing
Removes HTML tags and decodes a few common HTML entities
Extracts text between two delimiters
Returns the Levenshtein edit distance between two text values
Lowercases text, trims it, removes punctuation, and collapses whitespace
Named functions enable the creation of custom, reusable formulas that mimic built-in functions, streamlining calculations and data manipulations. These functions simplify complex formulas, making spreadsheets more readable and less prone to errors. By encapsulating intricate logic within a single function call, they enhance consistency across your data. Utilizing named functions reduces the need to write lengthy formulas repeatedly, thereby improving workflow efficiency and productivity in data analysis and management.
Download and import — fastest way to add the function but does not include argument descriptions and examples
Follow these simple steps to download and import a function into your spreadsheet. This method is the quickest and easiest way to add the named function to your Google Sheets document, but will not include the argument description and examples.
Once added, the function will be ready to use in your document like any other built-in function. Simply type the function name and provide the required inputs to use it in your calculations.
Copy and paste — copy and paste each property one at a time
Follow these simple steps to integrate a custom named function into your spreadsheet:
Once added, the function will be ready to use in your document like any other built-in function. Simply type the function name and provide the required inputs to use it in your calculations.