Presentation is loading. Please wait.

Presentation is loading. Please wait.

Intermacs Form Download Excel Tutorial Pivot Tables, Graphic Tools, Macros By: Devin Koehl.

Similar presentations


Presentation on theme: "Intermacs Form Download Excel Tutorial Pivot Tables, Graphic Tools, Macros By: Devin Koehl."— Presentation transcript:

1 Intermacs Form Download Excel Tutorial Pivot Tables, Graphic Tools, Macros By: Devin Koehl

2 Congratulations! You’ve chosen to download the Intermacs data for your site. This tutorial will teach you many features within Excel that can help you manipulate, display, and perform mathematical calculations on your data Each slide will have instructions and screen shots to guide you every step of the way.

3 Filtering your data Upon downloading your data, it will populate in Excel. Below is an example of what you should see. We will create table headers for each column. First, highlight the entire row of column headers as seen below. Clicking to the left of row 5 will highlight all rows

4 Filtering your data Next, click on the “data” tab Then, click “Filter”

5 Filtering your data This is how your data should appear: These filters give you the power to control what you see. If you only want to see patients whose device was not functioning normally when they died, you could click the drop down box on “Device Function Normal” and unselect “yes”.

6 Short cut keys for filtering Click on the first column. Ctrl+Shift+L – Applies filters to all columns within your data

7 Pivot Tables Another great feature of Excel is the ability to create pivot tables. A pivot table is a data summarization tool. It allows you to create cross tabulations by dragging and dropping your fields of choice.

8 Pivot Tables The first step is selecting the very first column in your spreadsheet. Once you have selected this, go to the “insert” tab. Click on “Pivot Table”

9 Pivot Tables Once you click “PivotTable”, the following screen should appear: This box is asking you to select the table or range. You will see that the range is already selected for you. Click “Ok”.

10 Pivot Tables

11 From this screen, you have control over what variables you would like displayed. Under “PivotTable fields” you will see a listing of all variables contained in this form. Now you are free to pick and choose what variables you would like to see. For example, if we wanted to see a count of Cause of Death from our site, we would specify we want Primary Cause of Death as a row (we want each cause of death displayed horizontally). Also, since we want to see how many Primary Cause of Deaths there are, we will add it to the “Values” box.

12 Pivot Tables Now we will see a total of how many deaths there are at our site:

13 Pivot Table Options There are many options for these pivot tables. You should play around with this and see how adding certain variables to each box changes your graph. You can build a table exactly to your specifications!

14 Pivot Graphs Perhaps we do not want to see a table of our data, but a graphical representation. This is great for presentations or a more “eye-catching” approach. There are many ways to approach this, but let us just begin from our current point.

15 Pivot Graphs Select your graph type

16 Pivot Graph Example: Device Type by Implant Year We will be looking at the Implant form since we will need Implant Date and Device Type The first step will be to create another column that has the Implant Year. Currently, we are given the Implant Date which contains the month and day. We will extract the year from this. Click on “Implant Date” in column H. Right click and select “Insert – Entire Column”

17 Pivot Graph Example – Device Type by Implant Year Now we will have a blank column to the left of Implant Date Be sure to label this column “Implant Year” or a name of your choosing Clicking on cell G7 (or the appropriate cell you choose) on our new column, we will utilize the formula bar. Type the following:

18 Pivot Graph Example – Device Type by Implant Year After entering this formula, paste it all the way. This will give you just the year of your Implant Date! Now we can use this to set-up our Pivot Table. Please see the options below.

19 Device Type by Implant Year Example

20 Pivot Graph: Example – Bar Chart

21 Pivot Chart: Example – Pie Chart

22 Consolidating Worksheets Perhaps you would like to have all your form downloads in the same worksheet. To do this, create a new spreadsheet tab in your current workbook as follows:

23 Consolidating Worksheets From here, you can select the worksheet and it will add it to your current tab!

24 Advanced Excel: VBA VBA (Visual Basic for Applications) is an implementation of Microsoft’s event-driven programming language. All VBA code written by Brandon Sharp

25 VBA Workbook You will be provided with a macro written in VBA to combine all saved form downloads. The spreadsheet will contain a button. You click the button, select spreadsheets you wish to combine, and all your form downloads will be consolidated into one!

26 Excel Macro Upon opening the spreadsheet, you will immediately see the macro button.

27 You must enable macros It is imperative that you enable macros in Excel. You will see a yellow warning message. Please be sure to hit “Enable Content” for this.

28 Excel Macro Click the “Run Macro” button and find the location where you have saved the spreadsheets you wish to combine.

29 Excel Macro Select all the workbooks you wish to combine and click open.

30 Excel Macro Within seconds, your new Excel spreadsheet is finished with a tab for each of your form downloads!

31 The code behind the macro If you are curious to what is happening behind the scenes (I know I always am!) you can always view the code. In your new consolidated spreadsheet, hit alt+F11. This will bring up the VBA within Excel.

32 VBA Code in Excel

33 You will notice this code is commented so if the user would like to see what each piece does, they can follow along! All VBA code written by Brandon Sharp.


Download ppt "Intermacs Form Download Excel Tutorial Pivot Tables, Graphic Tools, Macros By: Devin Koehl."

Similar presentations


Ads by Google