{"id":3781,"date":"2018-12-12T20:21:24","date_gmt":"2018-12-12T20:21:24","guid":{"rendered":"http:\/\/officetuts.net\/excel\/?p=3781"},"modified":"2024-03-30T11:12:15","modified_gmt":"2024-03-30T11:12:15","slug":"sheet-formula","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/","title":{"rendered":"Sheet Formula in Excel"},"content":{"rendered":"\n
Sheet-Formula<\/a>Download File<\/a><\/div>\n\n\n\n

SHEET and SHEETS are two new functions that appeared in Excel 2013 and are also present in Excel 2019 and Excel 365.<\/p>\n\n\n\n

The SHEET<\/strong> function returns the index of the selected sheet. It starts counting from 1.<\/p>\n\n\n\n

The SHEETS<\/strong> function returns the number of sheets in the reference.<\/p>\n\n\n\n

Get the Sheet index<\/h2>\n\n\n\n

The SHEET function returns the index of a sheet. Take a look at the following example.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

B5<\/strong> – The function returns 1. This is the index of the current worksheet<\/a>. If you write this formula in Sheet2 (second sheet), it\u2019s going to return 2.<\/p>\n\n\n\n

B6<\/strong> – You have to make a reference to a cell inside a worksheet, not directly to a sheet. That\u2019s why this formula returns an error.<\/p>\n\n\n\n

B8<\/strong> – In the SHEET function, it doesn\u2019t matter which cell you are going to reference.<\/p>\n\n\n\n

Get the number of sheets<\/h2>\n\n\n\n

The SHEETS<\/strong> function returns the number of sheets in a reference.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

B5<\/strong> – The function SHEETS with no parameters returns all worksheets inside a workbook.<\/p>\n\n\n\n

B6<\/strong> – This time the function returns 3 because it counts sheets between Sheet1 and Sheet3.<\/p>\n\n\n\n

Find hidden sheets<\/h2>\n\n\n\n

Let\u2019s see how the function works when you hide one worksheet.<\/p>\n\n\n\n

Between Sheet2 and Sheet4, there is a hidden sheet called Sheet3.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Here are the formulas and results.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

B5<\/strong> – If you write the SHEETS formula with no parameters, it\u2019s going to return all sheets, even the hidden ones. That\u2019s why we have number 4.<\/p>\n\n\n\n

B6<\/strong> – Despite writing the range between Sheet1 and Sheet4 (the hidden Sheet3 is between them), Excel doesn\u2019t count the hidden sheet.<\/p>\n\n\n\n

Check for missing data<\/h2>\n\n\n\n

There is a way to check whether there is a value inside a particular cell inside a sheet.<\/p>\n\n\n\n

To do this, you have to use the COUNTA<\/a> function.<\/p>\n\n\n\n

You have the following data for each sheet.<\/p>\n\n\n\n

Sheet2<\/strong><\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Sheet3<\/strong><\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Sheet4<\/strong><\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Now, let\u2019s see what our formulas<\/a> look like.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

C3<\/strong> – The formula displays the number of sheets between Sheet2 and Sheet4.<\/p>\n\n\n\n

C4<\/strong> – the COUNTA formula checks whether there is data inside B1<\/strong> for each sheet.<\/p>\n\n\n\n

C5<\/strong> – The difference shows how many values are missing<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

SHEET and SHEETS are two new functions that appeared in Excel 2013 and are also present in Excel 2019 and Excel 365. The…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[170,190],"yoast_head":"\nSheet Formula in Excel<\/title>\n<meta name=\"description\" content=\"Learn how to use the SHEET and SHEETS functions in Excel. Discover how to get the sheet index and number of sheets in a reference. Download the example file now.\" \/>\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\/formulas\/sheet-formula\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sheet Formula in Excel\" \/>\n<meta property=\"og:description\" content=\"Learn how to use the SHEET and SHEETS functions in Excel. Discover how to get the sheet index and number of sheets in a reference. Download the example file now.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-12T20:21:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-30T11:12:15+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/12\/sheet-example.png\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/\"},\"author\":{\"name\":\"Tomasz Decker\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"headline\":\"Sheet Formula in Excel\",\"datePublished\":\"2018-12-12T20:21:24+00:00\",\"dateModified\":\"2024-03-30T11:12:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/\"},\"wordCount\":360,\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/12\/sheet-example.png\",\"keywords\":[\"file\",\"pinterest\"],\"articleSection\":[\"formulas\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/\",\"url\":\"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/\",\"name\":\"Sheet Formula in Excel\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/12\/sheet-example.png\",\"datePublished\":\"2018-12-12T20:21:24+00:00\",\"dateModified\":\"2024-03-30T11:12:15+00:00\",\"description\":\"Learn how to use the SHEET and SHEETS functions in Excel. Discover how to get the sheet index and number of sheets in a reference. Download the example file now.\",\"breadcrumb\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/#primaryimage\",\"url\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/12\/sheet-example.png\",\"contentUrl\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/12\/sheet-example.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/officetuts.net\/excel\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sheet Formula in Excel\"}]},{\"@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":"Sheet Formula in Excel","description":"Learn how to use the SHEET and SHEETS functions in Excel. Discover how to get the sheet index and number of sheets in a reference. Download the example file now.","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\/formulas\/sheet-formula\/","og_locale":"en_US","og_type":"article","og_title":"Sheet Formula in Excel","og_description":"Learn how to use the SHEET and SHEETS functions in Excel. Discover how to get the sheet index and number of sheets in a reference. Download the example file now.","og_url":"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/","article_published_time":"2018-12-12T20:21:24+00:00","article_modified_time":"2024-03-30T11:12:15+00:00","og_image":[{"url":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/12\/sheet-example.png"}],"author":"Tomasz Decker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tomasz Decker","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/#article","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/"},"author":{"name":"Tomasz Decker","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"headline":"Sheet Formula in Excel","datePublished":"2018-12-12T20:21:24+00:00","dateModified":"2024-03-30T11:12:15+00:00","mainEntityOfPage":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/"},"wordCount":360,"publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"image":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/#primaryimage"},"thumbnailUrl":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/12\/sheet-example.png","keywords":["file","pinterest"],"articleSection":["formulas"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/","url":"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/","name":"Sheet Formula in Excel","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/#website"},"primaryImageOfPage":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/#primaryimage"},"image":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/#primaryimage"},"thumbnailUrl":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/12\/sheet-example.png","datePublished":"2018-12-12T20:21:24+00:00","dateModified":"2024-03-30T11:12:15+00:00","description":"Learn how to use the SHEET and SHEETS functions in Excel. Discover how to get the sheet index and number of sheets in a reference. Download the example file now.","breadcrumb":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/#primaryimage","url":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/12\/sheet-example.png","contentUrl":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/12\/sheet-example.png"},{"@type":"BreadcrumbList","@id":"https:\/\/officetuts.net\/excel\/formulas\/sheet-formula\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/officetuts.net\/excel\/"},{"@type":"ListItem","position":2,"name":"Sheet Formula in Excel"}]},{"@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\/3781"}],"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=3781"}],"version-history":[{"count":7,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/3781\/revisions"}],"predecessor-version":[{"id":17260,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/3781\/revisions\/17260"}],"wp:attachment":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/media?parent=3781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/categories?post=3781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/tags?post=3781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}