Question
Tornado Center DATA ANALYSIS WITH POWER TOOLS and Creating Macros You work as a support specialist for the Tornado Center, a group of researchers at
Tornado Center
DATA ANALYSIS WITH POWER TOOLS and Creating Macros
- You work as a support specialist for the Tornado Center, a group of researchers at the University of Nebraska who provide statistics and other information to businesses and citizens in Nebraska. Your supervisor, Karen Chao, has asked you to gather data on Nebraska tornadoes from 2013 to 2015 and then provide statistical information to a client interested in business development. To do so, you need to import data from various sources and use the Excel power tools.
Start by collecting tornado data from another Excel workbook, which includes the Enhanced Fujita scale, a way to rate tornadoes according to the amount of damage they cause. Use the Get & Transform tools to create a query and load data from this workbook into a new table as follows:
-
- Create a new query that imports data from the Support_SC_EX16_10a_2013-2015.xlsx workbook.
- Load the data from the Tornadoes worksheet to a table in a new worksheet in the SC_EX16_10a_FirstLastName_2.xlsx workbook, using Tornadoes as the name of the new worksheet.
- Because all of the data is for tornadoes in Nebraska, use the Query Editor to remove the State column, and then load the transformed data into the worksheet.
- The client wants to know the population of the twenty most populous counties in Nebraska. To provide this information, create another query and load data from another Excel workbook into a new table as follows:
- Create a new query that imports data from the Support_SC_EX16_10a_Population.xlsx file, available for download from the SAM website.
- Load the data from the Population by County worksheet to a table in a new worksheet in the SC_EX16_10a_FirstLastName_2.xlsx workbook, using Top 20 Population as the name of the new worksheet.
- Edit the table to display the data the client requested and make it more useful as follows:
- Use the Query Editor to remove the top 3 rows, which contain a heading or blank cells.
- Remove column 5, which includes a ranking calculation.
- Use the first row as headers.
- Sort the data in descending order by Population.
- Keep the top 20 rows of the data.
- Load the transformed data into the worksheet.
- Add the two queries you created to the data model so you can use them with Power Pivot as follows:
- Add the Population by County query to the data model.
- Add the Tornadoes query on the Tornadoes worksheet to the data model. (Hint: Do not close the Power Pivot for Excel window after performing this substep.)
- Use the Power Pivot for Excel window to create a PivotTable in a new worksheet.
- Use Tornado PivotTable as the name of the new worksheet.
The client wants to know which of the twenty most populated counties experienced tornadoes in 20132015 along with the population of each county. Build the new PivotTable to display the tornado and population data at the same time as follows:
- Use the following fields from the Population_by_County table in the PivotTable areas:
- County field: Rows box
- Population field: Values box
-
- Use the following field from the Tornadoes table in the PivotTable areas:
-
- Fujita field: Values box
-
- Create a relationship using the following tables and columns:
-
- Table: Tornadoes
- Column (Foreign): County
- Related Table: Population_by_County
- Related Column (Primary): County
-
- Use County as the column heading in cell B3, use Population as the column heading in cell C3, and use Tornadoes as the column heading in cell D3. (Hint: The (blank) entry is for tornadoes that occurred in counties not among the 20 most populated counties.)
- The client wants to know how concentrated the population is in each of the 20 most populous counties. Create another PivotTable that shows the population per square mile in these counties as follows:
- Use the Power Pivot for Excel window to create a second PivotTable in a new worksheet. (Hint: If necessary, use the Manage button in the Data Model group on the Power Pivot tab to open the Power Pivot for Excel window.)
- Use Population PivotTable as the name of the new worksheet.
Close the Power Pivot for Excel window.
-
- Build the new PivotTable to use the following fields from the Population_by_County table in the PivotTable areas:
-
- County field: Rows box
- Population field: Values box
- Sq Mi field: Values box
- To add a column showing the population per square mile, create a measure as follows:
- Use Population per Sq Mi as the name of the new measure.
- Use [Sum of Population]/[Sum of Sq Mi] as the formula.
- Choose Number as the category and Whole Number as the format.
- To provide another visual representation of the tornado data for the top 20 most populated Nebraska counties, create a Power View report as follows:
- Insert a Power View report on a new worksheet, using Power View as the name of the new worksheet. Move the newly created worksheet so that its the fifth worksheet in the workbook. (Hint: If you cannot move the worksheet itself, move the other worksheets.)
- Select the Fujita field in the Tornadoes table.
- Select the County and Population fields (in that order) in the Population_by_County table. (Hint: If a message appears indicating you may need relationships between tables, close the message. You already created the relationships.)
- Resize the table to fill the left pane of the Power View area.
- Add the Fujita field in the Tornadoes table to the Filters pane.
- Filter the data to display populations for counties that experienced tornadoes with an EF-1 rating.
- Switch the visualization of the data to a Clustered Bar chart.
- Use County Population and Tornado Rating as the chart title.
- Switch to the Top 20 Population worksheet. To develop a map showing tornado data for the 20 most populated counties in Nebraska, create a 3D map as follows:
- Open the 3D Maps window, and in Scene 1, use the State field in the Population_by_County table as a Location to focus on the state of Nebraska.
- Display state name labels on the map.
- Add the County field in the Population_by_County table as a second Location to indicate the 20 most populous counties in Nebraska.
- Add the Fujita field in the Tornadoes table as the Height to show where the most tornadoes occurred.
- Close the field list, remove the legend, and zoom in six times to display the Nebraska city names on the map, and then tilt the map up four times.
- Create a text box using Tornadoes in the Top 20 Nebraska Counties as the text in the title field.
- Capture the screen showing the 3D map, and then close the 3D Maps window.
- Paste the map in cell A1 of the Home Page worksheet in the SC_EX16_10a_FirstLastName_2.xlsx workbook.
- Add hyperlinks to the Home Page worksheet as follows to improve navigation in the workbook:
- In cell M3, link the Top 20 Nebraska Counties text to cell A1 of the Top 20 Population worksheet in the current workbook.
- In cell M4, link the Nebraska Tornadoes by County text to cell A1 of the Tornadoes worksheet in the current workbook.
- Your supervisor, Karen Chao, wants to include a note on two worksheets that the Tornado Center created this workbook. Create and record a macro to automate this task as follows:
- Enable all macros in the workbook, and make sure the Use Relative References option is selected in the Developer tab.
- Select cell M7.
- Create a macro to be stored in this workbook using Created_by as the name of the macro.
- Use CTRL+m as the shortcut key.
- Begin recording the macro, and enter the following text in cell M7:
This workbook was created by the Tornado Center at the University of Nebraska.
-
- Apply wrap text formatting to cell M7.
- Stop recording the macro.
- Go to the Enhanced Fujita Scale worksheet. In cell E3, run the Created_by macro.
Your workbook should look like the Final Figures on the following pages. Depending on your version of Office, the order of the worksheets may be different. With the exception of the worksheet mentioned in step 6, this will not affect your grading. Save your changes (as a macro-enabled workbook), close the workbook, and then exit Excel. Follow the directions on the SAM website to submit your completed project.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started