Please note javascript is required for full website functionality.

Blog

A to Z of Excel Functions: the JIS Function

23 August 2021

Welcome back to our regular A to Z of Excel Functions blog.  Today we look at the JIS function.

 

The JIS function

There’s a great trivia question out there that asks, which is the only letter of the alphabet for which there is no Excel function?  Wiser hands than mine say this is “J”.  I say, “it depends”.  If they have Excel 2013 or later, “they” would be right as the JIS function was “retired” in this edition.

The JIS function (such an unfortunate name…) was renamed in Excel 2013 as DCBS (pretty obvious if you think about it – not).  This function returns the text string converted from single byte (SCBS) to double byte (DCBS) characters.

A double-byte character set (DBCS) is a character encoding in which either all characters (including control characters) are encoded in two bytes, or merely every graphic character not representable by an accompanying single-byte character set (SBCS) is encoded in two bytes (Han characters would generally comprise most of these two-byte characters).  A DBCS supports national languages that contain many unique characters or symbols (the maximum number of characters that can be represented with one byte is 256 characters, while two bytes can represent up to 65,536 characters, i.e. 2562).  

Examples of such languages include Japanese and Chinese.  Korean Hangul does not contain as many characters, but KS X 1001 supports both Hangul and Hanja, and uses two bytes per character.

This function converts half-width (single-byte) letters within a character string to full-width (double-byte) characters.  The name of the function (and the characters that it converts) depends upon your language settings.

For Japanese, this function changes half-width (single-byte) English letters or katakana within a character string to full-width (double-byte) characters.

The JIS function employed the following syntax to operate:

JIS(text)

The JIS function had the following argument:

  •  text: this is required and represents the text you wish to convert from single byte to double byte characters.

It should be noted that:

  •   this function was removed in Excel 2013
  • DCBS was introduced in Excel 2013 and has replaced this function
  • this function does not appear in the Function Wizard
  • If text does not contain any half-width characters, then text is not altered
  • this function is used in connection to phonetics and using different types of fonts and languages
  •  you may use the ASC function to convert from double byte characters to single byte characters.

My example is extremely enlightening:

We’ll continue our A to Z of Excel Functions soon.  Keep checking back – there’s a new blog post every business day.

 

A full page of the function articles can be found here

Newsletter