# 6.2: Formulas with 3-D References

$$\newcommand{\vecs}{\overset { \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$$$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

Learning Objectives

• Entering formulas that reference another sheet.
• Using the SUM function to add up multiple sheets.

The Summary sheet in many multiple sheet workbooks is utilized to present totaled information from the other sheets in the file. This is done to give a quick synopsis of all the other sheets in one convenient location. For this reason, the Summary sheet is usually the first sheet in multiple sheet files. Summary sheets “pull” data from the other sheets using three-dimensional (3-D) cell references. In order to distinguish between A3 in the Summary sheet, A3 in the January sheet, A3 in the February sheet, etc.; a 3-D cell reference includes the sheet name along with the cell reference. The syntax to reference a cell in a different sheet is =SheetName!CellRange. So, the cell reference for A15 in the March sheet would be =March!A15.

Let’s start working on our summary sheet by trying out some 3-D formulas:

1. Click on the Expenses Summary sheet tab at the bottom of the screen.
2. Click on C5 and enter the formula =January!C5. Press Enter.
This will return the amount $700 from cell C5 in the January sheet. 3. Delete the formula in C5 in the Expenses Summary sheet. 4. This time, click on C5 and type =. Then click on the January sheet, and then click on C5. 5. Press Enter. This will put the same formula, =January!C5, in cell C5 in the Expenses Summary sheet and will return the value$700. This is the point and click method. This method reduces the potential for making errors, such as misspellings or typing the wrong amount.
6. In cell C6 in the Expenses Summary sheet, try entering a formula for the Power amount in the April sheet. You should get $135 as the Power amount, and the formula should be =April!C6. 7. Delete the formulas in cells C5 and C6 in the Expenses Summary sheet. For the Annual Amounts in C5:C13 in the Expenses Summary sheet, we don’t need the amount from a single month’s sheets; instead, we need the sum of all the entries in all the monthly sheets. So, we need to sum three-dimensionally through all twelve month sheets. Let’s try adding up all the monthly amounts in our Expenses Summary sheet: 1. Click in C5 in the Expenses Summary sheet. 2. Type =SUM(. (Make sure to type the open parentheses!) 3. Click on the January sheet. 4. Hold the SHIFT key down and click on the December sheet. 5. Click on C5 again and press ENTER. Cell C5 should display the sum amount of$8,400.
6. Click on C5 in the Expenses Summary sheet. In the formula bar, you should see the following formula: =SUM(January:December!C5). This formula tells Excel to SUM cell C5 in the sheets January through December.
7. Let’s try another 3-D SUM together. Click on C6.
8. Type =SUM(. (Make sure to type the open parentheses!)
9. Click on the January sheet.
10. Hold the SHIFT key down and click on the December sheet.
11. Click on C6 again and press ENTER. Cell C6 should now display the sum amount of $1,610. 12. Click on C6 in the Expenses Summary sheet. In the formula bar, you should see the following formula: =SUM(January:December!C6). If you feel comfortable with these 3-D formulas, you can copy C6 down through C13 to fill in the rest of the formulas. If you’re not quite comfortable yet, keep practicing the above steps to add 3-D formulas to cells C7:C13. When you’re done, your Expenses Summary sheet should match Figure 6.7. Figure 6.7 Complete Expenses Summary Formulas

While our 3-D formulas are complete in the Expenses Summary sheet, our summary feels like it is lacking something. Let’s add a visual representation of our summary numbers to the sheet.

1. Highlight cells B5:C13 in the Expenses Summary sheet.
2. Click on Pie Chart in the Insert tab in the ribbon and select the 2-D pie.
3. Move and resize the pie chart so that it fills cells D3:J15.
4. Delete the chart title.
5. Move the legend to the right side of the chart. Resize the legend as needed.
6. Add percentage data labels to the pie slices. Format the data labels to be bold with white font color. Your complete Expenses Summary sheet should look like Figure 6.8 below.
7. Check the spelling on all of the worksheets and make any necessary changes.
8. Save your file. If you’re printing your assignment at this point, print ONLY the Summary sheet in regular and formula view. Close your file.

Skill Refresher

To SUM across sheets:

1. Click on the cell where you want the 3-D SUM to appear.
2. Type =SUM(
3. Click on the leftmost sheet in the group of sheets you want to sum.
4. Hold the SHIFT key down and click on the rightmost sheet in the group of sheets you want to sum.
5. Click on the cell in the sheet you’re in that you want to sum.
6. Press ENTER.

3-D References in Formulas

To reference a cell in another sheet, use the formula syntax =SheetName!CellAddress.

To enter a 3-D reference:

1. Click on the cell where you want the formula to appear and type =.
2. Click on the sheet with the cell you want.
3. Click on the cell in the sheet you want and press ENTER.

Note

• 3-D references in formulas allow you to use data from one or more sheets on another sheet.