{"id":5413,"date":"2022-04-01T17:52:42","date_gmt":"2022-04-01T17:52:42","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/wm-computerapplicationsmgrs-2\/?post_type=chapter&#038;p=5413"},"modified":"2024-04-08T20:51:16","modified_gmt":"2024-04-08T20:51:16","slug":"module-9-assignment-create-macro-for-car-loan-spreadsheet","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/wm-computerapplicationsmgrs-2\/chapter\/module-9-assignment-create-macro-for-car-loan-spreadsheet\/","title":{"raw":"Module 9 Assignment: Create Macro for Car Loan Spreadsheet","rendered":"Module 9 Assignment: Create Macro for Car Loan Spreadsheet"},"content":{"raw":"In this assignment, we will record a macro and run it to modify a spreadsheet of car loan data received on a weekly basis. After recording a macro for the first week, run the macro on a new set of data for week two.'\r\n\r\nTo complete this assignment, <a href=\"https:\/\/course-building.s3-us-west-2.amazonaws.com\/ComputerApps\/Assignments\/Module%2B8%2Bassignment.xlsx\" target=\"_blank\" rel=\"noopener\">download the car loan file here<\/a>. Follow the directions, then submit your assignment. If you get stuck on a step, review this module and ask your classmates for help in the discussion forum.\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li style=\"font-weight: 400;\">Open the workbook and save the new Module 8 assignment file to the Rowan folder on your desktop as <strong>BA132_LastName_CarLoans.xlsx<\/strong>, replacing \"LastName\" with your own last name. (Example: BA132_Hywater_Memo) It is a good idea to save your work periodically.<\/li>\r\n \t<li style=\"font-weight: 400;\"><strong>Scenario:<\/strong> Each week you receive a worksheet filled with car loan data. To make it easier to analyze on a weekly, record a macro and change the worksheet look, calculate the monthly loan payment amount and identify which loans are leases. (Hint: Read through all the instructions first and practice going through the steps before starting the macro recording.)\r\n<img class=\"alignnone wp-image-3650\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231635\/Module-8-Assignment-1.png\" alt=\"Screenshot of the downloaded file for this assignment\" width=\"710\" height=\"625\" \/><\/li>\r\n \t<li style=\"font-weight: 400;\"><strong>Record Macro:<\/strong> Open the spreadsheet and from the View tab or the Developer tab start a macro recording. Name the macro whatever you would like, add a short-cut key (optional), and write a description for it.\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li style=\"list-style-type: none;\">\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li style=\"font-weight: 400;\">Once the recording is started walk through these steps, then stop the recording.\r\n<img class=\"alignnone wp-image-3651 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231651\/Module-8-Assignment-2.png\" alt=\"Record Macro Dialog box. The Macro name is CarLoans. The Shortcut key is Ctrl+Shift+ L. Store this macro in This workbook. Description: Weekly report of car loans to format and calculate monthly payment amount.\" width=\"357\" height=\"291\" \/><\/li>\r\n \t<li style=\"font-weight: 400;\">Change the title row to any color, change the font color if needed, and bold the titles.\r\n<img class=\"alignnone wp-image-3652 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231719\/Module-8-Assignment-3.png\" alt=\"Screenshot of the assignment file where row one has been changed to have a green background and bold text.\" width=\"1005\" height=\"863\" \/><\/li>\r\n \t<li style=\"font-weight: 400;\">Change all the currency columns to a currency format (this includes the PV, Annual Income, Total Payment).\r\n<img class=\"alignnone wp-image-3653 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231815\/Module-8-Assignment-4.png\" alt=\"Screenshot of the assignment file where the PV, Annual Income, and Total Payment columns have been changed to a currency format.\" width=\"1005\" height=\"863\" \/><\/li>\r\n \t<li style=\"font-weight: 400;\">Change the Interest Rate column to a percentage (%).\r\n<img class=\"alignnone wp-image-3654 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231836\/Module-8-Assignment-5.png\" alt=\"Screenshot of the assignment file where the interest rate column has been changed to a percent format.\" width=\"1006\" height=\"864\" \/><\/li>\r\n \t<li style=\"font-weight: 400;\">Add in a new column to the right of the Interest Rate column and call it PMT.<\/li>\r\n \t<li style=\"font-weight: 400;\"><strong>Financial Function:<\/strong> In the new column use the PMT function and calculate the monthly payment amount for the first loan. (Remember the rate needs to be divided by 12 to get the monthly payment and place a minus sign before the PV cell (-B2) if you don\u2019t want the negative red numbers.)<\/li>\r\n \t<li style=\"font-weight: 400;\">Autofill the rest of the column with the formula to discover each loan\u2019s monthly payment amount.\r\n<img class=\"alignnone wp-image-3655 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231856\/Module-8-Assignment-6.png\" alt=\"Screenshot of the assignment file with a new Column E with the heading PMT. The column has monthly payment information for each loan.\" width=\"1087\" height=\"836\" \/><\/li>\r\n \t<li style=\"font-weight: 400;\">Add filters to column titles and sort the monthly payment amount from the highest to the lowest.\r\n<img class=\"alignnone wp-image-3656 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231914\/Module-8-Assignment-7.png\" alt=\"Screenshot of the assignment file with filter arrows on every heading cell in the first row.\" width=\"1005\" height=\"837\" \/><\/li>\r\n \t<li style=\"font-weight: 400;\">Use conditional formatting in the \u2018Ownership Type\u2019 column to highlight all car leases in red.\r\n<img class=\"alignnone wp-image-3657 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231932\/Module-8-Assignment-8.png\" alt=\"Screenshot of the assignment file. All cells in column K that read Lease are highlighted in red.\" width=\"1060\" height=\"840\" \/><\/li>\r\n \t<li style=\"font-weight: 400;\">Select the entire table and autofit the columns to be wide enough to fit all the data<\/li>\r\n \t<li style=\"font-weight: 400;\">Stop the macro recording.<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li style=\"font-weight: 400;\">Select \u2018Week 2\u2019 worksheet tab containing a new week of information. (Note: Make a copy of this tab first in case you need to redo the Macro. Remember once a Macro is run there is no going back with \u2018Undo Typing\u2019 option.)<\/li>\r\n \t<li style=\"font-weight: 400;\">Run the new macro and watch the new information change almost instantly.\r\n<img class=\"alignnone wp-image-3658 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231957\/Module-8-Assignment-9.png\" alt=\"Screenshot of the assignment file. All changes that had been manually made to Week 1 have been made to Week 2.\" width=\"1126\" height=\"896\" \/><\/li>\r\n \t<li style=\"font-weight: 400;\">Save your work by selecting Save As and choose Excel Macro-Enabled Workbook.\r\n<img class=\"alignnone wp-image-3659 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15232016\/Module-8-Assignment-10.png\" alt=\"Screenshot of a dropdown menu with the Excel Macro-Enabled Workbook (*xlsm) selected.\" width=\"553\" height=\"89\" \/><\/li>\r\n \t<li style=\"font-weight: 400;\">Submit the document in your course online.<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>","rendered":"<p>In this assignment, we will record a macro and run it to modify a spreadsheet of car loan data received on a weekly basis. After recording a macro for the first week, run the macro on a new set of data for week two.&#8217;<\/p>\n<p>To complete this assignment, <a href=\"https:\/\/course-building.s3-us-west-2.amazonaws.com\/ComputerApps\/Assignments\/Module%2B8%2Bassignment.xlsx\" target=\"_blank\" rel=\"noopener\">download the car loan file here<\/a>. Follow the directions, then submit your assignment. If you get stuck on a step, review this module and ask your classmates for help in the discussion forum.<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"font-weight: 400;\">Open the workbook and save the new Module 8 assignment file to the Rowan folder on your desktop as <strong>BA132_LastName_CarLoans.xlsx<\/strong>, replacing &#8220;LastName&#8221; with your own last name. (Example: BA132_Hywater_Memo) It is a good idea to save your work periodically.<\/li>\n<li style=\"font-weight: 400;\"><strong>Scenario:<\/strong> Each week you receive a worksheet filled with car loan data. To make it easier to analyze on a weekly, record a macro and change the worksheet look, calculate the monthly loan payment amount and identify which loans are leases. (Hint: Read through all the instructions first and practice going through the steps before starting the macro recording.)<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3650\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231635\/Module-8-Assignment-1.png\" alt=\"Screenshot of the downloaded file for this assignment\" width=\"710\" height=\"625\" \/><\/li>\n<li style=\"font-weight: 400;\"><strong>Record Macro:<\/strong> Open the spreadsheet and from the View tab or the Developer tab start a macro recording. Name the macro whatever you would like, add a short-cut key (optional), and write a description for it.\n<ol style=\"list-style-type: lower-alpha;\">\n<li style=\"list-style-type: none;\">\n<ol style=\"list-style-type: lower-alpha;\">\n<li style=\"font-weight: 400;\">Once the recording is started walk through these steps, then stop the recording.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3651 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231651\/Module-8-Assignment-2.png\" alt=\"Record Macro Dialog box. The Macro name is CarLoans. The Shortcut key is Ctrl+Shift+ L. Store this macro in This workbook. Description: Weekly report of car loans to format and calculate monthly payment amount.\" width=\"357\" height=\"291\" \/><\/li>\n<li style=\"font-weight: 400;\">Change the title row to any color, change the font color if needed, and bold the titles.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3652 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231719\/Module-8-Assignment-3.png\" alt=\"Screenshot of the assignment file where row one has been changed to have a green background and bold text.\" width=\"1005\" height=\"863\" \/><\/li>\n<li style=\"font-weight: 400;\">Change all the currency columns to a currency format (this includes the PV, Annual Income, Total Payment).<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3653 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231815\/Module-8-Assignment-4.png\" alt=\"Screenshot of the assignment file where the PV, Annual Income, and Total Payment columns have been changed to a currency format.\" width=\"1005\" height=\"863\" \/><\/li>\n<li style=\"font-weight: 400;\">Change the Interest Rate column to a percentage (%).<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3654 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231836\/Module-8-Assignment-5.png\" alt=\"Screenshot of the assignment file where the interest rate column has been changed to a percent format.\" width=\"1006\" height=\"864\" \/><\/li>\n<li style=\"font-weight: 400;\">Add in a new column to the right of the Interest Rate column and call it PMT.<\/li>\n<li style=\"font-weight: 400;\"><strong>Financial Function:<\/strong> In the new column use the PMT function and calculate the monthly payment amount for the first loan. (Remember the rate needs to be divided by 12 to get the monthly payment and place a minus sign before the PV cell (-B2) if you don\u2019t want the negative red numbers.)<\/li>\n<li style=\"font-weight: 400;\">Autofill the rest of the column with the formula to discover each loan\u2019s monthly payment amount.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3655 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231856\/Module-8-Assignment-6.png\" alt=\"Screenshot of the assignment file with a new Column E with the heading PMT. The column has monthly payment information for each loan.\" width=\"1087\" height=\"836\" \/><\/li>\n<li style=\"font-weight: 400;\">Add filters to column titles and sort the monthly payment amount from the highest to the lowest.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3656 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231914\/Module-8-Assignment-7.png\" alt=\"Screenshot of the assignment file with filter arrows on every heading cell in the first row.\" width=\"1005\" height=\"837\" \/><\/li>\n<li style=\"font-weight: 400;\">Use conditional formatting in the \u2018Ownership Type\u2019 column to highlight all car leases in red.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3657 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231932\/Module-8-Assignment-8.png\" alt=\"Screenshot of the assignment file. All cells in column K that read Lease are highlighted in red.\" width=\"1060\" height=\"840\" \/><\/li>\n<li style=\"font-weight: 400;\">Select the entire table and autofit the columns to be wide enough to fit all the data<\/li>\n<li style=\"font-weight: 400;\">Stop the macro recording.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li style=\"font-weight: 400;\">Select \u2018Week 2\u2019 worksheet tab containing a new week of information. (Note: Make a copy of this tab first in case you need to redo the Macro. Remember once a Macro is run there is no going back with \u2018Undo Typing\u2019 option.)<\/li>\n<li style=\"font-weight: 400;\">Run the new macro and watch the new information change almost instantly.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3658 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15231957\/Module-8-Assignment-9.png\" alt=\"Screenshot of the assignment file. All changes that had been manually made to Week 1 have been made to Week 2.\" width=\"1126\" height=\"896\" \/><\/li>\n<li style=\"font-weight: 400;\">Save your work by selecting Save As and choose Excel Macro-Enabled Workbook.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3659 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/3008\/2020\/01\/15232016\/Module-8-Assignment-10.png\" alt=\"Screenshot of a dropdown menu with the Excel Macro-Enabled Workbook (*xlsm) selected.\" width=\"553\" height=\"89\" \/><\/li>\n<li style=\"font-weight: 400;\">Submit the document in your course online.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-5413\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Original<\/div><ul class=\"citation-list\"><li>Assignment: Create Macro for Car Loan Spreadsheet. <strong>Authored by<\/strong>: Sherri Pendleton. <strong>Provided by<\/strong>: Lumen Learning. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":428269,"menu_order":20,"template":"","meta":{"_candela_citation":"[{\"type\":\"original\",\"description\":\"Assignment: Create Macro for Car Loan Spreadsheet\",\"author\":\"Sherri Pendleton\",\"organization\":\"Lumen Learning\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-5413","chapter","type-chapter","status-publish","hentry"],"part":5319,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/wm-computerapplicationsmgrs-2\/wp-json\/pressbooks\/v2\/chapters\/5413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/wm-computerapplicationsmgrs-2\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/wm-computerapplicationsmgrs-2\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/wm-computerapplicationsmgrs-2\/wp-json\/wp\/v2\/users\/428269"}],"version-history":[{"count":1,"href":"https:\/\/courses.lumenlearning.com\/wm-computerapplicationsmgrs-2\/wp-json\/pressbooks\/v2\/chapters\/5413\/revisions"}],"predecessor-version":[{"id":5414,"href":"https:\/\/courses.lumenlearning.com\/wm-computerapplicationsmgrs-2\/wp-json\/pressbooks\/v2\/chapters\/5413\/revisions\/5414"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/wm-computerapplicationsmgrs-2\/wp-json\/pressbooks\/v2\/parts\/5319"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/wm-computerapplicationsmgrs-2\/wp-json\/pressbooks\/v2\/chapters\/5413\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/wm-computerapplicationsmgrs-2\/wp-json\/wp\/v2\/media?parent=5413"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/wm-computerapplicationsmgrs-2\/wp-json\/pressbooks\/v2\/chapter-type?post=5413"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/wm-computerapplicationsmgrs-2\/wp-json\/wp\/v2\/contributor?post=5413"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/wm-computerapplicationsmgrs-2\/wp-json\/wp\/v2\/license?post=5413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}