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


    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 Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          Encrypted Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal
                          Mobile App
                          Form Designer HR
                          Mobile Forms
                          Card Forms Food Offline Forms
                          Assign Forms Photography
                          Mobile Forms Features
                          Translate Forms Real EstateKiosk in Mobile Forms
                          Electronic Forms

                          Notification Emails for Forms Alternatives
                          Holiday Forms Google Forms alternative 
                          Form to PDF Jotform alternative





                                            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

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


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

                                                                                                              • Select a cell range

                                                                                                                To select a cell range using mouse: 1. Click, and drag to select the cells you want. To select a cell range using keyboard: 1. Place the cursor on the desired cell and press Shift + Arrow keys. 2. To select all the filled cells in the data range from ...
                                                                                                              • 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 ...
                                                                                                              • Select multiple cell ranges

                                                                                                                To select multiple cells/ranges: 1. Place the selection on one of the desired cell/range. 2. Press Cmd (Ctrl for Windows) and select the other desired cells/ranges. Multi-selection can be used to apply formats to discontinuous ranges simultaneously, ...
                                                                                                              • Change a cell's background color

                                                                                                                To change the cell color Select the desired cell(s). Choose Fill Color  icon from the default tool bar. Click on the required color. The color is applied to the chosen cell. 
                                                                                                              • 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 ...
                                                                                                                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