{"id":714,"date":"2019-04-18T17:07:13","date_gmt":"2019-04-18T14:07:13","guid":{"rendered":"https:\/\/www.test4u.eu\/excelpedia\/?p=714"},"modified":"2019-04-18T17:07:16","modified_gmt":"2019-04-18T14:07:16","slug":"the-offset-function","status":"publish","type":"post","link":"https:\/\/www.test4u.eu\/excelpedia\/the-offset-function\/","title":{"rendered":"The OFFSET Function"},"content":{"rendered":"\n<p>The <b>OFFSET<\/b> function  returns a reference to a range that is a specified number of rows and columns from a cell or range of cells . <\/p>\n\n\n\n<p>We have prepared a<strong> <a href=\"https:\/\/www.test4u.eu\/excelpedia\/how-to-use-the-offset-function\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"tutorial on the OFFSET (opens in a new tab)\">tutorial on the OFFSET<\/a><\/strong> function to explain it in a bit more detail.<\/p>\n\n\n\n<p>\n\nThe syntax of the function is the following:\n\n<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-large is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>OFFSET<\/strong>(<strong>ref<\/strong>, <strong>rows<\/strong>, <strong>cols<\/strong>, [<strong>height<\/strong>], [<strong>width<\/strong>]) <\/p><cite><strong>ref<\/strong> : The reference from which you want to base the offset. Reference must refer to a cell or range of adjacent cells.<br><span><b>rows, cols<\/b><\/span> : The number of rows and cols, that you want the upper-left cell to refer to. They can be positive or negative.<br><strong>height, width<\/strong>: Optional. The number of rows and columns respectively you want the returned reference to have.<\/cite><\/blockquote>\n\n\n\n<p>If rows and cols offset points over the edge of the sheet then a #REF! error is returned.<\/p>\n\n\n\n<p>If height or width is not set, then the height or width of the reference is used.<\/p>\n\n\n\n<p>OFFSET returns a reference. It doesn&#8217;t change or move the reference area.<\/p>\n\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=RGtzeVowUUdacjVLWERxNnk2clFlUDJkaDRFbnoyYnJhb202bEZ3S3ZuMTBsOGIzLzNHaTEvRDhqUlNwQmt1Ym1HSG9zVHlHeWpCdWwxZGtXWGN4Vmc9PQ==&b=dmNqZmp4NmpRcVJuQjZVT1U5bDhNNHpEQTNzVEFmSEJhM2FEQnRsaTlSY0ZtUllqb0JabVhWRFBVbGNuS0RQT3l6TTBKNEhUQjNOZ1crY1IrdERLbVNpNXRoSUkzdUZ4OHh5cGRVYzBiTk09\">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 OFFSET function:<\/strong><\/p>\n\n\n\n<p>Use the proper formula in the cell F16 to calculate the sum of the values in the area with position: 1 column left and 11 rows above from the cell F16. <br>\nThe area should be 5 rows high and 2 columns wide.<\/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\/MZ7hjDb6U4U?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 OFFSET function  returns a reference to a range that is a specified number of rows and columns from a cell or range of cells . <\/p>\n","protected":false},"author":2,"featured_media":571,"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":[49,52,32],"class_list":["post-714","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-functions","tag-lookup-functions","tag-offset","tag-reference"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.test4u.eu\/excelpedia\/wp-content\/uploads\/2019\/04\/offset.jpg","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paRnIz-bw","_links":{"self":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/714","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=714"}],"version-history":[{"count":0,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/714\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media\/571"}],"wp:attachment":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media?parent=714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/categories?post=714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/tags?post=714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}