CELL function - Zoho Sheet - Help Guide

CELL

Returns information about the address, format, or content of a given cell.

 

Syntax

 

CELL(info_type; cell_ref )

info_type: Text string that determines which information to return. E.g. "WIDTH"

cell_ref: The reference of the cell whose information you want. E.g. A4

 

info_type

Description

COL

CELL() returns the column number of the referenced cell.

ROW

CELL() returns the row number of the referenced cell.

SHEET

CELL() returns the sheet number of the referenced cell.

ADDRESS

CELL() returns the absolute address of the referenced cell as text.

COORD

CELL() returns the complete cell address in Lotus (TM) notation as text.

CONTENTS

CELL() returns the contents of the upper-left most cell in a given range.

TYPE

CELL() returns text that indicates the type of cell contents in the referenced cell.
b (blank) = an empty cell
l (label)   = text, or the result of a formula as text
v (value) = a number, or the result of a formula as a number

WIDTH

CELL() returns the column width of the referenced cell. The unit is the number of zeros (0) that fit into the column in the default font and size.

PREFIX

CELL() returns text that indicates the alignment of the referenced cell.
'  = align left or left-justified
"  = align right
^  = align center

FORMAT

CELL() returns text that indicates the number format in the referenced cell.
,  = number with thousands separator
F = number without thousands separator
C = currency format
S = exponential representation, for example 1.234+E56
P = percentage
In the above formats, the number of decimal places after the decimal separator is given as a number. Example: the number format 1,000.0 returns 1, and the number format 10.000% returns P3.
D1 = MMM-D-YY, MM-D-YY and similar formats
D2 = DD-MM
D3 = MM-YY
D4 = DD-MM-YYYY HH:MM:SS
D5 = MM-DD
D6 = HH:MM:SS AM/PM
D7 = HH:MM AM/PM
D8 = HH:MM:SS
D9 = HH:MM
G   = All other formats
- (minus sign) at the end = number format colors negative values
() (brackets) at the end = number format contains brackets for positive values

COLOR

CELL() returns 1 if the cell has number format to color negative values, and 0 otherwise.

PARENTHESES

CELL() returns 1 if the format code contains an opening bracket '(', and 0 otherwise.

 

Examples  

 

Formula

Result

=CELL("ADDRESS";A2)

$A$2

=CELL("CONTENTS";A2:A4)

500

=CELL("WIDTH";A4)

100


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



Possible Errors

 

Errors

Meaning

#N/A!

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

#NAME!

  • 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.

#VALUE!

  • 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.

#REF!

  • 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


      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          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







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit

                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsFormstack alternativeEncrypted Forms

                              Wufoo alternativeSecure Forms

                              WCAG



                                        Create. Review. Publish.

                                        Write, edit, collaborate on, and publish documents to different content management platforms.

                                        Get Started Now







                                                          You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                              Manage your brands on social media


                                                                • Desk Community Learning Series


                                                                • Digest


                                                                • Functions


                                                                • Meetups


                                                                • Kbase


                                                                • Resources


                                                                • Glossary


                                                                • Desk Marketplace


                                                                • MVP Corner


                                                                • Word of the Day


                                                                • Ask the Experts


                                                                  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 TeamInbox 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

                                                                                                                          • Customize the cell size

                                                                                                                            To customize the cell size: Select the desired range of cells. Tap under the Home menu. From the drop-down, select the desired option, and further input the values for height and width. Alternatively, you can also drag the row/column headers to ...
                                                                                                                          • Hyperlink data in a cell

                                                                                                                            To insert hyperlinks: Choose the desired cell/data. Go to  icon Under the Insert menu, choose Link. Choose the type of link to insert, and enter the URL/cell range/Email ID, respectively. To display a different text on the cell, enter the desired ...
                                                                                                                          • Hyperlink data in a cell

                                                                                                                            To insert hyperlinks: Choose the desired cell or data. Go to the icon Under the Insert menu, choose Link. Choose the type of link to insert, and enter the URL, cell range, or email address respectively. To display a different text on the cell, enter ...
                                                                                                                          • Enter data into cells

                                                                                                                            To edit cells in a spreadsheet: Double tap on the cell you wish to edit or single tap on the desired cell, and use the Edit option in the context menu or the formula bar. This will open the keypad for you to start typing. You can switch between the ...
                                                                                                                          • Editing a cell in Zoho Sheet

                                                                                                                            Click on the cell that you want to edit. From there, you can take the cell to it's edit state by hitting enter, or double clicking the cell.  After the edits are done, you can press enter, and your will be taken to the next line,
                                                                                                                            Wherever you are is as good as
                                                                                                                            your workplace

                                                                                                                              Resources

                                                                                                                              Videos

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



                                                                                                                              eBooks

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



                                                                                                                              Webinars

                                                                                                                              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