Working With Advanced Excel 2013 - Activity Book
Working With Advanced Excel 2013 - Activity Book
Chapters Conventions
Task
Activity
Problem Statement
Solution
Exercises
Table of Contents
Prologue ------------------------------------------------------------------------------------ i
Conventions------------------------------------------------------------------------------- ii
Task 4.1: Loading the Data from a Tab Delimited Text File ------------------- 4.3
Task 4.2: Loading the Data from the Internet ------------------------------------ 4.6
Task 4.3: Exporting Data to the Text Files ---------------------------------------- 4.8
Task 4.4: Exporting Worksheet to the Web --------------------------------------- 4.9
Activity 4.1: Transferring the Data from Microsoft Excel to
Microsoft PowerPoint ----------------------------------------------------------------- 4.10
Problem Statement ----------------------------------------------------------------- 4.10
Solution ----------------------------------------------------------------------------- 4.10
Exercises --------------------------------------------------------------------------------- 4.12
Convention Indicates…
Note
Chapter 1
Task 1.1: Sorting the Data in a Workbook
Prerequisite: To perform this task, you need to use the SupplierDetails.xlsx workbook.
To sort the data in a workbook, you need to perform the following steps:
1. Open the SupplierDetails.xlsx workbook.
2. Select the B1 cell.
3. Click the Sort & Filter drop-down button in the Editing group under the Home tab. The drop-down list
is displayed.
4. Select the Sort A to Z option. The data in the SupplierDetails.xlsx workbook will be displayed, as
shown in following figure.
Prerequisite: To perform this task, you need to use the ProductsDetails.xlsx workbook.
To filter the data in a workbook, you need to perform the following steps:
1. Open the ProductsDetails.xlsx workbook.
2. Select the C1 cell.
3. Click the Sort & Filter drop-down button in the Editing group under the Home tab. The drop-down
list is displayed.
4. Select the Filter option.
5. Click the drop-down button in the C1 cell. The drop-down list is displayed.
6. Clear the (Select All) check box.
7. Select the 3 check box.
Prerequisite: To perform this task, you need to use the DivisionSales.xlsx workbook.
To group the data in a workbook, you need to perform the following steps:
1. Open the DivisionSales.xlsx workbook.
2. Select the A4:E7 cell range.
3. Click the Data tab.
4. Click the down arrow of the Group drop-down button in the Outline group. The drop-down list is
displayed.
5. Select the Group option. A Group dialog box is displayed.
6. Ensure that the Row option selected.
7. Click the OK button.
8. Select the A10:E13 cell range.
9. Repeat the steps 4 to 7.
10. Select the A16:E19 cell range.
11. Repeat the steps 4 to 7.
12. Select the A22:E25 cell range.
13. Repeat the steps 4 to 7.
14. Select the A28:E31 cell range.
Prerequisite: To perform this task, you need to use the SalaryDetails.xlsx workbook.
To encircle invalid data in the cells, you need to perform the following steps:
1. Open the SalaryDetails.xlsx workbook.
2. Select the C4:J23 cell range.
3. Click the Data tab.
4. Click the down arrow of the Data Validation drop-down button in Data Tools group. The drop-
down list is displayed.
5. Select the Data Validation option. The Data Validation dialog box is displayed.
6. Ensure that Settings tab is selected.
7. Click the Allow drop-down list. The drop-down list is displayed.
8. Select the Decimal option.
9. Click the Data drop-down list. The drop-down list is displayed.
10. Select the greater than option.
11. Type -1 in the Minimum text box.
12. Click the OK button.
13. Click the down arrow of the Data Validation drop-down button in Data Tools group under the Data
tab. The drop-down list is displayed.
Note
SUM() is a built-in function provided in Excel to calculate the sum of values in
the cells.
Problem Statement
Consider the scenario of Scholastic Book, the largest publisher of books in the US. The company publishes
different categories of books, such as Education, Comics, Novels, and Dictionaries. The details of the
books, such as the Book Name, Edition, Price, and Author, which are published in the current year, are
stored in Excel worksheet.
The Manager wants to view the book details in alphabetical order of book name. In addition, he wants to view
the details of the books authored by Sarah Holding. Help the manager to accomplish the required task.
Solution
Prerequisite: To perform the activity, you need to use the BookDetails.xlsx workbook.
To view the worksheet as required by the manager, he needs to perform the following tasks:
1. Sort the book names in alphabetical order.
2. Filter the books details on author name Sarah Holding.
Task 1: Sorting the Book Names in Alphabetical Order
To sort the book names in alphabetical order, you need to perform the following steps:
1. Open the BookDetails.xlsx workbook.
2. Select the C1 cell.
3. Click the Sort & Filter button in the Editing group under the Home tab. The drop-down list
is displayed.
4. Select the Sort A to Z option.
5. Save the Microsoft Excel workbook.
Task 2: Filtering the Book Details on Author Name Sarah Holding
To filter the book details on author name Sarah Holding, you need to perform the following steps:
1. Select the E1 cell.
2. Click the Sort & Filter button in the Editing group under the Home tab. The drop-down list displayed.
3. Select the Filter option.
4. Click the Author drop-down button.
5. Clear the (Select All) check box.
6. Select the Sarah Holdings check box.
Problem Statement
Consider the scenario of Berkley’s store, a leading electronics store in Ohio. The sales detail of last year
is available in a workbook. From this data, Sam, the Sales Manager, wants to analyze sales performance
of previous year. To accomplish this, Sam needs to perform the following operations:
Find the total quantity of each product sold in the year.
Find the maximum quantity of each product sold in the year.
Find the minimum quantity of each product sold in the year.
Find the average quantity of each product sold in the year.
Solution
Prerequisite: To perform the activity, you need to use the Berkley’s.xlsx workbook.
To solve the preceding problem, you need to perform the following tasks:
1. Find the total quantity of each product sold in the year.
2. Find the maximum quantity of each product sold in the year.
3. Find the minimum quantity of each product sold in the year.
4. Find the average quantity of each product sold in the year.
Task 1: Finding the Total Quantity of Each Product Sold in the Year
To find the total quantity of each product sold in the year, you need to perform the following steps:
1. Open the Berkley’s.xlsx workbook.
2. Select the O2 cell.
3. Type the formula, =Sum(C2:N2).
4. Select the O2:O51 cell range.
5. Click the Fill drop-down button in the Editing group under the Home tab. The drop-down list is
displayed.
To find the maximum quantity of each product sold in the year, you need to perform the following steps:
1. Select the P2 cell.
2. Type the formula, =Max(C2:N2).
3. Select the P2:P51 cell range.
4. Click the Fill drop-down button in the Editing group under the Home tab. The drop-down list is
displayed.
To find the minimum quantity of each product sold in the year, you need to perform the following steps:
1. Select the cell Q2.
2. Type the formula, =Min(C2:N2).
3. Select the Q2:Q51 cell range.
4. Click the Fill drop-down button in the Editing group under the Home tab. The drop-down list is
displayed.
To find the average quantity of each product sold in the year, you need to perform the following steps:
1. Select the cell R2.
2. Type the formula, =AVERAGE(C2:N2).
3. Select the R2:R51 cell range.
4. Click the Fill drop-down button in the Editing group under the Home tab. The drop-down list is
displayed.
Problem Statement
Adam wants to buy a new car. For this purpose, he contacted two dealers. Both of them offered him different
prices for the car. The first dealer is selling the car at a price of $29,006 and the second dealer is selling the
car at a price of $31,679. However, as the price of the car is high, Adam decides to buy the car on the EMI
scheme. Therefore, he asks the dealers to provide him the details of EMI scheme offered by them. The first
dealer is offering the EMI scheme at 5% annual interest rate for the loan period of five years. Whereas, the
second dealer is offering the EMI scheme at 4% annual interest rate for the loan period of eight years. To
finalize the dealer from whom to buy the car, Adam wants to know the amount of the monthly installments,
he has to pay to each dealer. In addition, he wants to compare the total amount he has to pay including the
interest in both the deals.
Solution
Prerequisite: To solve the problem, you need to use the EMI.xlsx workbook.
To solve the preceding problem, you need to perform the following tasks:
1. Find the EMI offered by both the car dealers.
2. Find the future value of loan for both the car dealers.
Task 1: Finding the EMI Offered by Both the Car Dealers
To find the EMIs offered by both the car dealers, you need to perform the following steps:
1. Open the EMI.xlsx workbook.
2. Select the cell B5 and type =PMT(B3/12,B4*12,-B2), and then press the Enter key. The EMI value
of Car Dealer 1 will be displayed in the cell as $547.38.
3. Select the cell G5 and type =PMT(G3/12,G4*12,-G2), and then press the Enter key. The EMI value
of Car Dealer 2 will be displayed in the cell as $386.14.
4. Save the workbook.
Task 2: Finding the Future Value of Loan for Both the Car Dealers
To find the future value of loan for both the car dealers, you need to perform the following steps:
1. Select the cell B6 and type =FV(B3/12,B4*12,-B5), and then press the Enter key. The future value
of the loan for Car Dealer 1 will displayed as $37,225.10.
2. Select the cell G6 and type =FV(G3/12,G4*12,-G5), and then press the Enter key. The future value
of the loan for car dealer 2 will be $43,602.43.
3. Save and close the Microsoft Excel window.
Consider the scenario of University of Minnesota. The university is conducting an entrance examination
for the various courses offered by the university. It has received a large number of applications for the
entrance test. John, the Examination Controller, records all the applicants’ details in a worksheet. To
generate the admit cards and the entrance ids for the students, John is required to arrange the data by
ordering the names of applicants in an alphabetical order. You need to help John to accomplish the task.
Prerequisite: To perform this exercise, you need to use the ApplicantsDetails.xlsx workbook.
Hint 1: Use the Sort & Filter drop-down button.
Hint 2: Use the Sort A to Z option.
Exercise 2
Consider the scenario of MultiTech Software Solutions Inc. Jason, the HR Manager, is recording the
employee details in a Microsoft Excel worksheet. Jason wants to arrange the details in such a way that
the department names, along with the names of the employees in each department, are arranged in an
alphabetical order. You need to help Jason to accomplish the task.
Prerequisite: To perform this exercise, you need to use the EmployeeDetails.xlsx workbook.
Hint 1: Use the Sort & Filter drop-down button.
Hint 2: Use the Sort dialog box.
Exercise 3
Consider the scenario of Hilton Finance Services. The company maintains all its employee details in a
Microsoft Excel worksheet. Jose, the HR Executive, wants to view the details of the employees working
in the Finance department. You are required to help Jose to accomplish the task.
Prerequisite: To perform this exercise, you need to use the EmployeeDetails.xlsx workbook.
Hint 1: Use the Sort & Filter drop-down button.
Hint 2: Use the Filter option.
Exercise 4
Consider the scenario of Posco Supermart Inc. The company records all its current year sales details in a
Microsoft Excel worksheet for different regions in the world, where each region consists of a number of
countries. To calculate the total sales of all the regions, Patrick, the Sales Manager at the head office in
Colorado, is required to calculate the total sales of each region separately. This wastes his time. You are
required to help Patrick to find the total sales of all the regions by assigning a combined name to the
countries in each region. Thereafter, calculate the total sales by using the assigned names of these regions.
Prerequisite: To perform this exercise, you need to use the SalesDetails.xlsx workbook.
Hint 1: Use the Formula tab.
Hint 2: Use the New Name dialog box.
Consider the scenario of Highland Blue Florist, which is owned by Bailey. The flower store is famous
among people in the town for its variety of flowers. Bailey has recorded the details of all the flowers in a
Microsoft Excel worksheet. A customer wants to buy some orchids and asks for the details of different types
of orchids that are available in the store. To look for the variety of orchids, Bailey is required to check each
and every entry. This will waste a lot of his time. Therefore, he is required to apply some method, which will
enable him to highlight the details of orchids. You need to help Bailey, so that he can find all the types of
orchids in a more convenient manner.
Prerequisite: To perform this exercise, you need to use the FlowerDetails.xlsx workbook.
Hint 1: Use the Conditional Formatting drop-down button.
Hint 2: Use the Text That Contains dialog box.
Exercise 6
Consider the scenario of Jenson Powers, which is a leading company for electrical products in US. The
sales report of the first quarter is created by the Sales Officer, Mark. In the sales report, Mark wants that the
sales values above $1,000,000 should be colored red and displayed in a bold format. You need to help Mark
to accomplish the task.
Prerequisite: To perform this exercise, you need to use the SalesReport.xlsx workbook.
Hint 1: Use the Conditional Formatting drop-down button.
Hint 2: Use the New Formatting Rule dialog box.
Exercise 7
Consider the scenario of the Felocity chartered account services. The company handles the tax returns of its
clients. Shaun, the Accounts Officer, wants to calculate the amount of tax that the clients are required to
pay. Therefore, he prepares a worksheet to calculate the tax. He wants to ensure the following options:
Cells containing the income of the client should contain the decimal value greater than zero.
Cells containing the phone number should have 10 digits.
Prerequisite: To perform this exercise, you need to use the ClientDetails.xlsx workbook.
Hint 1: Use the Data Validation dialog box.
Hint 2: Use the Settings tab.
Exercise 8
Consider the scenario of Tabisco Infotech. Warren, the HR Manager, wants to see the overall performance
of all the employees. For this, the company has a performance measurement methodology, wherein, certain
scores are assigned to employees based on their performance. These scores are recorded in a Microsoft
Excel worksheet. Warren wants to know about those employees, who have scored less than the average
scores of all the employees. Help Warren to accomplish the task.
Prerequisite: To perform this exercise, you need to use the PerformanceReport.xlsx workbook.
Hint 1: Use the Conditional Formatting drop-down button.
Hint 2: Use the Below Average dialog box.
Consider the scenario of Benson & Hedges Technosoft, which is a software solution company
headquartered in the US. Gerard, the Sales Manager at the head office, receives the sales details of the year
2011, which are recorded in a Microsoft Excel worksheet, from one of the offices located in Europe. He
finds that some sale dates data has year as 2012. He wants to check all the dates, which are entered
incorrectly in the sales report. You are required to help Gerard to find all the incorrect dates.
Prerequisite: To perform this exercise, you need to use the SalesDetails.xlsx workbook.
Hint 1: Use the Data Validation dialog box.
Hint 2: Use the Circle Invalid Data option.
Exercise 10
Ron’s book store has several sales employees, who get their salary on the basis of total sales done by
them. There are different sales commission rates that are applied, depending on the monthly sales done by
an employee. The different commission rates are shown in the following table.
$- 0%
$70,000 2%
$100,000 5%
$150,000 6%
Consider the scenario of Hewitt Automobiles, a car manufacturing company in Texas. The manufacturing
details of cars of the last financial year are stored in a Microsoft Excel worksheet. Samantha, the Plant Head,
wants to analyze the manufacturing details of last year in order to take strategic decisions for the present
year. Samantha wants to find the maximum and minimum number of cars that were manufactured for each
model. In addition, she wants to know the total number of cars manufactured last year. Moreover, she wants
to find the average production of cars in the previous year. You are required to help Samantha to perform
the tasks.
Prerequisite: To perform this exercise, you need to use the ProductionDetails.xlsx workbook.
Consider the scenario of JF Kennedy Airport, which is one of the famous airports of the US. Karen, the
Air Traffic Controller at the JF Kennedy airport, maintains a record of all the flights on a daily basis in a
Microsoft Excel worksheet. Whenever a flight arrives or departs, she records down the time. Help Karen
to record the current date in a cell above the flight schedule details and record the arrival time, 11:30 PM
for British Airways - flight number 65876.
Prerequisite: To perform this exercise, you need to use the FlightDetails.xlsx workbook.
Hint 1: Use the TODAY function.
Hint 2: Use the TIME function.
Exercise 13
Consider a scenario of Optimystic Inc. Kathy, the Delivery Manager of the company, handles the details of
the all the projects assigned to different project managers. She maintains the details, such as the project
name, the project id, the manger’s name, the team members’ names, the start date of project, and the end date
of project in a Microsoft Excel worksheet. She wants to find the number of days spent to complete the
project. You are required to help Kathy to accomplish the task.
Prerequisite: To perform this exercise, you need to use the ProjectDetails.xlsx workbook.
Hint 1: Use the DATEDIF function.
Hint 2: Use the =DATEDIF(D2,E2,"d") formula in the F2 cell.
Exercise 14
Consider the scenario of TetraGraph Steel Production Company. Due to competition in the market, the
company is facing a financial crisis. Robert, the Finance Manager, consults a loan granting company, Quin
Financial Services, to take a loan to sustain in the market. For this purpose, he meets Frank, the Loan
Officer of Quin Financial Services, to enquire about the loan details. Quin Financial Services accepts to
offer a loan of $3.2 million for a period of 12 year at the annual rate of interest of 7%. Robert wants to find
the monthly installments he needs to pay. Help Robert to calculate the monthly installments.
Prerequisite: To perform this exercise, you need to use the MonthlyInstallments.xlsx workbook.
Hint 1: Provide the details in the B column.
Hint 2: Use the PMT function.
Exercise 15
Danny is planning to spend his summer vacation in Europe. For this purpose, he booked airline tickets, hotel
rooms, and tourist guides. After spending his money on bookings, he finds that his digital camcorder is not
working. He checks the price of the camcorder in an electronics store. Its price is $375. He cannot buy a new
camcorder as he does not have any money left. So, he decides to buy it on an installment scheme. He is
willing to pay $40 each month. The store offers the scheme at an annual interest of 6%. You are required to
help Danny calculate the duration of time period he is required to pay the installments.
Abraham wants to buy a new apartment at Madison Square Garden. The price of the apartment is $120,000.
He checks his bank account and finds that he does not have a sufficient amount. So, he decides to take a
loan from his friend Kelly. Kelly agrees to lend the money at an annual interest rate of 12% for a period of
six years. Abraham wants to know, how much amount of interest would be applied on the loan for the first
12 months. You are required to help Abraham to accomplish the task.
Prerequisite: To perform this exercise, you need to use the EMI.xlsx workbook.
Hint 1: Provide the details in the B column.
Hint 2: Use the IPMT function.
Exercise 17
Consider a scenario of Ideas Bookstore, which is a popular book store in Mississippi. The sales details of
the previous month are recorded in a Microsoft Excel worksheet. As it was the fifth anniversary month of
the store, Kathy, the Store Owner, decides to give a discount voucher to all the customers who purchased
books in the anniversary month on their next purchase. Each customer will be given a discount voucher of
15% of their bill, if they have purchased books worth $1800 or above in the previous month, otherwise, a
voucher of 5% of their bill. You are required to help Kathy to decide the amount of discount voucher that
should be given to the customers.
Prerequisite: To perform this exercise, you need to use the BookDetails.xlsx workbook.
Hint 1: Use the IF function.
Hint 2: Use the =IF(C2>1800,C2*0.15,C2*0.05) formula in the D2 cell.
Exercise 18
Consider a scenario of MSP Telecom BPO, which works for its clients to sell their products. Linda, the
Project Manager, is currently handling a project to sell the electronic products of KG Electronics.
Currently, there are 10 members working for this project under Linda. Each member is required to sell 25
products at the end of each day. Linda maintains a Microsoft Excel worksheet to record the daily sales of
each team member. At the end of the month, she wants to know whether the team members have achieved
their daily targets. You are required to help Linda to accomplish the task.
Prerequisite: To perform this exercise, you need to use the TargetDetails.xlsx workbook.
Hint 1: Use the IF and AND functions together.
Hint 2: Use the =IF(AND(B3> 25,B4>25,B5>25,B6>25,B7>25,B8>25,B9>
25,B10>25,B11>25,B12>25,B13>25,B14>25,B15> 25,B16>25,B17>25,B18>25,B19>25,B20>25,B21>
25,B22>25,B23>25,B24>25,B25>25,B26>25,B27> 25,B28>25,B28>25,B30>25,B31>25,B32>25),"Target
Achieved", "Target Not Achieved") formula in the B33 cell.
Consider the scenario of Guiding Solutions Company. As per the policy of the company, the annual
percentage hike in the salaries of the employees will be based on the performance grade. The employee
details, such as Employee Name, Salary, and Grade, are recorded in the Employee Details worksheet. The
increment applicable to the employee is required to be fetched from the Increment Details worksheet,
which contains details about the grades and the corresponding hike percentage. Wilma, the HR Manager,
wants to calculate the percentage hike in the salary of all the employees. In addition, he needs to calculate
the new salary. You are required to help Wilma to accomplish the task.
Prerequisite: To perform this exercise, you need to use the EmployeeDetails.xlsx workbook.
Hint 1: Use the HLOOKUP function.
Hint 2: Use the =Salary+(Salary* Hike Percentage) formula.
Exercise 20
Sam wants to invest an amount, which will fetch him $200,000 after 12 years at an annual interest of 9%.
Sam wants to know how much amount should be invested today, so that he gets a future value of $200,000.
You are required to help Sam to accomplish the task.
Prerequisite: To perform this exercise, you need to use the Investment.xlsx workbook.
Hint 1: Provide the details in the B column.
Hint 2: Use the PV function.
Exercise 21
Sean wants to plan an investment. For this, he plans to invest $500 in a fixed deposit every month for 10
years in a bank. The bank provides 8% annual interest on the fixed deposit. Sean wants to calculate how
much amount he would get at the end of the tenth year. Help Sean to accomplish the task.
Prerequisite: To perform this exercise, you need to use the Investment.xlsx workbook.
Hint 1: Provide the details in the B column.
Hint 2: Use the FV function.
Chapter 2
Task 2.1: Inserting an Embedded Chart and
Moving an Embedded Chart to a Chart Sheet
Prerequisite: To perform this task, you need to use the PaulFurnishers_Revenue.xlsx workbook.
To insert an embedded chart, you need to perform the following steps:
1. Open the PaulFurnishers_Revenue.xlsx workbook.
2. Ensure that the Revenue worksheet is selected.
3. Select the B3:D15 cell range.
4. Click the Insert tab.
5. Click the See All Charts ( ) button in the Charts group. The Insert Chart dialog box is displayed, as
shown in the following figure.
Note
You can also insert a chart in a worksheet by using the corresponding drop-down
buttons in the Charts group. For example, to insert a bar chart in a worksheet, you
can use the Insert Bar Chart button in the Charts group.
Prerequisite: To perform this task, you need to use the PaulFurnishers_Revenue.xlsx workbook.
To customize a chart, you need to perform the following steps:
1. Open the PaulFurnishers_Revenue.xlsx workbook.
2. Ensure that the Revenue worksheet is selected.
3. Select the embedded chart.
4. Ensure that the Design tab is selected.
5. Click the Add Chart Element drop-down button in the Chart Layouts group.
6. Select Chart Title, and then select Above Chart. The title is added and displayed in the chart.
7. Click the Add Chart Element drop-down button in the Chart Layouts group.
8. Select the Axis Title Primary Horizontal, and then replace the existing horizontal axis title with the text,
Month.
9. Repeat step 7.
10. Select the Axis Title Primary Vertical, and replace the existing vertical axis title with the text, Revenue.
11. Select the chart.
12. Click the Chart Tools Format contextual tab in Ribbon.
13. Replace the existing value in the Height spin box in the Size group with the value, 5" to set the height of
the chart area.
14. Replace the existing value in the Width spin box in the Size group with the value, 12" to set the
width of the chart area.
15. Press the Enter key.
16. Save and close the PaulFurnishers Revenue.xlsx workbook.
Note
If you want to place the PivotTable report in the worksheet containing the data,
select the Existing Worksheet option under the Choose where you want the
PivotTable report to be placed section. Thereafter, click an empty cell in the existing
worksheet where you want to insert the PivotTable report.
Prerequisite: To perform this task, you need to use the PaulFurnishers_Sales.xlsx workbook.
To customize a PivotTable report, you need to perform the following steps:
1. Open the PaulFurnishers_Sales.xlsx workbook.
2. Ensure that the PivotTable_Report worksheet is selected.
3. Select the B5 cell.
4. Click the PivotTable Tools -> Analyze contextual tab in Ribbon.
5. Click the Field Settings button in the Active Field group. The Value Field Settings dialog box is
displayed, as shown in the following figure.
Note
If you add a new slicer for the PivotTable report in a worksheet that already contains
a slicer, the new slicer is added over the existing slicer in the worksheet. Therefore,
the existing slicer is not visible.
24. Scroll right to move to the end of the PivotTable report.
Prerequisite: To perform this task, you need to use the PaulFurnishers_Sales.xlsx workbook.
To disconnect a slicer, you need to perform the following steps:
1. Open the PaulFurnishers_Sales.xlsx workbook.
2. Ensure that the PivotTable_Report worksheet is selected.
3. Ensure that a cell is selected in the PivotTable report.
4. Click the Company Name slicer.
5. Click the Clear Filter button in the Company Name slicer, as shown in the following figure.
Note
You will notice that the Company Name slicer is no more connected to the PivotTable
report. Thus, if you click any button in this slicer, the data in the PivotTable report
remains unchanged.
Harry asks Alvin to create a report containing the product wise revenue distribution of the total revenue
generated in 2011. To accomplish this task, Alvin creates a textual report and submits the same to Harry.
When Harry analyzes this report, he fails to understand the individual contribution of each product in the
total revenue. Therefore, he asks Alvin to generate a meaningful graphical report. Help Alvin accomplish
the desired task.
Prerequisite: To perform this exercise, you need to use the Productwise_Distribution.xslx workbook.
Hint 1: Insert a pie chart to graphically represent the revenue percentage of each product with respect to
the total revenue.
Hint 2: Use the Insert tab in Ribbon to insert the pie chart.
Exercise 2
To expand the business, the management of Alpha Supermart decides to open a new branch. Before opening
the branch, the management wants to create business plans to decide the location where the new branch
should be opened. To create the strategic plans and to make the important business decisions, the
management needs to compare the month wise revenues of the last two years. Therefore, the management
asks Alvin, the Sales Executive, to create a report that graphically depicts the sales data of the last two years.
To accomplish this task, Alvin decides to insert a chart in the report. Alvin wants to make this report
understandable by adding the following features to the chart:
1. The chart title at the center, at the top of the report
2. The title for the horizontal and vertical axes
3. The data table beneath the chart
4. The data labels at the top of each bar in the chart
Help Alvin accomplish the desired tasks.
Prerequisite: To perform this exercise, you need to use the AlphaSupermart_Revenue.xslx workbook.
Hint 1: Insert a column chart to graphically represent the month wise revenues of the last two years.
Hint 2: Use the Chart Tools Layout contextual tab in Ribbon to add the required features to the chart.
Exercise 3
Alvin sends the report containing the month wise revenue details of the last two years to Peter, the Senior
Sales Manager. After reviewing this report, Peter asks Alvin to create a report that only contains the chart
and its components. In addition, he asks Alvin that the report should not contain the details of the data
sets. Further, he asks Alvin to use the similar formatting style and layout in all the graphical reports in
future. Help Alvin accomplish the desired tasks.
Prerequisite: To perform this exercise, you need to use the AlphaSupermart_Revenue.xslx workbook.
Hint 1: Move the chart to a chart sheet to create a report that only contains the chart and its components.
Hint 2: Save the chart as a template to save the formatting style and layout of the chart.
Smith Dave, the owner of Alpha Supermart, asks Peter to create a report that contains the details of the sales
made by the sales person, Callie Wilson, in October, 2011. In addition, he asks Peter that he wants to know
the average sales and the total sales made by Callie Wilson in October, 2011. Further, he asks Peter to create
this report in such a way that Smith is able to instantly view the details of the sales made by any sales
person. To accomplish this task, Peter needs to work on a large amount of data. Therefore, creating such a
report will be time consuming. However, Peter wants to create this report quickly. Help Alvin accomplish
the desired tasks.
Prerequisite: To perform this exercise, you need to use the AlphaSupermart_Data.xlsx workbook.
Hint 1: Create and customize a pivot table to generate the required report.
Hint 2: Add slicers to filter the report data on the basis of the required sales person name, year, and month
in the year.
Exercise 5
At the beginning of 2011, Harry has asked Alvin to create a report on the sales of 2010 depicting:
The total sales made against each client.
The total sales made against all the clients.
The percentage of the total sales generated from each client.
The total number of transactions made against each client.
The total number of transactions made against all the clients.
Peter creates a PivotTable report and shows it to Smith Dave. However, when Smith reviews the report,
he fails to understand the data in the report. Therefore, to make the data in the PivotTable report more
understandable, Peter decides to represent it graphically. Help Peter accomplish the desired task.
Prerequisite: To perform this exercise, you need to use the AlphaSupermart_Data.xlsx workbook.
Hint 1: Insert a PivotChart report to graphically represent the data in the PivotTable report.
Hint 2: Use the PivotTable Tools Options contextual tab in Ribbon to insert the PivotChart report.
Chapter 3
Task 3.1: Inserting Sparkline
Note
In step 5 refer O19 as O20, O21, and O22, respectively and in step 8 refer C19:N19
as C20:N20, C21:N21, and C22:N22, respectively.
Problem Statement
Consider the scenario of Swingpool Inc. Joe has submitted the report for the production of refrigerators to
Samantha in the Microsoft Excel worksheet. Samantha wants to analyze this data to predict the budget
allocation for the production of refrigerators for the next three months. For this, Samantha wants to observe
the trend of the total production and the overhead incurred by the plant in 2010. Therefore, she asks Sandra,
a Sales Executive, to show the data trend.
You need to help Sandra to accomplish the preceding task.
Prerequisite: To perform this activity, you need to use the Swingpool.xlsx workbook.
Solution
To solve the preceding problem, you need to perform the following tasks:
1. Create a data chart.
2. Create a trendline.
Task 1: Creating a Data Chart
To use the scenario manager tool, you need to perform the following steps:
1. Open the ScenarioTurbin.xlsx workbook.
2. Ensure that the Sheet1 worksheet is selected.
3. Click the Data tab in Ribbon.
4. Click the What-If Analysis drop-down button in the Data Tools group, and then select Scenario
Manager. The Scenario Manager dialog box is displayed, as shown in the following figure.
Note
If the Microsoft Excel message box is displayed, you need to click the OK button. This
message is displayed if you have selected a cell containing a formula in the Changing
cells text box.
10. Click the OK button. The Scenario Manager dialog box is displayed with the Turbin_1 scenario added
in the Scenarios list box.
11. Click the Show button to view the effect of the scenario that you have created. Notice that the values in
the cells, which you have specified in the Changing cells text box, are replaced with the values that
you have specified while creating the scenario.
12. Click the Close button.
13. Save and close the ScenarioTurbin.xlsx workbook.
To use the goal seek tool, you need to perform the following steps:
1. Open the GoalSeekTurbin.xlsx workbook.
2. Ensure that the Vehicle_Mounted worksheet is selected.
3. Select the D11 cell.
4. Click the Data tab in Ribbon.
5. Click the What-If Analysis drop-down button in the Data Tools group, and then select Goal Seek. The
Goal Seek dialog box is displayed.
6. Type 0 in the To value text box.
7. Type $D$6 in the By changing cell text box.
8. Click the OK button. The Goal Seek Status dialog box is displayed.
9. Click the OK button. The solution found by the Goal Seek tool is applied in the D6 cell, which specifies the
number of generators to be produced to attain the break-even value, as shown in the following figure.
To enable the Solver add-in, you need to perform the following steps:
1. Open the Microsoft Excel workbook.
2. Click the File tab.
3. Click Options in the left pane. The Excel Options dialog box is displayed.
4. Click the Add-Ins tab in the left pane.
5. Select the Solver Add-in option from the Inactive Application Add-ins list under the Name column
from the right pane.
6. Click the Go button. The Add-Ins dialog box is displayed.
7. Select the Solver Add-in check box.
8. Click the OK button. The Solver add-in is added in the Analysis group of the Data tab in Ribbon.
9. Close the workbook without saving.
Consider the scenario of PureDrink Inc., which is a leading organization in manufacturing soft drinks, and
has its head quarter in Los Angles. The organization manufactures various soft drink products, such as
Liquid Mango, Tangy Orange, Strawberry Twirl, and Aqua Clear. Keith is the Sales Manager of the
organization, and develops the sales strategies. Recently, Keith has observed a huge decline in the demand
of all the soft drink products. Therefore, he decides to analyze the sales data of soft drinks for the last one
year to check the fluctuation in the sales data whether there is a frequent decline or it just depends on the
seasonal requirements. He has to present this data to the board members. Therefore, he decides to present the
sales report with graphical representation.
Help Keith to create the sales report with graphical representations.
Prerequisite: To perform this exercise, you need to use the PureTech.xslx workbook.
Hint 1: Use the Sparkline feature.
Hint 2: Use the Insert tab.
Exercise 2
Consider the scenario of Global Fertilizers Inc., which is a leading organization in manufacturing fertilizers
in the U.S. Mark is the Chief Operations Officer of the organization. Mark has to calculate the budget for
the production of fertilizers for the next financial quarter. However, before making the budget report he
wants to analyze the budget trend, which was spent on the production of fertilizers in the financial year,
2009. Thereafter, he will predict the budget expense for the next financial quarter, based on this budget
trend report. He assigns this task to Garry who is a Sales Executive.
Help Garry to create the budget trend report.
Prerequisite: To perform this exercise, you need to use the GlobalFertilizers.xslx workbook.
Hint 1: Insert a scatter chart in the worksheet.
Hint 2: Use the Trendline feature.
Exercise 3
Peter wants to build a house. The total estimated expense of constructing the house is $20,000. He is having
a savings of $5,000, and he is looking for a loan amount of $15,000. For this, he wants to take a home loan
from the bank, Home Finance. The bank representative has told him that the loan amount will be sanctioned
at an interest rate of 12% per annum for a period of 45 months, which makes a repayment of $416 per
month. When Peter calculated the total amount, which he will be repaying in 45 months, he got $18,700 as
the result. Now, Peter wants to increase the number of repayment periods as he would not be able to pay
$416 per month. However, he doesn’t want to increase the total repaid amount more than $20,000. He needs
a solution for this.
Help Peter to find the solution.
Consider the scenario of Blitz Flash Corporation, which is a leading organization in the production of
electrical equipment. Recently, the organization has decided to start the production of Compact
Florescent Lamp (CFL). For this, they have the following requirement:
1. No. of units produced in each model should not exceed 200 and should be more than 40.
2. Price per unit should not be more than $25 and should not be less than $10.
3. The total number of units produced should not exceed 1200.
4. The total budget spent on the production should not exceed $20,000.
As per the preceding requirements, the organization wants to earn a high profit. For this, they want to
optimize the profit, which they have calculated initially. Stephen has been assigned the task of optimizing the
profit.
You need to help Stephen in accomplishing the preceding task.
Prerequisite: To perform this exercise, you need to use the BlitzFlash.xlsx workbook. In addition, you need
to install the Solver add-in in Microsoft Excel.
Hint 1: Use the Solver option.
Hint 2: Use the Data tab.
Exercise 5
Consider the scenario of PlayCon Corporation, which is a leading organization in manufacturing sports
related products. Roger is the Sales Manager of the organization, and he has to prepare the sales forecast for
the next financial year. This report should include the total production cost as well as the expected profit.
Roger has made the sales forecast, but he wants to check the expected profit if it can be maximized by
replacing the set of values in the report with another set of values. He wants to show the best case that can
generate maximum profit as well as the average case, which can be achieved. For the best case scenario, he
decides to change the current quantities for Shoes, T-Shirts, Track Suits, and Pull Overs by the quantities,
240, 300, 210, and 220. For the average case scenario, he decides to change the quantities for T-Shirts, Track
Suits, Socks, and Pull Overs by the quantities, 150, 120, 100, and 110.
Help Roger to accomplish the preceding requirements.
Prerequisite: To perform this exercise, you need to use the Playcon.xlsx workbook.
Hint 1: Use the Scenario Manager tool of Microsoft Excel.
Hint 2: Use the Data tab.
Philippe is a 25 years old working professional and wishes to retire at the age of 65. He invests $150 each
month into his retirement account. The average annual return on his retirement account is 6% per annum. On
the basis of the given information, perform the following tasks:
Calculate Philippe’s final saving at the age of 65.
If Philippe has a goal of attaining $1,000,000 in his retirement account, how much should he invest each
month?
Philippe has come to know about certain mutual fund investments that will yield a higher rate of return.
If Philippe can deposit a maximum of $150 each month into his retirement account and wishes to have
$1 million in his account, at what rate of return should he invest to achieve this?
Philippe wants to evaluate a few retirement investment options available with the bank. Use scenario manager
to generate a summary report of the following options:
Investing $200 per month at 12% annual return for 40 years.
Investing $175 per month at 9% annual return for 40 years.
Investing $150 per month at 6% annual return for 40 years.
Prerequisite: To perform this exercise, you need to use the Retirement Analysis.xlsx file.
Hint 1: Use the FV function.
Hint 2: Use Goal Seek and Scenario Manager.
Exercise 7
Chapter 4
Task 4.1: Loading the Data from a Tab
Delimited Text File
Prerequisite: To perform this task, you need to use the Import.txt file.
To load data from a tab delimited text file, you need to perform the following steps:
1. Open the Microsoft Excel window.
2. Click the Data tab.
3. Click the From Text button in the Get External Data group. The Import Text File dialog box
is displayed, as shown in the following figure.
Note
You can also import .csv (Comma Separated Values) file in Microsoft Excel.
Note
Since the Sensex changes everyday, the data in the Microsoft Excel worksheet
may vary.
Prerequisite: To perform this task, you need to use the Export.xlsx file.
To export data to the text files, you need to perform the following steps:
1. Open the Export.xlsx file.
2. Click the File tab. The Backstage view is displayed.
3. Select the Save As option.
4. Browse to the location where you want to save the file.
5. Type the file name as ExportData in the File name text box.
6. Select the Text (Tab delimited) option from the Save As type drop-down list.
7. Click the Save button. The Microsoft Excel message box is displayed.
8. Click the OK button. The Microsoft Excel message box is displayed.
9. Click the Yes button.
10. Browse to the location where the ExportData.txt file is saved and open the file. The data from
Microsoft Excel will be exported to the text file, as shown in the following figure.
Prerequisite: To perform this task, you need to use the Export.xlsx file.
To export worksheet to the web, you need to perform the following steps:
1. Open the Export.xlsx file.
2. Click the File tab. The Backstage view is displayed.
3. Select the Save As option.
4. Browse to the location where you want to save the file.
5. Type the file name as ExportData in the File name text box.
6. Select the Web Page option from the Save As type drop-down list.
7. Click the Save button. The Microsoft Excel message box is displayed.
8. Click the Yes button.
9. Browse to the location where the ExportData.htm file is saved and open the file. The data
from Microsoft Excel will be exported to the Web, as shown in the following figure.
Problem Statement
Consider the Scenario of LeatherWear LLC, which deals in leather garments. The company is planning to
invest into textiles. For this purpose, the CEO of the company has asked Ian, the Finance Manager, to
present a presentation in the next meeting of the board members. He is required to provide them the details
about the financial details of the company, to make decisions.
Ian has created a financial report in the Microsoft Excel worksheet. Therefore, Ian needs to transfer the
data from worksheets to the Microsoft PowerPoint. Help Ian to accomplish the preceding requirement.
Prerequisite: To perform this activity, you need to use the FinanceRecords.xlsx.
Solution
To transfer the data from worksheet to Microsoft PowerPoint, you need to perform the following steps:
1. Open the FinanceRecords.xlsx file.
2. Select the A1:C13 cell range.
3. Click the down arrow of the Copy drop-down button in the Clipboard group under the Home tab, and
then select Copy.
4. Launch the Microsoft PowerPoint window to open a blank presentation.
5. Click the Layout drop-down button in the Slides group under the Home tab, and then select Blank.
6. Click the down arrow of the Paste drop-down button in the Clipboard group under the Home tab, and
then select Paste Special. The Paste Special dialog box is displayed, as shown in the following
figure.
Andy invested his money in gold. For this purpose, he checks the rise and fall in the prices of the gold each day.
He finds that the price of the gold changes in very frequently. He wants to record the changes in the price in
each trading session in order to analyze the trend in the market. He finds a website, which displays the gold
price for trading sessions. He wants import the data in the Microsoft Excel worksheet in order to know the rise
and fall in the gold prices. Help Andy to load the data from Internet to the worksheet.
Prerequisite: To perform the exercise, you need to use the website address
http://www.londonstockexchange.com/exchange/prices-and-
markets/stocks/summary/company-summary.html?
fourWayKey=IE00B4XVDC01IEGBXASQ1
Hint 1: Use the New Web Query dialog box to import the data.
Hint 2: To open the New Web Query dialog box, use the Data tab in Ribbon.
Exercise 2
Consider a scenario of PathWay Logistics Company. The company uses customized software, Empsolution, to
store the details of the employees. The software is designed in such a manner that the data exchange is done in
CSV file format. Linda, the HR Manager, wants to find the number of leaves taken by the employees so that she
can prepare the payroll. For this purpose, she retrieves the employee details using the software tool, which gives
the employee details in a text file format. Linda wants these details in the Microsoft Excel worksheet in order to
find the number of leaves taken by employees. Help Linda to accomplish the task.
Prerequisite: To perform the exercise, you need to use the EmployeeDetails.CSV file.
Hint 1: Use the Import Text File dialog box to import the data.
Hint 2: To open the Import Text File dialog box, use the Get External Data group under the Data tab
in Ribbon.
Exercise 3
Consider a scenario of FCC Technology, which provides software services to large number of client
organizations. Marlon, the Marketing Manager of the company, works for business development by making
new clients. He is required to visit offices of other organization to present the working of the company and
the software products that they have made. For this purpose, he collects the software products details from
the respective departments. These details are stored in the Microsoft Excel worksheet. He is required to
transfer the details to Microsoft PowerPoint, so that he can prepare the presentation for the company. Help
Marlon to accomplish the task.
Prerequisite: To perform the exercise, you need to use the ProductDetails.xlsx file.
Hint 1: Use the Copy drop-down button in the Clipboard group under the Home tab in Microsoft Excel
to copy and move the data to MS PowerPoint.
Hint 2: Use the Paste drop-down button in the Clipboard group under the Home tab in MS PowerPoint.
Consider a scenario of Ultraglobal Company, which provides audit services to its clients in different
countries. Presently, the company is working on audits for one of its client Park Hotel in England. The
Ultraglobal Company prepares the audit reports for the client using the Microsoft Excel worksheet.
However, the Park Hotel uses a legacy Information System to maintain its company transaction details. This
legacy Information System can accept only text files as input. Therefore, the Ultraglobal Company has to
send the summary of the audit reports to the client in a text file format. Help the Ultraglobal Company to
accomplish the required task.
Prerequisite: To perform the exercise, you need to use the Export.xlsx file.
Hint 1: Use the Save As dialog box.
Hint 2: Use the Text (Tab delimited) option from the Save as type drop down list in the Save As dialog
box.
Chapter 5
Task 5.1: Protecting Workbook with
Password
To protect workbook with password, you need to perform the following steps:
1. Open the Microsoft Excel window.
2. Click the File tab. The Backstage view is displayed.
3. Click the Info option in the left pane.
4. Click the Protect Workbook drop-down button in the middle pane, and then select the Encrypt with
Password option. The Encrypt Document dialog box is displayed, as shown in the following figure.
Problem Statement
Consider the scenario of Techno Tronics Inc., which deals in IT solutions and services across North
America. Sam, the Project Manager needs to track the time spent by his team on various projects. For this,
Sam asks the developers to send him a mail at the end of week mentioning the total time spent on each tasks
of the project. However, collecting the information from all the mails is a tedious task as the developers send
this data in different formats. Therefore, Sam has created a workbook which has a uniform structure for all
developers. Sam has now circulated this sheet to his team. Each team member needs to fill his name, actual
time spent, and remarks against each activity. In addition, you need to ensure that the developers cannot
modify any other columns, while the Team Leader can modify the Planned Work Hours column using the
password.
Prerequisite: To perform this activity, you need to use the TrackLog.xlsx workbook.
Solution
To solve the preceding problem, you need to perform the following tasks:
1. Prepare the worksheet for restricted access.
2. Protect the worksheet.
Task 1: Preparing the Worksheet for Restricted Access
To prepare the worksheet for restricted access, you need to perform the following steps:
1. Open the TrackLog.xlsx workbook.
2. Select the E4:E20 cell range.
3. Click the Format drop-down button in the Cells group under the Home tab. The Format drop-down
list is displayed.
Note
The default tab selected would depend on the previous selection of the Format
Cells dialog box.
Prerequisite: To perform this task, you need to use the BookDetails.xlsx workbook.
To enable track changes, you need to perform the following steps:
1. Open the BookDetails.xlsx workbook.
2. Ensure that the Book_Data worksheet tab is selected.
3. Click the Review tab.
4. Click the Track Changes drop-down button in the Changes group, and then select the Highlight
Changes option. The Highlight Changes dialog box is displayed, as shown in the following figure.
Problem Statement
Consider the scenario of Bookworm Library, which is the oldest library in Dallas. The library has four
branches spread across the city. Each branch has got various members. Initially, the member could avail the
services only in their local branch. Now, the library management has decided to provide the global services
to their members so that a member can avail the services from any branch. To implement this service, the
management has decided to share the member details with all the branches. For this, they have asked Bratt,
the Data Entry Operator, to distribute the workbook containing the structure of details, such as MemberID,
Name, and Address, in different worksheets for different branch through mail. However, before distributing
the workbook, he needs to create multiple copies of this workbook with different file names. Now,
respective librarians will fill the member details and send it back to Bratt. Bratt needs to consolidate the
details of the members in a single workbook. Help Bratt to accomplish the preceding requirement.
Prerequisite: To perform this activity, you need to use the Members.xlsx and SampleData.xlsx workbooks.
Note
You need to ensure that the Members.xlsx and SampleData.xlsx workbooks
are available at the location, D:\Data Files\APBD.
Solution
To solve the preceding problem, you need to perform the following tasks:
1. Enable the sharing feature.
2. Create multiple copies of the workbook.
3. Enter the details in all the copies.
4. Add the Compare and Merge Workbooks command to the Quick Access toolbar.
5. Merge all the copies into the master copy.
Task 1: Enabling the Sharing Feature
To enable the sharing feature, you need to perform the following steps:
1. Browse to D:\Data Files\ APBD.
2. Open the Members.xlsx workbook.
3. Ensure that the Head Office worksheet tab is selected.
4. Click the Review tab.
5. Click the Share Workbook button in the Changes group. The Share Workbook dialog box is
displayed.
6. Ensure that the Editing tab is selected.
To create multiple copies of the workbook, you need to perform the following steps:
1. Click the File tab. The Backstage view is displayed.
2. Click the Save As option in the left pane. The Save As dialog box is displayed.
Note
You need to ensure that all the workbooks should be saved at the location,
D:\Data Files\APBD.
To enter the details in all the copies, you need to perform the following steps:
1. Open the SampleData.xlsx workbook from the D:\Data Files\APBD folder.
2. Open the Hutchins.xlsx workbook from the D:\Data Files\APBD folder.
3. Click the Hutchins worksheet tab in the Hutchins.xlsx workbook.
4. Switch to the SampleData.xlsx workbook.
5. Click the Hutchins worksheet tab in the SampleData.xlsx workbook.
6. Select the A2:D30 cells and copy the details.
7. Switch to the Hutchins.xlsx workbook.
8. Select the A2 cell and paste the details.
9. Save and close the Hutchins.xlsx workbook.
10. Repeat steps 2 to 9. However, refer the Hutchins as Rowlett.
11. Repeat steps 2 to 9. However, refer the Hutchins as Garland.
12. Repeat steps 2 to 9. However, refer the Hutchins as Addision.
Task 4: Adding the Compare and Merge Workbooks Command to the Quick Access Toolbar
To add the Compare and Merge Workbooks command to the Quick Access toolbar, you need to perform
the following steps:
1. Open the Members.xlsx workbook from D:\Data Files\APBD folder.
2. Click the Customize Quick Access Toolbar button present on the Quick Access toolbar at the top
of the Microsoft Excel window.
To merge all the copies into the master copy, you need to perform the following steps:
1. Open the Members.xlsx workbook from the D:\Data Files\APBD folder.
2. Click the Compare and Merge Workbooks ( ) button on the Quick Access toolbar. The Select
Files to Merge Into Current Workbook dialog box is displayed.
3. Browse to the location D:\Data Files\APBD.
Diaz Telecom Inc. provides telecom services across North Garland. Stephaney, the Support Manager,
maintains customer information in an Excel workbook. She needs to send this information to the
Verification division. However, she wants that the Verification Executives are only able to open the
workbook. In addition, she wants only the Senior Executive to change the information, if required. Help
Stephaney to accomplish the required task.
Prerequisite: To perform this exercise, you need to use the CustomerInfo.xlsx workbook.
Hint 1: Protect the workbook from authorized access.
Hint 2: Protect the worksheet from getting modified by others.
Exercise 2
Blue Moon Inc. manufactures computer peripherals across South Dakota. Jane, the Senior HR Manager,
needs to assign the task of calculating the salary components for employees to newly hired executives. She
decides to share an Excel workbook with the details for calculating the salary. In this worksheet, Jane wants
that the executives are able to change the CTC of the employees and remaining cells can be changed only by
the HR Manager. Help Jane to accomplish the required task.
Prerequisite: To perform this exercise, you need to use the SalaryCalculator.xlsx workbook.
Hint 1: Unlock the cell which is to be modified.
Hint 2: Protect the worksheet from getting modified by others.
Exercise 3
Yourway Inc. manufactures cosmetics products across Philadelphia. Adam, the Finance Manager, needs to
share the BudgetReport workbook that contains quarterly details of various expenses. The Finance Head
reviews and approves of the budget on the basis of BudgetReport workbook. Therefore, Adam needs to
keep track of the changes made to the workbook by Finance Head. Help Adam to accomplish the required
task.
Prerequisite: To perform this exercise, you need to use the BudgetReport.xlsx workbook.
Hint 1: Enable the track changes feature.
Hint 2: Use the Highlight Changes dialog box.
Exercise 4
Global Soccer Federation (GSF) handles all the soccer leagues organized in the US. The GSF annually
organizes the National Cup Soccer League. For this, they need the data for all the teams participating in the
league. The federation asks Melisa, the Sports Manager, to create a template in an Excel workbook to
consolidate this data into a single file. Melisa decides to create multiple copies of the template file and
distribute those files to every Club Manager. In addition, she wants every Manager to add details in the file
and rename the version of the file with the team name. Thereafter, they need to send those files back to
Melisa. Help Melisa and Club Managers to accomplish the required task.
Note
You need to ensure that TeamDetails.xlsx and SampleTeamDetails.xlsx are
available in D:\Data Files\APBD.
Acme Publishers is a publishing house for fashion magazines. Maria is the Purchase Manager at Acme
Publishers, and is responsible for the procurement of all the stationary supplies required at Acme. The
company needs to buy a new printer for which they have published a procurement tender in the daily
newspaper. After much deliberation, Maria could finalize two of the tenders having the following details:
A proposal by Seco Printer offering a scheme for one-time payment of $11,000, payable at the time of
delivery of the product.
A proposal by Mesa Printers offering a scheme for installment payments of $3000, spread over a period of
five years.
Assuming that the rate of interest/cost of capital is 12%, help Maria to evaluate the best deal from among
the shortlisted tenders.
In addition, Maria needs to share this file in an encrypted format with Jacob Ballas, an executive from the
Finance Department. How will Maria accomplish the given task?
Prerequisite: To perform this exercise, you need to use the PurchaseRequisition.xlsx workbook.
Hint 1: Use the PV function.
Hint 2: Use password protection for encryption.
Chapter 6
Task 6.1: Enabling the Developer Tab
To enable the Developer tab, you need to perform the following steps:
1. Open the Microsoft Excel window.
2. Click the File tab. The Backstage view is displayed.
3. Select Options from the left pane. The Excel Options dialog box is displayed.
4. Select the Customize Ribbon tab from the left pane. The Customize the Ribbon page is displayed.
5. Ensure that the Main Tabs option is selected in the Customize the Ribbon drop-down list.
6. Select the Developer check box from the list box beneath the Customize the Ribbon drop-down list.
7. Click the OK button. The Developer tab is displayed in Ribbon.
8. Close the Microsoft Excel window.
Note
If the Security Warning pop-up appears, click the Enable Content button to continue.
Note
If the Security Warning pop-up appears, click the Enable Content button to continue.
Note
If the Security Warning pop-up appears, click the Enable Content button to continue.
Problem Statement
Consider the scenario of Paul Furnishers Inc. Alvin created a macro to follow a common formatting standard
in all the weekly sales reports. Later, the Sales Manager asked Alvin to modify the current formatting
applied to the sales reports to enhance the visual appearance of the reports. To accomplish this, Alvin
decides to perform the following modifications in the recorded macro:
Set the font size of the title to 30.
Apply the italic and bold effects to the title.
Set the font size of the column headings to 12.
Apply the italic and bold effects to the column headings.
To solve the preceding problem, you need to perform the following tasks:
1. Open the Microsoft Visual Basic for Applications window.
2. Modify the macro code.
3. Apply the customized formatting to the reports.
Task 1: Opening the Microsoft Visual Basic for Applications Window
To open the Microsoft Visual Basic for Applications window, you need to perform the following steps:
1. Open the PaulFurnishers January Sales.xlsm macro-enabled workbook.
Note
If the Security Warning pop-up appears, click the Enable Content button to continue.
Note
The instructions in the macro code may differ depending upon some additional steps
that may be performed by a user while recording the macro, such as maximizing or
minimizing the Microsoft Excel window, moving the scroll bars, or selecting or
deselecting a cell.
To modify the macro code, you need to perform the following steps:
1. Find the following set of instructions in the macro code:
Range("A1:I ").Select
ActiveCell.FormulaR1C1 = "Sales
Report" Range("A1:I1").Select
Selection.RowHeight = 35
With Selection.Font
.Color = -16776961
.TintAndShade =
0 End With
With Selection.Font
.Name = "Calibri"
.Size = 26
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
2. Replace the instruction, .Size = 26, in the preceding set of instructions with the instruction,
.Size = 30, and then insert the following instructions after the preceding set of instructions:
.Bold = True
.Italic = True
Range("A3:I3").Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorAccent2
.TintAndShade = 0.399975585192419
.PatternTintAndShade = 0
End With
5. Click the File menu in the Microsoft Visual Basic for Applications window, and then select the
Save PaulFurnishers January Sales.xlsm option to save the macro code.
6. Click the File menu in the Microsoft Visual Basic for Applications window, and then select the Close
and Return to Microsoft Excel option to switch to the Microsoft Excel window.
Task 3: Applying the Customized Formatting to the Reports
To apply the customized formatting to the reports, you need to perform the following steps:
1. Select the First Week worksheet.
Note
If the First Week worksheet is already selected, perform the step 2.
Note
Before performing these exercises, you need to ensure that the Developer tab is
enabled in Ribbon. If the Developer tab is not enabled, perform the task, 7.1, to
enable it.
Exercise 1
Consider the scenario of Paul Furnishers Inc. While generating the sales report for the last week at the end of
each month, Alvin needs to insert a chart in the report to illustrate the comparison among the total sales of all
the weeks in the month. To avoid repetition of steps performed to insert a chart in the last weekly sales report
created each month, Alvin decides to automate the task of inserting the chart in the worksheet. Help Alvin in
accomplishing the required task.
Prerequisite: To perform this exercise, you need to use the
PaulFurnishers_January_Sales.xlsm macro-enabled workbook.
Hint 1: Record a macro to automate the task of inserting a chart in the worksheet.
Hint 2: Use the Record Macro button in the Code group under the Developer tab to record a macro.
Exercise 2
Consider the scenario of Alpha Supermart. Harry, the HR Manager, asks Callie, the HR Executive, to
generate payroll reports for the last quarter. For this, Callie decides to store the payroll details of each
month in a separate worksheet in a workbook. In addition, she wants that the appearance of all the
worksheets should be similar. Therefore, Callie decides to implement the following formatting conventions
in all the worksheets in the workbook:
The font color, font size, and background color of the cell containing the title should be Red, 20, and Light
Green, respectively.
The column headings should be bold and italicized.
The background color of the column headings should be Red, Accent 2, Lighter 60%.
The background color the cells containing the payroll values should be Orange, Accent 6, Lighter 40%.
It becomes a tedious task to follow the preceding formatting standards while creating payroll reports.
Therefore, Callie decides to capture the actions while formatting the first worksheet, and to apply these
captured actions on the remaining worksheets. You need to help Callie in accomplishing the required tasks.
Prerequisite: To perform this exercise, you need to use the Salary_Details.xlsm macro-enabled workbook.
Hint 1: Record a macro while applying the required formatting standards in the first payroll report.
Hint 2: Execute the recorded macro in the reports where the common formatting standards need to
be applied.
Consider the scenario of Alpha Supermart. Harry asks Callie to perform the following modifications
to improve the visual appearance of the payroll reports:
The font size of the cell containing the title in the worksheets should be 22.
The column headings in the worksheets should not be italicized.
The font size of the column headings should be 14.
The font size of the payroll values should be 12.
Consider the scenario of Alpha Supermart. Callie created a macro to apply the common set of formatting
standards on the payroll reports. However, now, she needs to change all the formatting standards according
to the feedback given by Harry. To accomplish this, Callie needs to record a fresh macro. However, before
recording the new macro, she wants to remove the existing macro. You need to help Callie for removing the
macro.
Prerequisite: To perform this exercise, you need to use the Salary_Details.xlsm macro-enabled workbook.
Hint 1: Open the Macro dialog box by using the Macros button in the Code group under the Developer tab.
Hint 2: Use the Delete button in the Macro dialog box to delete the required macro.