CODE function - Zoho Sheet - Help Guide


Returns the numeric code for the first character in a text string. It's given in the range of 0-255.




text: The text in which you want to obtain the numeric code for the first character. E.g. "Zoho"












Get a hands-on experience of the function in the embedded range below.


Possible Errors





  • The function could not find the value it was asked to look for. Commonly occurs in VLOOKUP and similar functions.


  • The function name is incorrect or invalid.

  • The given defined name (if any) is invalid.

  • There is a typo in the defined name used in the function.

  • Double quotes are missing for text values in the function.

  • Colon missing in a cell range reference.


  • The given argument's data type is incorrect or invalid.
    For example, the function =DATE(A1:A3) will return a #VALUE error when a text value is present in the range.


  • The given cell reference is incorrect or invalid. This error may occur when a cell/range has been deleted, moved, or pasted over.


Similar Functions

  1. CHAR

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now

            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION

                        Still can't find what you're looking for?

                        Write to us:



                          Manage your brands on social media

                              Zoho Marketing Automation

                                Zoho Sheet Resources


                                    Zoho Forms Resources

                                      Secure your business
                                      communication with Zoho Mail

                                      Mail on the move with
                                      Zoho Mail mobile application

                                        Stay on top of your schedule
                                        at all times

                                        Carry your calendar with you
                                        Anytime, anywhere

                                              Zoho Sign Resources

                                                Sign, Paperless!

                                                Sign and send business documents on the go!

                                                Get Started Now

                                                    Zoho SalesIQ Resources

                                                        Zoho TeamInbox Resources

                                                                Zoho DataPrep Resources

                                                                  Zoho DataPrep Demo

                                                                  Get a personalized demo or POC

                                                                  REGISTER NOW

                                                                    Design. Discuss. Deliver.

                                                                    Create visually engaging stories with Zoho Show.

                                                                    Get Started Now

                                                                                          • Related Articles

                                                                                          • CHAR

                                                                                            Returns a single text character, given a character code.   Syntax   CHAR(number) number: The character code, between 1 and 255. E.g. 122   Examples   Formula Result =CHAR(37) % =CHAR(101) e =CHAR(65) A Get a hands-on experience of the function in the ...
                                                                                          • Publish a spreadsheet

                                                                                            How to publish a spreadsheet? 1. Click on the Share button on the right top corner. Alternatively, you can also click on the file menu and select the Publish option to open up the dialog box. 2. From the drop down, click on the Publish button. 3. ...
                                                                                          • Format data in cells

                                                                                            To apply or edit formats: Tap on the cell(s) containing the desired data to be formatted. You can use the Smart Tool Bar at the bottom for quick formats such as Bold, Fill/Text Color, Alignment, and Number Formats. This Smart Tool Bar will show ...
                                                                                          • CLEAN

                                                                                            Removes the non-printable characters from a given text string.   Syntax   CLEAN(text) text: The text from which you want to remove all non-printable characters.   Remarks The CLEAN function removes the first 32 non-printable characters in the 7-bit ...
                                                                                          • CURRENCY

                                                                                            Converts the given value from one currency to another specified currency value.   Syntax   CURRENCY(value; "from"; "to") value: The value to be converted. Eg., 3500 from: The currency from which the value is to be converted. Must be given as a ...
                                                                                          Wherever you are is as good as
                                                                                          your workplace



                                                                                            Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.


                                                                                            Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.


                                                                                            Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.

                                                                                            CRM Tips

                                                                                            Make the most of Zoho CRM with these useful tips.

                                                                                              Zoho Show Resources