DBCS function
Converts half-width (single-byte) letters, digits and katakana to full-width (double-byte) characters. The opposite of ASC.
Available in Excel 2013 and later, Excel for the web (older Japanese versions call it JIS)
Excel 2013 and laterNot in Google Sheets
Syntax
DBCS(text)| Argument | What it means | |
|---|---|---|
text | Required | The text or cell to convert. |
Returns: The text with half-width characters replaced by their full-width forms.
How DBCS works
In Japanese, Chinese and Korean documents, Latin letters and digits are sometimes required in full-width form so they line up with the surrounding characters, for example on official forms, address labels or vertical text. DBCS ("double-byte character set") converts ordinary half-width characters such as A, 7 or - into their full-width twins A, 7, -.
Half-width katakana are converted to full-width katakana as well. Characters that are already full-width, and kanji or hiragana, stay as they are. In Japanese versions of Excel the same function appears under the name JIS. To go back to half-width, use ASC.
Note that full-width text is a different string to Excel: ABC does not equal ABC in a comparison or lookup. Only use DBCS for the final display or export, and keep your working data half-width.
Examples
1Full-width room number for a Japanese form
| A | B | |
|---|---|---|
| 1 | Room | |
| 2 | B-305 | B-305 |
Result: B-305
Each half-width character, including the hyphen, is replaced by its full-width form, which takes the same width as a kanji.
2Half-width katakana to full-width
| A | B | |
|---|---|---|
| 1 | Kana (half-width) | |
| 2 | エクセル | エクセル |
Result: エクセル
Old systems often store katakana in half-width form; DBCS restores the standard full-width characters.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#VALUE! | The argument is an error value from another cell. | Fix the source or wrap in IFERROR. |
Tips
- Full-width digits are text, not numbers. Never use DBCS on values you still need to calculate with.
=EXACT(DBCS(A2),B2)is a quick way to check if B2 is already the full-width version of A2.
Google Sheets
No equivalent for converting to full-width characters (ASC exists for the opposite direction); use SUBSTITUTE or Apps Script.
DBCS in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Hungarian | KBKK |