{"id":1064,"date":"2019-05-03T16:56:45","date_gmt":"2019-05-03T13:56:45","guid":{"rendered":"https:\/\/www.test4u.eu\/excelpedia\/?p=1064"},"modified":"2021-11-23T11:54:30","modified_gmt":"2021-11-23T09:54:30","slug":"the-sumif-function","status":"publish","type":"post","link":"https:\/\/www.test4u.eu\/excelpedia\/the-sumif-function\/","title":{"rendered":"The SUMIF Function"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">It returns the sum of all the cells in a given range that meet a specific criterion. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The syntax 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>SUMIF<\/strong><em>(<\/em><strong>range, criterion, [sum_range]<\/strong>) <\/p><cite><strong>range<\/strong>: The cells or range of cells we want to calculate the sum for, unless the sum_range argument is defined. If the optional attribute sum_range is defined then range is the range to which we apply the criterion.<br><strong>criterion<\/strong>: It is the criterion that defines which cells of the range should be included in the calculation of the sum.<br><strong>[sum_range]<\/strong>: Optional. The actual set of cells to sum. If this argument is omitted the range attribute is used.<\/cite><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">If the cells in range are empty or contain logical or text values they are ignored.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If a criterion cell is empty, it is treated as a zero.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can use the wildcard characters, question mark (?) and asterisk (*), in criteria. A question mark matches any single character; an asterisk matches any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) before the character.<\/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 class=\"wp-block-paragraph\">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=UmZWajFmUWJiZWUxNjdBZnUremlXa295TWxLSTN3S1FVaUNod2pYWSswUT0=&b=UXlqNC8wdDZaRm1YeXFNeS9FNlhoK2NFbFdKY3I0cUliVG5YUUpZdFRTRHh6YThUOHl1dzBwTjNVQlNGTUtxQWpjSEh0bThWR3NBTzM2MlVjb0dxSmx3K0JmczhkaUpOdzNGQVJ0NWk5Y3c9\">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 wp-block-paragraph\"><strong>Here are a few examples of how to use the SUMIF function:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to the SALES worksheet and insert a function in the cell E9 which derives data from the cell range C5:C24, in order to calculate the sum of sales achieved by the salesman Lambropoulos.<\/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<iframe title=\"Use the SUMIF function to calculate the sum of a cell range using a single criterion (Excel 2016)\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/POpzARHZhfg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to the cell F4 and use the appropriate function to display the Sum of album sales of Queen.<\/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<iframe title=\"Use the SUMIF function to calculate the sum of a cell range using a single criterion (Excel 2016)\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/1Zl4o6eqsIU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Use the sumif function in the cell E15 to calculate the total points received by Gladbach .<\/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<iframe title=\"Use the SUMIF function to calculate the sum of a cell range using a single condition (Excel 2016)\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/XSws8DZ1wVA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It returns the sum of all the cells in a given range that meet a specific criterion. <\/p>\n","protected":false},"author":2,"featured_media":1065,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[15,162],"class_list":["post-1064","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-functions","tag-math","tag-sumif"],"_links":{"self":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/1064","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=1064"}],"version-history":[{"count":0,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/posts\/1064\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media\/1065"}],"wp:attachment":[{"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/media?parent=1064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/categories?post=1064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.test4u.eu\/excelpedia\/wp-json\/wp\/v2\/tags?post=1064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}