For this project, I was tasked with formatting, manipulating, and analyzing data in a variety of ways using Microsoft Excel. Personally, I was using Microsoft Excel 2004 on a Mac. While this did not affect my ability to fully analyze and format the actual data, it did affect the formatting of the pivot tables. We will get to that a little later on.
The most important part of this project, in my opinion, was to manipulate the data using accurate formulas and functions. Without accurate formulas and functions, the analysis is wrong. When the analysis is wrong, you are wasting both the time and money of your employers. There were five new columns that I was tasked with creating. The columns, along with the formulas used and procedure of manipulation, are listed below:
- Maximum Heart Rate (MaxHR) - This was a very simple formula. The calculation was simply to take the subject's age and subtract it from 220. I inserted the formula "=220-B3" for the calculation for subject 1 and copied that formula all the way down the column. Because I used relative cell addressing, the age (B3) changed according to row/subject ID.
- Target Heart Rate (TgtHR) - For target heart rate, I used the formula "=D3*$E$1". D3 is the maximum heart rate column and cell E1 is the percentage of MaxHR that was desired. In this case, it was 80%. The absolute cell addressing was used for E1 because it allows a single cell to be changed to a new percentage instead of having to alter the formula each time a new percentage is desired.
- Highest Heart Rate Achieved (HighestHR) - I used the MAX function, "=MAX()" in order to determine the max heart rate achieved by each person during the workout. Ex: Formula for subject 1 was "=MAX(I3:AC3). I was able to copy and paste this formula down the column because it used relative cell addressing.
- Target Achieved (TgtAchieved) - This required the IF function. By using the formula "=IF(F3>=E3, "Yes", "No") for subject one, the cell would read out "Yes" if HighestHR was greater than or equal to TgtHR or "No" if HighestHR was less than TgtHR. This was copied down the column with the use of relative cell addressing.
- Heart Rate Increase (PctIncreaseHR) - The formula for this calculation was "=(HighestHR-StartHR)/StartHR". For subject one specifically, this formula was "=(F3-I3)/I3". The cell was then formatted to read this decimal as percentage.
While these formulas were the most important part of the project, the formatting helped to make it look presentable. Simple formatting like centering, bolding, italicizing, and restricting decimal places was used. Column widths were also adjusted. Formatting the page for printing was also a simple matter of going into "page setup" and altering a few things. In order to keep the first two rows at the top of the page at all times, I used the Freeze Panes function under the Window drop down menu.
 |
| AvgIncrease Pivot Table |
Last, but certainly not least, I created the pivot tables. This was the most difficult part for me because I was using Excel 2004 while the lectures used a more recent version of Excel. But, I was able to find the Pivot Tables function and use it without too much problem in order to find the number of people, both male and female, who reached their target heart rate and the average percent increase for various age groups and gender. The pivot tables are not as pretty in Excel 2004, but I tried to format them to make them as attractive and clear as possible.
I learned a couple new excel tricks while completing this project. My favorite new "trick" was the freeze panes ability. That is very useful when dealing with large quantities of data. I also learned all about pivot tables, which are essential in analyzing large quantities of data. Luckily, I was already familiar with all the functions and formulas needed to manipulate the data. This sped up the process immensely. While I knew a fair deal about excel already, I feel I was able to round out my abilities and increase my efficiency when working with excel.