0% found this document useful (0 votes)
67 views

G11 Notes

This document provides instructions for linking cells between Excel worksheets using formulas. It explains that linking a cell allows it to show the same value as the cell it is linked to. The linked cell is called a dependent cell, while the source cell it is linked to is called a precedent cell. Dependent cells will automatically update if the precedent cells change. The document then provides step-by-step instructions for linking a range of cells between worksheets using an array formula.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views

G11 Notes

This document provides instructions for linking cells between Excel worksheets using formulas. It explains that linking a cell allows it to show the same value as the cell it is linked to. The linked cell is called a dependent cell, while the source cell it is linked to is called a precedent cell. Dependent cells will automatically update if the precedent cells change. The document then provides step-by-step instructions for linking a range of cells between worksheets using an array formula.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 22

When you link a cell in Excel to a cell from another worksheet, the cell that contains

the link shows the same data as the cell from the other worksheet. The cell that
contains the link is called a dependent cell. The cell in another worksheet that contains
data to which the link refers is called a precedent cell. Dependent cells automatically
change if the precedent cells change. If you want to link multiple cells from another
worksheet, you can use an array function, which lets you link a range of cells using
one formula.

Click the worksheet tab at the bottom of the screen that contains a range of precedent
cells to which you want to link. A range is a block or group of adjacent cells. For
example, assume you want to link a range of blank cells in “Sheet1” to a range of
precedent cells in “Sheet2.” Click the “Sheet2” tab.

Determine the precedent range’s width in columns and height in rows. In this example,
assume cells A1 through A4 on “Sheet2” contain a list of numbers 1, 2, 3 and 4,
respectively, which will be your precedent cells. This precedent range is one column
wide by four rows high.

Click the worksheet tab at the bottom of the screen that contains the blank cells in
which you will insert a link. In this example, click the “Sheet1” tab.

Select the range of blank cells you want to link to the precedent cells. This range must
be the same size as the precedent range, but can be in a different location on the
worksheet. Click and hold the mouse button on the top left cell of the range, drag the
mouse cursor to the bottom right cell in the range and release the mouse button to
select the range. In this example, assume you want to link cells C1 through C4 to the
precedent range. Click and hold on cell C1, drag the mouse to cell C4 and release the
mouse to highlight the range.

Type “=,” the worksheet name containing the precedent cells, “!,” the top left cell of the
precedent range, “:” and the bottom right cell of the precedent range. Press “Ctrl,”
“Shift” and “Enter” simultaneously to complete the array formula. Each dependent cell
is now linked to the cell in the precedent range that’s in the same respective location
within the range. In this example, type “=Sheet2!A1:A4” and press “Ctrl,” “Shift” and
“Enter” simultaneously. Cells C1 through C4 on “Sheet1” now contain the array
formula “{=Sheet2!A1:A4}” surrounded by curly brackets, and show the same data as
the precedent cells in “Sheet2.”

Enter the same text into multiple Excel cells at


once
Updated: 12/31/2020 by Computer Hope

In Microsoft Excel, you can enter the same data


or text into multiple cells at once using the below
simple steps.

1. Highlight all the cells that you want to have


the same text.

2. Type the text you want.

3. After typing the text, instead of


pressing Enter, press Ctrl+Enter.

After completing the above steps, the text


automatically is entered into all highlighted
cells. This tip is useful if you have data with
the same prefix and need to add something
to the end of each cell.

For example, the above steps were done to


enter "computer hope" in all the highlighted
cells, as shown in the picture. Once
completed, I could press F2 on a selected cell,
go to the end, and add "1" to make the cell
"computer hope 1". I could keep doing this
for each cell to have computer hope 1
through 16.

Quickly Select Non-Adjacent Cells Or Ranges With Keyboards

1. With Ctrl key

Just press and hold down the Ctrl key, and you can select multiple non-adjacent cells or
ranges with mouse clicking or dragging in active worksheet.

2. With Shift + F8 keys

This does not require holding down keys during selection. Press the Shift + F8 keys
firstly, and then you can easily select multiple non-adjacent cells or ranges in active
worksheet.

 Quickly Select Non-Adjacent Cells Or Ranges With Go To Command

The Microsoft Excel's Go to command can help you select non-adjacent cells or ranges
quickly with following steps:
1. Click the Home > Find & Select > Go to (or press the F5 key).

2. In the Go To dialog box, enter the cell/range positions in the Reference box, and


