The ASC function in Google Sheets converts full-width (double-byte) ASCII and katakana characters into their half-width (single-byte) equivalents, which is especially useful when cleaning up text imported from Japanese-language sources. Standard half-width characters are left untouched. Dive into our comprehensive guide to master its application.
Parameters
text: The text containing full-width characters to be converted to half-width.
Step-by-Step Tutorial
-
Using
ASCwith full-width characters:- Example:
=ASC("A123") - Result:
A123(full-width letters and digits converted to half-width)
- Example:
-
Using
ASCwith already half-width text:- Example:
=ASC("Hello") - Result:
Hello(unchanged, since the text is already half-width)
- Example:
Use Cases and Scenarios
- Data Cleanup: Normalize text imported from systems that use full-width characters.
- Localization: Prepare Japanese-language spreadsheet data for consistent formatting.
- Text Standardization: Ensure uniform character widths before performing text comparisons or lookups.
Related Functions
TRIM: Removes leading, trailing, and repeated spaces from text.CLEAN: Removes non-printable characters from text.UNICODE: Returns the decimal Unicode value of the first character of text.
Related Articles
No related articles available for the ASC function.