The CODE function

Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp


The CODE function <Article <Blog | SumProduct are Excel training experts: financial modeling, strategic data modeling, model audit, planning and strategy, training courses, tips and online knowledge base.

keep in mind javascript is required for full website functionality.

Welcome back to our regular blog of Excel functions from A to Z. Today we look at the CODE function.

The CODE function

If you find it CODE outside, this function can help you. CODE returns a numeric code (excellent dictionary definition) for the first character of a text string. The returned code corresponds to the character set used by your computer.


The CODE The function uses the following syntax to operate:

The CODE The function has the following arguments:

  • text: this is required and represents the text for which you want the code of the first character.

Please, see my example below:


Soon we will continue with our functions from A to Z of Excel. Keep checking: there is a new blog post every other business day.

You can find a full page of feature articles that have been posted here.

Subscribe to our Newsletter

We will not send you SPAM mail. We hate it as much as you.