click lick the OK button.
And then all corresponding cells or ranges will be selected in the workbook. See
screenshot:

Note: This method requires user to figure out the cells or ranges position before
selecting them.

Easily Copy And Paste Multiple Non-Adjacent Cells Or Ranges


Simultaneously In Excel

You may have noticed Microsoft Excel does not support copy multiple inconsecutive
cells (staying in different columns) at the same time. But copying these
cells/selections one by one waste of much time and is tedious! Kutools for
Excel’s Copy Ranges utility can help get it done easily as below screenshot
shown. Full Feature Free Trial 30-day!

 Quickly Select Non-Adjacent Cells Or Ranges With Kutools For Excel

If you have Kutools for Excel, its Select Range Helper tool can help you select
multiple non-adjacent cells or ranges in the whole workbook easily.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial
30-day, no credit card required! Get It Now
1. Click the Kutools > Select > Select Range Helper….

2. In the Select Range Helper dialog box, check the Union Selection option, next


select multiple ranges as you need in the whole workbook, and then click
the Close button. See screenshot:

Excel 2016 Adding Data to an Existing Chart


Add a data series to a chart

 Click the chart to which you want to add another data series.

This displays the Chart Tools, adding the Design, Layout, and Format tabs.

 On the Chart Tools Contextual Ribbon


 Design (Tab)
 Data (Group) ...
 Select Data (button) ...

          

 Under Legend Entries (Series), click Add.


 In the Series name box, type the name that you want to use for the series, or
select the name on the worksheet.
 In the Series values box, type the reference of the data range of the data
series that you want to add, or select the range on the worksheet.

 Tip:   You can click the Collapse Dialog button  , at the right end of


the Series name or Series values box, and then select the range that you want
to use for the table on the worksheet. When you finish, click the Collapse
Dialog button again to display the entire dialog box.

 Note:   If you use arrow keys to position the pointer to type the reference, you
can press F2 to ensure that you are in Edit mode. Pressing F2 again switches
back to Point mode. You can verify the current mode on the status bar.

Drag the sizing handles of ranges to add data to an embedded chart

If you created an embedded chart from adjacent worksheet cells, you can add data by


dragging the sizing handles of source data ranges. The chart must be on the same
worksheet as the data that you used to create the chart.

1. On the worksheet, type the data and labels that you want to add to the chart
in cells that are adjacent to the existing worksheet data.
2. Click the chart to display the sizing handles around the source data on the
worksheet.
3. On the worksheet, do one of the following:
o To add new categories and data series to the chart, drag a blue sizing
handle to include the new data and labels in the rectangle.
o To add new data series only, drag a green sizing handle to include the
new data and labels in the rectangle.
o To add new categories and data points, drag a purple sizing handle to
include the new data and categories in the rectangle.

Copy worksheet data to a chart

If you created an embedded chart from nonadjacent selections or if the chart is on a


separate chart sheet, you can copy additional worksheet data into the chart.

nonadjacent selection: A selection of two or more cells or ranges that don't touch
each other. When plotting nonadjacent selections in a chart, make sure that the
combined selections form a rectangular shape.
1. On the worksheet, select the cells that contain the data that you want to add
to the chart.

 Tip:   If you want the column or row label for the new data to appear in the
chart, include the cell that contains the label in the selection.

2. Ribbon
Home (Tab)
Clipboard (Group)
Copy (button)

Keyboard shortcut  You can also press CTRL+C.

3. Click the chart sheet or the embedded chart into which you want to paste the
copied data.
4. Do one of the following:
o To paste the data in the chart,
Ribbon
Home (Tab)
Clipboard (Group)
Paste (button)

Keyboard shortcut  You can also press CTRL+V.

o To specify how the copied data should be plotted in the chart,


Ribbon
Home (Tab)
Clipboard (Group)
Paste (button) drop down arrow
Paste Special...

     and
select the options that you want.

Adding a Series to an Excel Chart


Microsoft Excel 2013 charts are dynamic in that they automatically update when the current
data changes. However, if you add a series of data points to a spreadsheet, Excel doesn't
know to include these on an existing chart. To include this data, you must manually add the
series to the chart. Once you've identified the new data, Excel updates the chart to reflect the
added series and will automatically update the chart if you later change its data.

Click the chart to enable the Chart Tools, which include the Design and Format tabs.

Click the "Design" tab, and then click "Select Data" from the Data group.

