Professional Documents
Culture Documents
LESSON 2.2a - Organizing Data in Excel
LESSON 2.2a - Organizing Data in Excel
LESSON 2.2a - Organizing Data in Excel
Science and
Environment
Named Range
This tool in Excel is useful to create a named range or a named constant that can be used and
improve your Excel formulas such that it can be easier to understand. To create a named
range, execute the following steps.
1. Select the 2. Right click 3. Enter a name, e.g.,
range to be this selected Treatment, and click
named. Like range and OK.
for example, click Define
we define Name…
name for
variable
“Treatment”, or on the Formulas tab, in the
i.e., range Defined Names group, click
A2:A19 Define Name.
There's also a quicker way of doing this TASK: Define name for all the remaining variables
by selecting the range, type the name in of the data set.
the Name box and press Enter.
The define names can be manage (Edit
or Delete) in the Name
Manager.
Now you can use this named range in your formulas. Like for example, =SUM(Stocking_BW).
Pivot Table
Pivot table is one of Excel's most powerful features. It allows user to extract grouped summary
calculations in tabular from a data set in standard form.
To insert a pivot table, execute the following steps.
1. Click any single cell inside the data set.
2. On the Insert tab, in the Tables group, click PivotTable.
The result of this formula is 663.3 which is the [Average] Stocking_BW of the experimental
unit with Treatment of A (@cell A4), Replicate 1 (@cell B4) and Feeding_Rate 1 (@cell C3).
Observe in the formula at C4 that $ is being used. This is to fix cell address or link in the
formula such that it will not change as the formula is being copied and pasted to another
cell. The letter and the number of a cell address, respectively, refers to the column and row
location of the cell. $ is placed before the letter (Ex. $B4) to fix a column location of a cell
link, and before the number (Ex. C$3) to fix row location. When both letter and number has
$ (Ex. $A$4), the cell location is being fixed.
3. With the structure of formula in cell C4, this can be copied and paste to the range of cells C4 to
E6 (C4:E6).
4. The formula in cell C4, can also be copied and paste to cell C9 but need to change $A$4 to
$A$9 in order to have Treatment of B, which results to formula
=AVERAGEIFS(Stocking_BW,Treatment,$A$9,Replicate,$B9,Feeding_Rate,C$3)
The result of this formula is 588.7 which is the [Average] Stocking_BW of the experimental
unit with Treatment of B (@cell A9), Replicate 1 (@cell B9) and Feeding_Rate 1 (@cell C3).
This formula can then be copied and paste to the range of cells C9 to E11 (C9:E11).
5. The formula in cell C4 and cell C9, can be copied and paste respectively to cell F4 and cell F9
but need to change Stocking_BW to Final_BW on each of these formulas in order to have
[Average] Final_BW, which results to formula
for F4 as =AVERAGEIFS(Final_BW,Treatment,$A$4,Replicate,$B4,Feeding_Rate,F$3) and
for F9 as =AVERAGEIFS(Final_BW,Treatment,$A$9,Replicate,$B9,Feeding_Rate,C$3)
The result of these formulas are 784.2 and 790.6, respectively. These formulas can then be
copied to the remaining cells.
6. The average at cell C7 may have a formula of =AVERAGE(C4:C6), which will result to 613.5
and its S.D. may have a formula of = STDEV.S (C4:C6), which will result to 43.7. These
formulas can then be copied and paste to the remaining summary cells.