{"id":1237,"date":"2018-07-02T17:15:59","date_gmt":"2018-07-02T17:15:59","guid":{"rendered":"http:\/\/officetuts.net\/excel\/?p=1237"},"modified":"2023-11-02T19:15:24","modified_gmt":"2023-11-02T19:15:24","slug":"cell","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/functions\/cell\/","title":{"rendered":"CELL function"},"content":{"rendered":"\n

The CELL function in Excel is a useful tool that allows you to retrieve information about a cell’s formatting, location, or content. It can help you gain insights into various aspects of your spreadsheet, making it a valuable function for both beginners and advanced users.<\/p>\n\n\n\n

Syntax<\/h2>\n\n\n\n

CELL(info_type, reference)<\/strong><\/p>\n\n\n\n

Arguments<\/h2>\n\n\n\n
info_type<\/strong><\/td>The type of information you want to retrieve from the cell. This is a text value enclosed in double quotation marks.<\/td><\/tr>
reference<\/strong><\/td>The cell reference for which you want to get information.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

How to Use<\/h2>\n\n\n\n

The CELL function is used to retrieve information about a specified cell. The info_type<\/strong> argument defines the type of information you want to extract, and the reference<\/strong> argument points to the cell you want to examine.<\/p>\n\n\n\n

Here are some common uses of the CELL function:<\/p>\n\n\n\n

1. Get the Address of a Cell:<\/strong><\/p>\n\n\n\n

=CELL(\"address\", A1)<\/code><\/pre>\n\n\n\n

This formula will return the address of cell A1, which is “$A$1.”<\/p>\n\n\n\n

2. Determine the Format of a Cell:<\/strong><\/p>\n\n\n\n

=CELL(\"format\", B2)<\/code><\/pre>\n\n\n\n

Use this formula to find out the format of cell B2, such as “General,” “Currency,” or “Date.”<\/p>\n\n\n\n

3. Check if a Cell is Empty:<\/strong><\/p>\n\n\n\n

=CELL(\"type\", C3)<\/code><\/pre>\n\n\n\n

It will return “b” if the cell C3 contains a label or formula and “v” if it’s empty.<\/p>\n\n\n\n

4. Retrieve the Sheet Name of a Cell:<\/strong><\/p>\n\n\n\n

=CELL(\"filename\", D4)<\/code><\/pre>\n\n\n\n

This formula will give you the full path to the workbook containing cell D4, which includes the sheet name.<\/p>\n\n\n\n

5. Determine the Width of a Cell:<\/strong><\/p>\n\n\n\n

=CELL(\"width\", E5)<\/code><\/pre>\n\n\n\n

Use this formula to find out the width of cell E5 in characters.<\/p>\n\n\n\n

Remember that the info_type<\/strong> argument should always be enclosed in double quotation marks, and the reference<\/strong> argument should point to the cell you want to inspect.<\/p>\n\n\n\n

Keep in mind that the CELL function can be a valuable tool for understanding and manipulating your Excel data.<\/p>\n","protected":false},"excerpt":{"rendered":"

The CELL function in Excel is a useful tool that allows you to retrieve information about a cell’s formatting, location, or content. It…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[180],"yoast_head":"\nCELL function<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/officetuts.net\/excel\/functions\/cell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CELL function\" \/>\n<meta property=\"og:description\" content=\"The CELL function in Excel is a useful tool that allows you to retrieve information about a cell’s formatting, location, or content. It...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/officetuts.net\/excel\/functions\/cell\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-07-02T17:15:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-02T19:15:24+00:00\" \/>\n<meta name=\"author\" content=\"Tomasz Decker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tomasz Decker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/officetuts.net\/excel\/functions\/cell\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/functions\/cell\/\"},\"author\":{\"name\":\"Tomasz Decker\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"headline\":\"CELL function\",\"datePublished\":\"2018-07-02T17:15:59+00:00\",\"dateModified\":\"2023-11-02T19:15:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/functions\/cell\/\"},\"wordCount\":294,\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"keywords\":[\"done\"],\"articleSection\":[\"functions\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/officetuts.net\/excel\/functions\/cell\/\",\"url\":\"https:\/\/officetuts.net\/excel\/functions\/cell\/\",\"name\":\"CELL function\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#website\"},\"datePublished\":\"2018-07-02T17:15:59+00:00\",\"dateModified\":\"2023-11-02T19:15:24+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/officetuts.net\/excel\/functions\/cell\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/officetuts.net\/excel\/functions\/cell\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/officetuts.net\/excel\/functions\/cell\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/officetuts.net\/excel\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CELL function\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/officetuts.net\/excel\/#website\",\"url\":\"https:\/\/officetuts.net\/excel\/\",\"name\":\"\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/officetuts.net\/excel\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\",\"name\":\"Tomasz Decker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"caption\":\"Tomasz Decker\"},\"logo\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\"},\"description\":\"Spreadsheet and Python enthusiast.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CELL function","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/officetuts.net\/excel\/functions\/cell\/","og_locale":"en_US","og_type":"article","og_title":"CELL function","og_description":"The CELL function in Excel is a useful tool that allows you to retrieve information about a cell’s formatting, location, or content. It...","og_url":"https:\/\/officetuts.net\/excel\/functions\/cell\/","article_published_time":"2018-07-02T17:15:59+00:00","article_modified_time":"2023-11-02T19:15:24+00:00","author":"Tomasz Decker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tomasz Decker","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/officetuts.net\/excel\/functions\/cell\/#article","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/functions\/cell\/"},"author":{"name":"Tomasz Decker","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"headline":"CELL function","datePublished":"2018-07-02T17:15:59+00:00","dateModified":"2023-11-02T19:15:24+00:00","mainEntityOfPage":{"@id":"https:\/\/officetuts.net\/excel\/functions\/cell\/"},"wordCount":294,"publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"keywords":["done"],"articleSection":["functions"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/officetuts.net\/excel\/functions\/cell\/","url":"https:\/\/officetuts.net\/excel\/functions\/cell\/","name":"CELL function","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/#website"},"datePublished":"2018-07-02T17:15:59+00:00","dateModified":"2023-11-02T19:15:24+00:00","breadcrumb":{"@id":"https:\/\/officetuts.net\/excel\/functions\/cell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/officetuts.net\/excel\/functions\/cell\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/officetuts.net\/excel\/functions\/cell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/officetuts.net\/excel\/"},{"@type":"ListItem","position":2,"name":"CELL function"}]},{"@type":"WebSite","@id":"https:\/\/officetuts.net\/excel\/#website","url":"https:\/\/officetuts.net\/excel\/","name":"","description":"","publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/officetuts.net\/excel\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42","name":"Tomasz Decker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","caption":"Tomasz Decker"},"logo":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/"},"description":"Spreadsheet and Python enthusiast."}]}},"_links":{"self":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/1237"}],"collection":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/comments?post=1237"}],"version-history":[{"count":3,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/1237\/revisions"}],"predecessor-version":[{"id":16355,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/1237\/revisions\/16355"}],"wp:attachment":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/media?parent=1237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/categories?post=1237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/tags?post=1237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}