{"id":81,"date":"2024-05-01T08:54:34","date_gmt":"2024-05-01T08:54:34","guid":{"rendered":"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/chapter\/chapter-5-count-min-and-max-functions\/"},"modified":"2024-09-18T00:52:20","modified_gmt":"2024-09-18T00:52:20","slug":"chapter-5-count-min-and-max-functions","status":"publish","type":"chapter","link":"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/chapter\/chapter-5-count-min-and-max-functions\/","title":{"raw":"Chapter 5: COUNT, MIN and MAX Functions","rendered":"Chapter 5: COUNT, MIN and MAX Functions"},"content":{"raw":"<div class=\"chapter-5:-count,-min-and-max-functions\">\r\n<div class=\"textbox textbox--learning-objectives\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\" style=\"text-align: justify\">Learning Objectives<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\" style=\"text-align: justify\">\r\n<ol>\r\n \t<li class=\"import-MyText\">Use the COUNT function.<\/li>\r\n \t<li class=\"import-MyText\">Use the MIN function.<\/li>\r\n \t<li class=\"import-MyText\">Use the MAX function.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<\/div>\r\n<p class=\"import-MyText\" style=\"text-align: justify\">In this chapter, you will learn another three popular functions in Excel, the [pb_glossary id=\"184\"]COUNT[\/pb_glossary], [pb_glossary id=\"188\"]MIN [\/pb_glossary]and [pb_glossary id=\"186\"]MAX[\/pb_glossary] functions.<\/p>\r\n<p style=\"text-align: justify\"><strong>The COUNT Function<\/strong><\/p>\r\n<p class=\"import-MyText\" style=\"text-align: justify\">Let\u2019s learn the COUNT function.<\/p>\r\n<p class=\"import-MyText\" style=\"text-align: justify\">Use the COUNT function to get the number of entries in a number field that is in a range or array of numbers.<\/p>\r\n<p class=\"import-MyText\" style=\"text-align: justify\">The Figure below shows another an example using the COUNT function.<\/p>\r\n<p class=\"import-MyFigure\" style=\"text-align: justify\"><img src=\"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-content\/uploads\/sites\/112\/2024\/05\/image1-1.png\" alt=\"image\" width=\"601.733333333333px\" height=\"316.733333333333px\"><\/p>\r\n<p class=\"import-MyFigureText\" style=\"text-align: justify\">Figure 5.1 Type the formula using the COUNT function.<\/p>\r\n<p class=\"import-MyText\" style=\"text-align: justify\">Type the contents in their respective cells. Use the default font and font size. Adjust any column width if necessary. Then, type =COUNT(B2:B6) in cell E2. Press Enter and you get the result. Excel returns 3 as the result as there are values in cells B2, B3, and B5. Blank cells and those with text are not counted.<\/p>\r\n<p class=\"import-NormalWeb\" style=\"text-align: justify\">That's all for the COUNT function.<\/p>\r\n<p style=\"text-align: justify\"><strong>The MIN and MAX Functions<\/strong><\/p>\r\n<p class=\"import-NormalWeb\" style=\"text-align: justify\">Now let\u2019s learn the MIN and MAX functions.<\/p>\r\n<p class=\"import-NormalWeb\" style=\"text-align: justify\">The MIN function finds the smallest numeric value in a range of cells, while the MAX function helps you find the largest numeric value in a range of cells.<\/p>\r\n<p class=\"import-NormalWeb\" style=\"text-align: justify\">The Figure below shows the use of the MIN and MAX functions.<\/p>\r\n<p class=\"import-MyFigure\" style=\"text-align: justify\"><img src=\"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-content\/uploads\/sites\/112\/2024\/09\/image2-4.png\" alt=\"image\" width=\"601.733333333333px\" height=\"339.266666666667px\"><\/p>\r\n<p class=\"import-MyFigureText\" style=\"text-align: justify\">Figure 5.2 Type the formula using the MIN function.<\/p>\r\n<p class=\"import-MyText\" style=\"text-align: justify\">Type the contents in their respective cells. Use the default font and font size. Adjust any column width if necessary. Then, type =MIN(B2:B6) in cell F2. Press Enter and you get the result. Excel returns 5 as the result as it is the lowest value in the range of cells.<\/p>\r\n<p class=\"import-MyText\" style=\"text-align: justify\">In the same worksheet, use the MAX function. See the Figure below.<\/p>\r\n<p class=\"import-MyFigure\" style=\"text-align: justify\"><img src=\"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-content\/uploads\/sites\/112\/2024\/09\/image3-4.png\" alt=\"image\" width=\"601.733333333333px\" height=\"339.266666666667px\"><\/p>\r\n<p class=\"import-MyFigureText\" style=\"text-align: justify\">Figure 5.3 Type the formula using the MIN function.<\/p>\r\n<p class=\"import-MyText\" style=\"text-align: justify\">Type the contents in their respective cells. Use the default font and font size. Adjust any column width if necessary. Then, type =MAX(B2:B6) in cell F3. Press Enter and you get the result. Excel returns 27 as the result as it is the highest value in the range of cells.<\/p>\r\n<p class=\"import-MyText\" style=\"text-align: justify\">That\u2019s all for this Chapter.<\/p>\r\n<p class=\"import-NormalWeb\" style=\"text-align: justify\">You're awesome!<\/p>\r\n\r\n<\/div>","rendered":"<div class=\"chapter-5:-count,-min-and-max-functions\">\n<div class=\"textbox textbox--learning-objectives\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\" style=\"text-align: justify\">Learning Objectives<\/p>\n<\/header>\n<div class=\"textbox__content\" style=\"text-align: justify\">\n<ol>\n<li class=\"import-MyText\">Use the COUNT function.<\/li>\n<li class=\"import-MyText\">Use the MIN function.<\/li>\n<li class=\"import-MyText\">Use the MAX function.<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<p class=\"import-MyText\" style=\"text-align: justify\">In this chapter, you will learn another three popular functions in Excel, the <a class=\"glossary-term\" aria-haspopup=\"dialog\" aria-describedby=\"definition\" href=\"#term_81_184\">COUNT<\/a>, <a class=\"glossary-term\" aria-haspopup=\"dialog\" aria-describedby=\"definition\" href=\"#term_81_188\">MIN <\/a>and <a class=\"glossary-term\" aria-haspopup=\"dialog\" aria-describedby=\"definition\" href=\"#term_81_186\">MAX<\/a> functions.<\/p>\n<p style=\"text-align: justify\"><strong>The COUNT Function<\/strong><\/p>\n<p class=\"import-MyText\" style=\"text-align: justify\">Let\u2019s learn the COUNT function.<\/p>\n<p class=\"import-MyText\" style=\"text-align: justify\">Use the COUNT function to get the number of entries in a number field that is in a range or array of numbers.<\/p>\n<p class=\"import-MyText\" style=\"text-align: justify\">The Figure below shows another an example using the COUNT function.<\/p>\n<p class=\"import-MyFigure\" style=\"text-align: justify\"><img decoding=\"async\" src=\"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-content\/uploads\/sites\/112\/2024\/05\/image1-1.png\" alt=\"image\" width=\"601.733333333333px\" height=\"316.733333333333px\" \/><\/p>\n<p class=\"import-MyFigureText\" style=\"text-align: justify\">Figure 5.1 Type the formula using the COUNT function.<\/p>\n<p class=\"import-MyText\" style=\"text-align: justify\">Type the contents in their respective cells. Use the default font and font size. Adjust any column width if necessary. Then, type =COUNT(B2:B6) in cell E2. Press Enter and you get the result. Excel returns 3 as the result as there are values in cells B2, B3, and B5. Blank cells and those with text are not counted.<\/p>\n<p class=\"import-NormalWeb\" style=\"text-align: justify\">That&#8217;s all for the COUNT function.<\/p>\n<p style=\"text-align: justify\"><strong>The MIN and MAX Functions<\/strong><\/p>\n<p class=\"import-NormalWeb\" style=\"text-align: justify\">Now let\u2019s learn the MIN and MAX functions.<\/p>\n<p class=\"import-NormalWeb\" style=\"text-align: justify\">The MIN function finds the smallest numeric value in a range of cells, while the MAX function helps you find the largest numeric value in a range of cells.<\/p>\n<p class=\"import-NormalWeb\" style=\"text-align: justify\">The Figure below shows the use of the MIN and MAX functions.<\/p>\n<p class=\"import-MyFigure\" style=\"text-align: justify\"><img decoding=\"async\" src=\"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-content\/uploads\/sites\/112\/2024\/09\/image2-4.png\" alt=\"image\" width=\"601.733333333333px\" height=\"339.266666666667px\" \/><\/p>\n<p class=\"import-MyFigureText\" style=\"text-align: justify\">Figure 5.2 Type the formula using the MIN function.<\/p>\n<p class=\"import-MyText\" style=\"text-align: justify\">Type the contents in their respective cells. Use the default font and font size. Adjust any column width if necessary. Then, type =MIN(B2:B6) in cell F2. Press Enter and you get the result. Excel returns 5 as the result as it is the lowest value in the range of cells.<\/p>\n<p class=\"import-MyText\" style=\"text-align: justify\">In the same worksheet, use the MAX function. See the Figure below.<\/p>\n<p class=\"import-MyFigure\" style=\"text-align: justify\"><img decoding=\"async\" src=\"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-content\/uploads\/sites\/112\/2024\/09\/image3-4.png\" alt=\"image\" width=\"601.733333333333px\" height=\"339.266666666667px\" \/><\/p>\n<p class=\"import-MyFigureText\" style=\"text-align: justify\">Figure 5.3 Type the formula using the MIN function.<\/p>\n<p class=\"import-MyText\" style=\"text-align: justify\">Type the contents in their respective cells. Use the default font and font size. Adjust any column width if necessary. Then, type =MAX(B2:B6) in cell F3. Press Enter and you get the result. Excel returns 27 as the result as it is the highest value in the range of cells.<\/p>\n<p class=\"import-MyText\" style=\"text-align: justify\">That\u2019s all for this Chapter.<\/p>\n<p class=\"import-NormalWeb\" style=\"text-align: justify\">You&#8217;re awesome!<\/p>\n<\/div>\n<div class=\"glossary\"><span class=\"screen-reader-text\" id=\"definition\">definition<\/span><template id=\"term_81_184\"><div class=\"glossary__definition\" role=\"dialog\" data-id=\"term_81_184\"><div tabindex=\"-1\"><p>The COUNT function counts the number of cells that contain numbers and counts numbers within the list of arguments. Use the COUNT function to get the number of entries in a number field that is in a range or array of numbers. For example, to count the numbers in the range of cells from cell B1 until cell B20, the formula is =COUNT(B1:B20).<\/p>\n<\/div><button><span aria-hidden=\"true\">&times;<\/span><span class=\"screen-reader-text\">Close definition<\/span><\/button><\/div><\/template><template id=\"term_81_188\"><div class=\"glossary__definition\" role=\"dialog\" data-id=\"term_81_188\"><div tabindex=\"-1\"><p>The MIN function returns the smallest number in a set of values.<\/p>\n<\/div><button><span aria-hidden=\"true\">&times;<\/span><span class=\"screen-reader-text\">Close definition<\/span><\/button><\/div><\/template><template id=\"term_81_186\"><div class=\"glossary__definition\" role=\"dialog\" data-id=\"term_81_186\"><div tabindex=\"-1\"><p>The MAX function returns the largest value in a set of values.<\/p>\n<\/div><button><span aria-hidden=\"true\">&times;<\/span><span class=\"screen-reader-text\">Close definition<\/span><\/button><\/div><\/template><\/div>","protected":false},"author":91,"menu_order":5,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":"cc-by"},"chapter-type":[],"contributor":[],"license":[53],"class_list":["post-81","chapter","type-chapter","status-publish","hentry","license-cc-by"],"part":27,"_links":{"self":[{"href":"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-json\/pressbooks\/v2\/chapters\/81","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-json\/wp\/v2\/users\/91"}],"version-history":[{"count":2,"href":"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-json\/pressbooks\/v2\/chapters\/81\/revisions"}],"predecessor-version":[{"id":204,"href":"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-json\/pressbooks\/v2\/chapters\/81\/revisions\/204"}],"part":[{"href":"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-json\/pressbooks\/v2\/parts\/27"}],"metadata":[{"href":"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-json\/pressbooks\/v2\/chapters\/81\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-json\/wp\/v2\/media?parent=81"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-json\/pressbooks\/v2\/chapter-type?post=81"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-json\/wp\/v2\/contributor?post=81"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/openbook.ums.edu.my\/excelforabsolutebeginners\/wp-json\/wp\/v2\/license?post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}