Excel中进行使用Code函数返回数字代码的操作技巧
2017-06-15
相关话题
在Excel的使用过程当中,我们有时需要使用CODE函数数字代码,那么具体该如何操作呢?今天,小编就教大家在Excel中进行使用Code函数返回数字代码的操作技巧。
Excel中进行使用Code函数返回数字代码的操作步骤
Excel中返回文字串中第一个字符的数字代码(对应于计算机当前使用的字符集)需要使用到Code函数。

Code函数的使用格式为:CODE(text)。

Code函数中,参数Text为需要得到其第一个字符代码的文本。

如图所示,我们在空白单元格输入测试数据“Alphabet”。

接着,我们在旁边单元格输入公式:=CODE("Alphabet")。

确认公式按下Enter,即可得到”65“(因为CHAR(65)返回A,所以公式“=CODE("Alphabet")”返回65)。
