{"id":702,"date":"2019-04-18T15:48:43","date_gmt":"2019-04-18T12:48:43","guid":{"rendered":"https:\/\/www.test4u.eu\/excelpedia\/?p=702"},"modified":"2019-04-18T17:09:57","modified_gmt":"2019-04-18T14:09:57","slug":"the-index-function","status":"publish","type":"post","link":"https:\/\/www.test4u.eu\/excelpedia\/the-index-function\/","title":{"rendered":"The INDEX Function"},"content":{"rendered":"\n<p>The <span><b>INDEX<\/b><\/span> function returns a value or the reference to a value from within a table or range. <\/p>\n\n\n\n<p>We have prepared a<strong> <a href=\"https:\/\/www.test4u.eu\/excelpedia\/how-to-use-the-index-function\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"tutorial on the INDEX (opens in a new tab)\">tutorial on the INDEX<\/a><\/strong> function to explain it in a bit more detail.<\/p>\n\n\n\n<p>The INDEX function can be used  either in its <strong>Array <\/strong>or <strong>Reference <\/strong>Form<\/p>\n\n\n\n<p>The syntax of the <strong>Array Form <\/strong>of the function is the following: <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-large is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>INDEX<\/strong>(<strong>array<\/strong>, <strong>row<\/strong>, [<strong>col<\/strong>]) <\/p><cite> <font color=\"#191e23\"><span><b>array<\/b><\/span><\/font>: it is required. It is a range of cells or an array.<br><font color=\"#191e23\"><span><b>row, col<\/b><\/span><\/font> : One of them is always optional.<br><br><\/cite><\/blockquote>\n\n\n\n<p>If the array has only one row or column then the row or col argument respectively is optional.<\/p>\n\n\n\n<p>If the array has more than one rows or columns and only one of the two arguments (row, col) is used then the function returns an array of an entire row or an entire column.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>The syntax of the <strong>Reference Form <\/strong>of the function is the following: <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-large is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>INDEX<\/strong>(<strong>areas<\/strong>, <strong>row<\/strong>, [<strong>col<\/strong>], [<strong>area_num<\/strong>]) <\/p><cite> <font color=\"#191e23\"><span><b>areas<\/b><\/span><\/font>: it is required. It is a reference to one or more ranges of cells. If you enter more than one ranges then you have to enclose them in parentheses.<br><font color=\"#191e23\"><span><b>row, col<\/b><\/span><\/font> : One of them is always optional.<br><strong><font color=\"#191e23\">area_num<\/font><\/strong>: If you have entered more than one ranges in the areas argument then this arguments selects the number of the range for which you want to find the index.<br><\/cite><\/blockquote>\n\n\n\n<p>If a range has only one row or column then the row or col argument respectively is optional.<\/p>\n\n\n\n<p>If a range has more than one rows or columns and only one of the two arguments (row, col) is used then the function returns the reference to an entire row or an entire column.<\/p>\n\n\n<p><!--EndFragment--><\/p>\n<p><\/p>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Click on the button to practice using this function, with the help of our <strong>Online Assessment Tool<\/strong>:<\/p>\n\n\n<p class=\"button-practice-container\" ><a class=\"button button-primary button-practice\" style=\"height:auto\"  href=\"https:\/\/www.test4u.eu\/excelpedia\/wp-content\/plugins\/unlimited-integration\/run.php?id=eXpBbW04SzQzM1VRclFHN1pVNDVHOU1XdGE5SHMvMlFaQmtXWjl3YVc0WHVBYW8vZ3NicjNRbnBjUE44Ris4MktWSFJUU2FJWmNWRzhYYVRqdklEQ2c9PQ==&b=NVVLbnd2VjFUaGVLbHRXNCs3NmFrQTB4VFJ6bXFIMzlTVW81NzlhNElQNXlJUEJCV2FNc0Npek9YRU01UUVIeVZYajRGMDJpVW9CcnF3QTduV3gxUEJaVGlIQndCMm52NnAxaGFUNm1tYm89\">Practice<\/a><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n\n<p class=\"has-medium-font-size\"><strong>Here is an example of how to use the INDEX function:<\/strong><\/p>\n\n\n\n<p>Use the proper function in cell E1 to calculate the value, of the cell in the second row and third column, of the cell range A1:D6.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/UNxDvs-A-Bc?version=3&#038;rel=0&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The INDEX function returns a value or the reference to a value from within a table or range. <\/p>\n","protected":false},"author":2,"featured_media":562,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4],"tags":[50,49,32],"class_list":["post-702","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-functions","tag-index","tag-lookup-functions","tag-reference"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.test4u.eu\/excelpedia\/wp-content\/uploads\/2019\/04\/index.jpg","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paRnIz-bk","_links":{"self":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/comments?post=702"}],"version-history":[{"count":0,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/702\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media\/562"}],"wp:attachment":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media?parent=702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/categories?post=702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/tags?post=702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}