{"id":336,"date":"2020-04-18T20:06:45","date_gmt":"2020-04-18T20:06:45","guid":{"rendered":"https:\/\/pressbooks.library.ryerson.ca\/ebooks\/chapter\/tutorial-2-%e2%80%a2-excel-business-functions\/"},"modified":"2021-07-20T13:22:02","modified_gmt":"2021-07-20T13:22:02","slug":"tutorial-9-excel-business-functions","status":"publish","type":"chapter","link":"https:\/\/pressbooks.library.torontomu.ca\/ebooks\/chapter\/tutorial-9-excel-business-functions\/","title":{"raw":"Tutorial 9 \u2022 Excel Business Functions","rendered":"Tutorial 9 \u2022 Excel Business Functions"},"content":{"raw":"This tutorial explains some of the Excel functions identified by Ben Dugas, product manager at eBook publisher Rakuten Kobo, during a guest lecture he presented in the 2018 summer eBooks class.\r\n<h2>CONCATENATE<\/h2>\r\nThe CONCATENATE function combines two or more columns into one. Text (including spaces) goes in quotes and is separated from variables by \"&amp;,\" e.g., \"=CONCATENATE(B3&amp;\" \"&amp;A3\").\r\n<p class=\"import-ListBullet\"><img src=\"http:\/\/pressbooks.library.ryerson.ca\/ebooks\/wp-content\/uploads\/sites\/38\/2020\/04\/image1.jpeg\" width=\"1522\" height=\"402\" alt=\"Screen capture of an Excel table containing the Concatenate function\" class=\"aligncenter\" \/><\/p>\r\n\r\n<h2>SORT<\/h2>\r\nThe SORT function (Data &gt; Sort) can be used to order spreadsheet entries alphabetically or numerically.\r\n<p class=\"import-ListBullet\"><img src=\"http:\/\/pressbooks.library.ryerson.ca\/ebooks\/wp-content\/uploads\/sites\/38\/2020\/04\/image2.jpeg\" width=\"1564\" height=\"992\" alt=\"Screen capture of an Excel table demonstrating the use of Sort function\" class=\"aligncenter\" \/><\/p>\r\n\r\n<h2>VLOOKUP<\/h2>\r\nThe VLOOKUP function provides a way to look up data in an Excel table. VLOOKUP can be combined with ActiveX interactive objects to create dynamic lookups.\r\n<ol>\r\n \t<li>Open the file, \u201cvlookup.xlsx.\u201d Note that the file contains a list of sales representatives and their annual sales.<\/li>\r\n \t<li>To the right of the last column, in cell G2, create a field called \u201cID\u201d and to the right of that, in cell H2, set the first value to \u201c1.\u201d<\/li>\r\n \t<li>Below the \u201cID\u201d and \u201c1\u201d cells, in cell G3, create another field, \u201cSales,\u201d and to the right of that, in cell H3, insert an \u201c=VLOOKUP\u201d function, which has 4 arguments:\r\n<ul>\r\n \t<li>cell containing the desired value (H2)<\/li>\r\n \t<li>cells containing the data range (B3:E9)<\/li>\r\n \t<li>column in the range with the desired data to report (4)<\/li>\r\n \t<li>whether an approximate match is acceptable to the desired value (FALSE)<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li>The function should read =VLOOKUP(H2,B3:E9,4,FALSE)<\/li>\r\n \t<li>Note that Excel reports the sales volume for Sales Representative #1.<\/li>\r\n \t<li>To make an interactive VLOOKUP, turn on the Developer Tab in Excel (Preferences &gt; View &gt; Developer Tab).<\/li>\r\n \t<li>Insert a \u201cSpinner\u201d (up\/down arrow) to the right of the VLOOKUP fields.<\/li>\r\n \t<li>Right-click the Spinner and set Format Control to Cell Link H2. Also set the appropriate Minimum and Maximum values.<\/li>\r\n \t<li>Click on another cell. Note that the Spinner will increase or decrease the lookup value in Cell H2.<\/li>\r\n<\/ol>\r\n<img src=\"http:\/\/pressbooks.library.ryerson.ca\/ebooks\/wp-content\/uploads\/sites\/38\/2020\/04\/image3.png\" width=\"432\" height=\"151\" alt=\"Screen capture of an Excel table with the VLOOKUP function\" class=\"aligncenter\" \/>\r\n<h2>PivotTables<\/h2>\r\nPivotTables (Insert &gt; PivotTable) are a powerful tool for creating summaries from large amounts of data that would otherwise be too vast to interpret.\r\n<ol>\r\n \t<li>Open the file \u201cpivot-table.xlsx.\u201d Note that Sheet 1 contains 214 rows of sales figures for fruits and vegetables by country and date\u2014lots to digest!<\/li>\r\n \t<li>Create a pivot table that lists the total amount of each fruit exported by all countries.<\/li>\r\n \t<li>Place the cursor on the first cell of the table.<\/li>\r\n \t<li>Select Insert &gt; PivotTable, click button for Table or Range. When you put the cursor in the field Table\/Range, Excel selects the entire table for the input and asks you where to put the table. Select a cell to the right of the table. Note that a PivotTable object appears, along with a sidebar of PivotTable Fields.<\/li>\r\n \t<li>In the sidebar, rearrange the Field Names as shown in the screen capture below, i.e., Filters: Country; Rows: Product; Values: Sum of Amount.<\/li>\r\n \t<li>Note that the PivotTable is dynamic\u2014the dropdown arrow in the PivotTable can be used to select the country for the report.<\/li>\r\n<\/ol>\r\n<p class=\"import-ListBullet\"><img src=\"http:\/\/pressbooks.library.ryerson.ca\/ebooks\/wp-content\/uploads\/sites\/38\/2020\/04\/image4.png\" width=\"903\" height=\"602\" alt=\"Screen capture of an Excel table demonstrating the PivotTable fields usage\" class=\"aligncenter\" \/><\/p>\r\n\r\n<h2>Instructional Video<\/h2>\r\n[embed]https:\/\/youtu.be\/SiX8KBArHoA[\/embed]","rendered":"<p>This tutorial explains some of the Excel functions identified by Ben Dugas, product manager at eBook publisher Rakuten Kobo, during a guest lecture he presented in the 2018 summer eBooks class.<\/p>\n<h2>CONCATENATE<\/h2>\n<p>The CONCATENATE function combines two or more columns into one. Text (including spaces) goes in quotes and is separated from variables by &#8220;&amp;,&#8221; e.g., &#8220;=CONCATENATE(B3&amp;&#8221; &#8220;&amp;A3&#8221;).<\/p>\n<p class=\"import-ListBullet\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/pressbooks.library.ryerson.ca\/ebooks\/wp-content\/uploads\/sites\/38\/2020\/04\/image1.jpeg\" width=\"1522\" height=\"402\" alt=\"Screen capture of an Excel table containing the Concatenate function\" class=\"aligncenter\" \/><\/p>\n<h2>SORT<\/h2>\n<p>The SORT function (Data &gt; Sort) can be used to order spreadsheet entries alphabetically or numerically.<\/p>\n<p class=\"import-ListBullet\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/pressbooks.library.ryerson.ca\/ebooks\/wp-content\/uploads\/sites\/38\/2020\/04\/image2.jpeg\" width=\"1564\" height=\"992\" alt=\"Screen capture of an Excel table demonstrating the use of Sort function\" class=\"aligncenter\" \/><\/p>\n<h2>VLOOKUP<\/h2>\n<p>The VLOOKUP function provides a way to look up data in an Excel table. VLOOKUP can be combined with ActiveX interactive objects to create dynamic lookups.<\/p>\n<ol>\n<li>Open the file, \u201cvlookup.xlsx.\u201d Note that the file contains a list of sales representatives and their annual sales.<\/li>\n<li>To the right of the last column, in cell G2, create a field called \u201cID\u201d and to the right of that, in cell H2, set the first value to \u201c1.\u201d<\/li>\n<li>Below the \u201cID\u201d and \u201c1\u201d cells, in cell G3, create another field, \u201cSales,\u201d and to the right of that, in cell H3, insert an \u201c=VLOOKUP\u201d function, which has 4 arguments:\n<ul>\n<li>cell containing the desired value (H2)<\/li>\n<li>cells containing the data range (B3:E9)<\/li>\n<li>column in the range with the desired data to report (4)<\/li>\n<li>whether an approximate match is acceptable to the desired value (FALSE)<\/li>\n<\/ul>\n<\/li>\n<li>The function should read =VLOOKUP(H2,B3:E9,4,FALSE)<\/li>\n<li>Note that Excel reports the sales volume for Sales Representative #1.<\/li>\n<li>To make an interactive VLOOKUP, turn on the Developer Tab in Excel (Preferences &gt; View &gt; Developer Tab).<\/li>\n<li>Insert a \u201cSpinner\u201d (up\/down arrow) to the right of the VLOOKUP fields.<\/li>\n<li>Right-click the Spinner and set Format Control to Cell Link H2. Also set the appropriate Minimum and Maximum values.<\/li>\n<li>Click on another cell. Note that the Spinner will increase or decrease the lookup value in Cell H2.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/\/pressbooks.library.ryerson.ca\/ebooks\/wp-content\/uploads\/sites\/38\/2020\/04\/image3.png\" width=\"432\" height=\"151\" alt=\"Screen capture of an Excel table with the VLOOKUP function\" class=\"aligncenter\" \/><\/p>\n<h2>PivotTables<\/h2>\n<p>PivotTables (Insert &gt; PivotTable) are a powerful tool for creating summaries from large amounts of data that would otherwise be too vast to interpret.<\/p>\n<ol>\n<li>Open the file \u201cpivot-table.xlsx.\u201d Note that Sheet 1 contains 214 rows of sales figures for fruits and vegetables by country and date\u2014lots to digest!<\/li>\n<li>Create a pivot table that lists the total amount of each fruit exported by all countries.<\/li>\n<li>Place the cursor on the first cell of the table.<\/li>\n<li>Select Insert &gt; PivotTable, click button for Table or Range. When you put the cursor in the field Table\/Range, Excel selects the entire table for the input and asks you where to put the table. Select a cell to the right of the table. Note that a PivotTable object appears, along with a sidebar of PivotTable Fields.<\/li>\n<li>In the sidebar, rearrange the Field Names as shown in the screen capture below, i.e., Filters: Country; Rows: Product; Values: Sum of Amount.<\/li>\n<li>Note that the PivotTable is dynamic\u2014the dropdown arrow in the PivotTable can be used to select the country for the report.<\/li>\n<\/ol>\n<p class=\"import-ListBullet\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/pressbooks.library.ryerson.ca\/ebooks\/wp-content\/uploads\/sites\/38\/2020\/04\/image4.png\" width=\"903\" height=\"602\" alt=\"Screen capture of an Excel table demonstrating the PivotTable fields usage\" class=\"aligncenter\" \/><\/p>\n<h2>Instructional Video<\/h2>\n<p><iframe loading=\"lazy\" id=\"oembed-1\" title=\"GCM 802 eBooks \u2022\u00a0Tutorial 9 \u2022 Excel Functions for Publishing\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/SiX8KBArHoA?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"author":6,"menu_order":9,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":["richardadams"],"pb_section_license":""},"chapter-type":[],"contributor":[57],"license":[],"class_list":["post-336","chapter","type-chapter","status-publish","hentry","contributor-richardadams"],"part":175,"_links":{"self":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/ebooks\/wp-json\/pressbooks\/v2\/chapters\/336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/ebooks\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/ebooks\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/ebooks\/wp-json\/wp\/v2\/users\/6"}],"version-history":[{"count":9,"href":"https:\/\/pressbooks.library.torontomu.ca\/ebooks\/wp-json\/pressbooks\/v2\/chapters\/336\/revisions"}],"predecessor-version":[{"id":551,"href":"https:\/\/pressbooks.library.torontomu.ca\/ebooks\/wp-json\/pressbooks\/v2\/chapters\/336\/revisions\/551"}],"part":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/ebooks\/wp-json\/pressbooks\/v2\/parts\/175"}],"metadata":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/ebooks\/wp-json\/pressbooks\/v2\/chapters\/336\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/ebooks\/wp-json\/wp\/v2\/media?parent=336"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/ebooks\/wp-json\/pressbooks\/v2\/chapter-type?post=336"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/ebooks\/wp-json\/wp\/v2\/contributor?post=336"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/ebooks\/wp-json\/wp\/v2\/license?post=336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}