Skip to main content

CODE

Definition

Returns the numeric Unicode map value of the first character in the string provided.

Sample Usage

CODE("a")

CODE(A1)

Syntax

CODE(string)

  • string - The string whose first character's Unicode map value will be returned.

Notes

  • Only the first character in string will be evaluated; others will be ignored.

See Also

CHAR: Convert a number into a character according to the current Unicode table.

In order to use the CODE formula, start with your edited Excellentable:

Then type in the CODE formula in the area you would like to display the outcome:

By adding the values you would like to calculate the CODE formula for, Excellentable will generate the outcome:

 

A
B
1
Data
2
A
3
#
4
5
Displays the numeric code for A:
65
6
7
Displays the numeric code for #:
35

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.