Click "Add" from the "Legend Entries (Series)" section.

Enter a name for the new data in the Series Name field.

5
Click the "Collapse Dialog" box in the Series Values section, drag your mouse across
the new data and click the "Collapse Dialog" box again that now resides in a smaller,
floating window.

Click "OK" to close both windows and add the data to the chart.

Adding a Data Series to an Excel Chart

It
happens to everyone, it’s the reason Excel was created – the data
changes and your Excel chart must change. And it’s not just the values
of a specific data point in a data series that change, sometimes an
entirely new data series must be added.There are three ways to add
data to an existing chart and each has its own unique advantages.

In the following example the geographic regions, NA (North America)


and EU (Europe) are in the original chart. But, a new series of data,
APAC (Asia-Pacific), must be added.
Adding a Data Series to an Excel Chart

Drag a Range to Add Data to an Excel Chart

There’s two ways to do this. The easiest is if the data series are located
next to each other. If they are, then select the chart so the selection
handles show around the chart data, like the small squares surrounding
the numbers in the figure. Drag the lower-right handle to the right so the
data selection includes the APAC title and the data. When you release
the chart will redraw to include the APAC data.

Copy and Paste to Add Data to an Excel Chart

If the new data series isn’t located adjacent to the original data then you
can use the copy and paste method of adding data. Select the APAC
title and the data below it and choose Copy. Now, right-click on the edge
of the chart and select Paste. You’ve just pasted a new data series into
the chart.

Use the Select Data Source for Ultimate Control of Excel Chart Data

There’s one more method you can use. The Select Data Source gives
you ultimate custom control over which labels and data are referenced.
To display the Select Data Source dialog box, select the chart and in the
Chart Tools tab, select Design. Now click Select Data in the Data group
on the left. This displays the Select Data Source dialog box. In this box
you can add, edit, or delete data series and series names.

Use the Select Data Source Dialog to Add, Change, or Modify a Data Series

To add the APAC data, click the Add button under Legend Entries
(Series). Enter the APAC series name by clicking inside the Series
Name edit box and then clicking the cell containing APAC. Next enter
the series data by clicking in Series Value edit box and dragging across
the APAC data cells. As you select new data you will see the chart
redraw to include the data.
The Edit Series enables selection of non-adjacent chart data

Which method should you use? Well, dragging the data border handles
is obviously very easy when the new data is adjacent to the old and you
want to use the title that’s at the top of the new data. Copy and Paste is
also very easy to use when the title is the text at the top of the data, but
with the Copy and Paste method the new data doesn’t have to be next to
the old data.

For the greatest versatility, but requiring more clicks, use the Data
Source dialog box. This allows you to select data anywhere, even on
other worksheets or in other workbooks. You can also type text in the
Series Name edit box if you want a legend title different from the title
above the data.

Excel SUBTOTAL Function


Summary 
The Excel SUBTOTAL function returns an aggregate result for supplied values.
SUBTOTAL can return a SUM, AVERAGE, COUNT, MAX, and others (see table
below), and SUBTOTAL function can either include or exclude values in hidden
rows.

Purpose 
Get a subtotal in a list or database

Return value 
A number representing a specific kind of subtotal

Syntax 
=SUBTOTAL (function_num, ref1, [ref2], ...)

Arguments 
 function_num - A number that specifies which function to use in calculating
subtotals within a list. See table below for full list.
 ref1 - A named range or reference to subtotal.
 ref2 - [optional] A named range or reference to subtotal.
Version 
Excel 2003

Usage notes 
Use the SUBTOTAL function to get a subtotal in a list or database. Despite the name,
SUBTOTAL has the ability to perform a variety of math functions, including
AVERAGE, COUNT, MAX, and many others (see table below for the complete list).
By default, SUBTOTAL excludes values in rows hidden by a filter, which makes
SUBTOTAL very useful in Excel Tables.
The SUBTOTAL function automatically ignores other SUBTOTAL formulas that
exist in references to prevent double-counting.
Examples

Below are a few examples of SUBTOTAL configured to SUM, COUNT, and


AVERAGE the values in a range. Notice the only difference is the value used for
the function_num argument:
=SUBTOTAL(109,range) // SUM
=SUBTOTAL(103,range) // COUNT
=SUBTOTAL(101,range) // AVERAGE
Available calculations

SUBTOTAL behavior is controlled by the function_num argument, which is


