Electronic Spreadsheet
Electronic Spreadsheet
Electronic Spreadsheet
Data Consolidation
➔ Data from these multiple worksheets can be combined, which is
known as data consolidation.
➔ It is a method to combine data from two or more cell ranges in a
into a single worksheet,or multiple sheets in a workbook by using
the Consolidate command.
➔ Thus, data consolidation is the integration of data from several
worksheets or workbooks and applying any operation to
summarise the data and save the single worksheet, which updates
as the data on other sheets changes
➔ Once the data is consolidated, you can save the file. When the file
is reopened, you will find all the data in the cell ranges, along with
the consolidated data will get refreshed if the other data.
Consolidating Data
1. Insert a new sheet in the same workbook, and add the column
and row names as in the other
2. Click on the Data tab, in the Data Tools group, select the
Consolidate command. Consolidate dialog box that will provide the
options for consolidating the data
3. Choose a function operation to apply. The default configuration -
Sum function.
4. Next, choose the source cell range in the Reference field, which
contains the data that needs to be consolidated. You can either
type a data range of the source data or select a range with a
mouse.
5. Once you choose the range of cells, click on Add and continue
until you are done with all the data that need to be consolidated.
6. Now, once you click on OK, the consolidated data will be saved
in the selected target area in the selected target sheet, where the
results will be displayed.
➔ easier to analyse the overall easy to add a same column where the
annual sales for each flavour can also be shown.
➔ Similarly, you can choose other functions for consolidating data.
Note: If any data changes in the selected cell range, the
consolidated data will also reflect the same
Subtotals
➔ The SUBTOTAL function of Excel lets you total data arranged in a
group of cells with labels for rows and/or columns. It helps you to
get summarised data.
➔ Subtotal is the simplest way to summarise data in a spreadsheet.
➔ To add subtotal values follow these steps, and
1.ensure that the columns are labelled.
2. On the Data tab, in the Outline group, click on the Subtotal
button after selecting the range cells for which you wish to
generate subtotals.
3. The Subtotal dialog box opens. Choose a column you wish to
see change in under the At each change in box.
4. Under the Use function option in the dialog box, there is the list
of all available operations that you can apply to the data. Choose
the function to use to calculate the subtotals.
5.Next, choose the source cell range in the Reference field, either
type a data range of the source data or select a range with a
mouse
6. Click on OK to complete the settings and get the results.
What-if Analysis
➔ enables you to test out different values for formulas.
➔ investigate all the possible outcomes by utilising multiple distinct
sets of data in one or more formulas.
➔ What-if Analysis Tools
Goal Seek
Scenarios
Solver
Goal Seek
➔ Goal Seek feature of Excel calculates what value must be in an
input cell in order to accomplish a certain target value in a formula
cell.
➔ To use Goal Seek, you will define a formula that produces a
certain result
➔ The steps to use the Goal Seek feature are as follows:
1. On the Data tab, in the Forecast group, click on the What-if
Analysis drop-down butte
2. Click on the Goal Seek option. The Goal Seek dialog box opens.
3. Here, you need to specify the location of the target cell, the
target value, and the cell the wish to change. click on OK
Excel will automatically provide the result.
Creating Scenarios
➔ A scenario is a set of values with which You can store multiple
versions of data in the same cells.
➔ Every scenario can be named uniquely
➔ When you print the spreadsheet, data from the active scenario is
displayed.
➔ A single worksheet can have numerous scenarios added to them.
➔ helps you view the best possible case when you have multiple
variables and want to see the effect on the final result
1. On the Data tab, in the Forecast group, choose Scenario
Manager by clicking on the What-if Analysis drop-down button.
2. This opens the Scenario Manager dialog box. Choose function
3. On the next (function) Scenario dialog box. Give the new
scenario a name that clearly identifies it. provide some additional
descriptions in the comments window.
4. Under the Changing cells, specify the range of cells that change
based on the scenario selected.
5. Click on OK, and the scenario is saved.
(In Excel, prevent changes are checked by default and it shields a
scenario from change making it possible to modify or remove the
scenario in any way. If you want excel to hide the scenario when
worksheet protection is enabled, then you will need to check the
Hide option.)
6. Repeat steps 3 to 7 and create another scenario.
7. Click on the Summary button in the Scenario Manager dialog
box to see a report of all the scenarios created by you.
Solver
➔ You can enhance the settings of Goal Seek by using the Solver
option.
➔ Goal Seek only allows to set or modify the value of one cell at a
time, whereas Solver can handle formulas with several variables.
➔ The formulas in the objective and constraint cells are computed by
the Solver using a set of variable cells, also known as decision
variables
Note: The Solver option is an Excel 2016 add-in. You must first
activate it before using it.
1. Enter the primary details in the cells.
2. Click on the Solver command in the Analyze group.
3. The Solver Parameters dialog box opens.
configure the following three crucial clements:
□ Objective cells - the target cell
□ Variable cells - the adjustable cells
□ Constraints
(By adjusting the values in the Variable cells and taking into
account restrictions in the Constraint cells, it determines the best
value (maximum, minimum, or specified) for the formula in the
Objective cell.)
4. Set the objective to the cell that contains the formula.
5. Set the changing variables. Thereafter, click on Add
6. The Add Constraint dialog box opens. Choose the cell reference
and the operator and set the value under Constraint
7. Click on OK.
8. Now again, click on Add to add other constraints. Once you
complete all these settings, click on Solve.
9. The Solver Results dialog box will open. Choose Keep Solver
Solution and Click on OK.
10. Solver will now furnish the result into the respective cells.
Creating References
➔ References for cells can be created manually or by using the
mouse to choose the cells.
1. Select the cell where you want to enter the formula
2. In the formula bar, type an equal sign (=) and the formula you
want to use
3. Select the tab for the worksheet you want to reference
4. Select the cell or range of cells you want to reference
Access:
□ import an Access database into a spreadsheet. To do so,
□ click on the From Access option and open the Access database
available.
□ The Select Data Source dialog box will have a list of all the
tables within the database. Choose the database you want to
import by clicking on the Open option.
□ Next, the Import Data dialog box opens. Choose how you want
to view this data in your workbook and whether you want to put the
data in a new workbook or the existing workbook.
□ You can specify the cell number in the existing sheet where you
want to put the data. Once the data is imported it will be furnished
in the workbook
From Web:
To import data from the web,
□ provide the website address
□ Click on Import.
□ The textual data from the web page will be imported into the
existing worksheet from the web page.
From Text:
□ This option allows importing data from any text file, such as .txt.
□ Locate the file. select it, and click on Open in the Import Text File
dialog box.
Co-authoring in Excel
➔ The users with Edit permissions can co-author the file.
➔ Each user must use an Excel version that supports the co-
authoring feature.
➔ After signing in, the edit workbook drop-down menu appear with
two options-Edit in Excel and Edit in Browser
➔ It is advisable for every user to use desktop Excel instead of
online.
➔ If anyone is working on the document, then the active cells appear
with a green colour outline, which indicates that the file is currently
being used by a user.
➔ We can just put the mouse hover over the cell to get the details
about the user editing the cell.
Recording Changes
➔ Recording changes means to edit a document and make
temporary changes, which can later be accepted or rejected by
any user.
Adding a Comment
1. Select the cell where you wish to add a comment.
2. On the Review tab, in the Comments group, click on the New
Comment button.
3. A comment box will appear wherein you can type your
comment. click outside the box to close the comment box.
4. The comment gets added to the cell, represented by a red
triangle mark.
5. You can hover over the cell to view the comment.
Editing a Comment
1. select the cell first.
2. On the Review tab, in the Comments group, click on the Edit
Comment button.
3. make the desired changes in the comment box.
4. When you are done, click outside box
Deleting a Comment
➔ To delete comments, click on the Delete button in the Comments
group of the Review tab..
Reviewing Changes
➔ To review changes means to accept or reject a change.
1. From the Review tab, in the Changes group, click on the Track
Changes button and select the Accept/Reject Changes option from
the drop-down menu.
2. The select Changes to Accept or Reject dialog box opens. Make
sure its set to Not yet reviewed. When done, click on OK
3. The Accept or Reject Changes dialog box will appear. Click on
Accept or Reject for each
Comparing Spreadsheets
➔ You can compare two worksheets in the same workbook or in
different workbooks. This can be done by viewing the worksheets
side by side.
1. Click on the View tab. In the Window group, click on the View
Side by Side button.
2. In each workbook, you can click on the desired Sheet tab to
open the sheet you wish to compare.
3. To scroll both the worksheets at the same time, click on
Synchronous Scrolling in the Window group on the View tab.
Macros
➔ Macros are used in Excel to automate actions that need to be
performed frequently.
➔ A macro is an action or a series of acts that can be repeated
endlessly. The macro recorder records each step of a macro as a
code written in Visual Basic for Applications (VBA). These actions
may involve entering text or numbers, selecting cells or menu
items from the ribbon, styling cells, rows, or columns, or even
importing information from a different source, such as Microsoft
Access.
➔ The first step is to enable the Developer tab, which is hidden by
default but contains macros and VBA tools.
1. On the File tab, go to and select Options, Customise Ribbon.
2. Under Customise the choose Main Ribbon, Tabs, select the
Developer check box and click on OK
The Developer tab will now appear on the Ribbon.
There are a few helpful things you should know about macros:
➔ When you create a macro in Excel to carry out a series of activities
in a range, the macro will only operate on the cells in that range.
➔ The Macro Recorder will record it if you make a mistake in your
sequence, such as accidentally pushing a button. Re-recording the
entire sequence or changing the VBA code are the only solutions if
you find yourself in such a situation.
Recording a Macro
➔ Follow the steps given below to record a macro.
1. To begin with, click on Record Macro in the Code group on the
Developer tab. The Record Macro dialog box opens. Here are the
four parts of the dialog box.
➔ Macro name: Excel gives a default name to the macro, such as
Macro1. You can give a desired name to the macro.
➔ Shortcut key: Here, you can give a keyboard shortcut to run your
macro. Entering the key combination triggers the macro to run.
This is an optional field.
➔ Store macro in: This option lets you store your macro. This
Workbook is the default option. Storing the macro in This
Workbook means the macro is stored along with the current Excel
file.
➔ Description: This field lets you add a description for the macro.
This can be useful when there are numerous macros in a single
file.
2. After entering all the details, click on OK to start recording.
3. Perform the actions you want to automate, such as formatting
text for specific columns or filling down a column with some data.
4. To finish recording the macro, click on Stop Recording.
Applying a Macro
➔ The steps to apply a macro that you have created are as follows:
1. To use the macro that you have created, choose the cell range
where you want to apply the macro to and then click on Macros in
the Code group.
2. The Macro dialog box will open up. the complete list of all the
macros you have created appears. Select the desired one from the
list.
3. To apply the macro that you have created, choose the location
where you want to apply it.
4. Next, choose the desired macro and click on Run.
Examining a Macro
➔ If you would like to study the macro more closely
➔ click on the View Code button present in the Controls group.
➔ This will open the Visual Basic code that is written in the
background for the steps you defined in your macro
Editing a Macro
➔ You can edit a macro, after you record it.
➔ re-recording the macro will be very time-consuming.
➔ However, editing the macro code more efficiently.
➔ After opening the VBA screen, you can modify the line of code
Selection.
KEY TERMS