{"id":1781,"date":"2011-09-28T14:32:16","date_gmt":"2011-09-28T14:32:16","guid":{"rendered":"http:\/\/www.microsofttraining.net\/b\/exceltraining\/?p=290"},"modified":"2023-12-30T23:13:57","modified_gmt":"2023-12-30T23:13:57","slug":"example-of-in-indexmatch-function","status":"publish","type":"post","link":"https:\/\/www.stl-training.co.uk\/b\/example-of-in-indexmatch-function\/","title":{"rendered":"Example of in Index\/Match Function"},"content":{"rendered":"<p><a href=\"https:\/\/www.stl-training.co.uk\/b\/exceltraining\/files\/2011\/09\/Picture12.jpg\"><img decoding=\"async\" class=\"size-full wp-image-292 alignnone\" src=\"https:\/\/www.stl-training.co.uk\/b\/exceltraining\/files\/2011\/09\/Picture12.jpg\" alt=\"\" width=\"698\" height=\"239\" \/><\/a><\/p>\n<p>Here I have a table with employees work hours spread over a 7 day week.\u00a0The employees are on the rows and the days of the week in the columns.\u00a0 I have created two criteria cells, one for the employee and one for the days.\u00a0 I then created another cell which is where I will enter my <strong>index and match fuctions<\/strong> to automatically find out the hours worked when the criteria cells are populated.\u00a0 To make this more attractive I have added a combo box using the <strong>data valadation<\/strong> feature to enter the criteria as below;<\/p>\n<p><a href=\"https:\/\/www.stl-training.co.uk\/b\/exceltraining\/files\/2011\/09\/Picture2.jpg\"><img decoding=\"async\" class=\"alignleft size-full wp-image-293\" src=\"https:\/\/www.stl-training.co.uk\/b\/exceltraining\/files\/2011\/09\/Picture2.jpg\" alt=\"\" width=\"244\" height=\"143\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Here is\u00a0the example of the function I used to achieve this result.<\/p>\n<p>=INDEX(C3:J9,MATCH(D12,B3:B9,0),MATCH(D13,C2:J2,0))<\/p>\n<p>For your reference <em><strong>Monday<\/strong><\/em> is in cell <strong>B2<\/strong> and <em><strong>John<\/strong><\/em> is in cell <strong>C3<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here I have a table with employees work hours spread over a 7 day week.\u00a0The employees are on the rows and the days of the week in the columns.\u00a0 I have created two criteria cells, one for the employee and one for the days.\u00a0 I then created another cell which is where I will enter [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[313,351,433],"class_list":["post-1781","post","type-post","status-publish","format-standard","hentry","category-excel-training","tag-index-function","tag-match-function","tag-pr"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/posts\/1781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/comments?post=1781"}],"version-history":[{"count":1,"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/posts\/1781\/revisions"}],"predecessor-version":[{"id":6785,"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/posts\/1781\/revisions\/6785"}],"wp:attachment":[{"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/media?parent=1781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/categories?post=1781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/tags?post=1781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}