provided as a numeric value. There are 11 functions available, each with two options,
as seen in the table below. Notice the values are "paired" (e.g. 1-101, 2-102, 3-103,
and so on). This is related to how SUBTOTAL deals with manually hidden rows.
When function_num is between 1-11, SUBTOTAL includes cells that have been
manually hidden. When function_num is between 101-111,
SUBTOTAL excludes values in rows that have been manually hidden. 
Function Include hidden Ignore hidden

AVERAGE 1 101

COUNT 2 102

COUNTA 3 103

MAX 4 104

MIN 5 105

PRODUCT 6 106

STDEV 7 107

STDEVP 8 108

SUM 9 109

VAR 10 110

VARP 11 111
Note: SUBTOTAL always ignores values in cells that are hidden with a filter. Values
in rows that have been "filtered out" are never included, regardless of function_num.
SUBTOTAL in Excel Tables

The SUBTOTAL function is used when you display a Total row in an Excel Table.
Excel inserts the SUBTOTAL function automatically, and you can use a drop-down
menu to switch behavior and show max, min, average, etc.  The reason Excel uses
SUBTOTAL for calculations in the Total row of an Excel Table is because
SUBTOTAL automatically excludes rows hidden by the filter controls at the top of
the table. That is, as you filter rows in a table with a Total row, you'll see the
calculations update automatically to respect the filter.
SUBTOTAL with outlines

Excel has a Subtotal feature that automatically inserts SUBTOTAL formulas in sorted
data. You can find this feature at Data > Outline > Subtotal. SUBTOTAL formulas
inserted this way use the standard function numbers 1-11. This allows the subtotal
results to remain visible even as rows are hidden and displayed when the outline is
collapsed and expanded.

Note: although the Outline feature is an "easy" way to insert subtotals in a set of
data, a Pivot Table is a better and more flexible way to analyze data. In addition, a
Pivot Table will separate the data from the presentation of the data, which is a best
practice.
Notes

 When function_num is between 1-11, SUBTOTAL includes values that are


hidden
 When function_num is between 101-111, SUBTOTAL excludes values that are
hidden
 In filtered lists, SUBTOTAL always ignores values in hidden rows, regardless
of function_num.
 SUBTOTAL ignores other SUBTOTAL formulas that exist in references to
prevent double-counting.
 SUBTOTAL is designed to work with vertical data values arranged vertically. In
horizontal ranges, values in hidden columns are always included.
Cell References
 

Relative Reference | Absolute Reference | Mixed Reference


Cell references in Excel are very important. Understand the difference between relative, absolute and mixed
reference, and you are on your way to success.
Relative Reference
By default, Excel uses relative references. See the formula in cell D2 below. Cell D2 references (points to) cell
B2 and cell C2. Both references are relative.

1. Select cell D2, click on the lower right corner of cell D2 and drag it down to cell D5.

Cell D3 references cell B3 and cell C3. Cell D4 references cell B4 and cell C4. Cell D5 references cell B5 and
cell C5. In other words: each cell references its two neighbors on the left.

Absolute Reference
See the formula in cell E3 below.

1. To create an absolute reference to cell H3, place a $ symbol in front of the column letter and row number
($H$3) in the formula of cell E3.
2. Now we can quickly drag this formula to the other cells.

The reference to cell H3 is fixed (when we drag the formula down and across). As a result, the correct lengths
and widths in inches are calculated. Visit our page about absolute reference to learn more about this type of
reference.
Mixed Reference
Sometimes we need a combination of relative and absolute reference (mixed reference).
1. See the formula in cell F2 below.
2. We want to copy this formula to the other cells quickly. Drag cell F2 across one cell, and look at the formula
in cell G2.

Do you see what happens? The reference to the price should be a fixed reference to column B. Solution: place
a $ symbol in front of the column letter ($B2) in the formula of cell F2. In a similar way, when we drag cell F2
down, the reference to the reduction should be a fixed reference to row 6. Solution: place a $ symbol in front
of the row number (B$6) in the formula of cell F2.
Result:

Note: we don't place a $ symbol in front of the row number of $B2 (this way we allow the reference to change
from $B2 (Jeans) to $B3 (Shirts) when we drag the formula down). In a similar way, we don't place a $ symbol
in front of the column letter of B$6 (this way we allow the reference to change from B$6 (Jan) to C$6 (Feb)
and D$6 (Mar) when we drag the formula across).

3. Now we can quickly drag this formula to the other cells.

You might also like