Elecronic Spreadsheet
Elecronic Spreadsheet
2 Electronic ease. In the second chapter of this unit, you will learn
to create multiple sheets and link the data in multiple
notes
IntroductIon
In the modern digital world, one of the most important
thing is counting and calculations. Every profession,
household, institution and even our smart devices have
to deal with numbers. In computers we can do the
calculations on number of records spread over the long
sheet using the spreadsheet software that helps to work
with numbers efficiently. It resembles an accountant’s
ledger book wherein everything is recorded under
suitable headings. We have already learned in Class 9,
that how the spreadsheet software performs calculations
and present data in tabular format. It becomes easy
to visualise a huge grid of numbers when represented
using charts in electronic spreadsheet. Moving further,
in this unit you will learn advanced features of electronic
spreadsheet using LibreOffice Calc to perform analysis,
automate repeated tasks, link, share and review data. It
includes – analysing data to extract useful information
for making effective decisions. Macros, is the another
powerful feature of spreadsheet covered in this unit.
Macros are a set of stored functions used to automate
processes repeatedly. They are tools which can be used
2023-24 2023-24
4
Step 4. Observe that the default function
Analyse Data using
CHAPTER
2023-24 2023-24
notes notes
Practical Activity 4.1
Let us take an example that we have two branches of our
shop namely ABC and XYZ. We have the Sales records for the
month of January and February of both the branches in two
different sheets named ABC_Branch and XYZ_Branch. Now we
have to consolidate these two sheets to get the sum of both the
sheets monthly to get the insight about the sale as per product
and branch. Fig. 4.7: Selecting the source data range from the sheet
Now let us create the following sheets in a spreadsheet sales.
Step 5. Click on the sheet XYZ_Branch and select the area to
be consolidated and then click on ADD will add the
next consolidation range (Fig. 4.8).
Step 6. Click on the ‘+’ sign next to Options in the Consolidate
dialog window to change the settings.
‘Consolidate by’ has two options Row labels and Column labels.
Check row label or column label or both if you want to consolidate
it by matching the label.
If Link to source data is checked, then it will keep on updating
the data of the Consolidate sheet automatically if there is any
Fig. 4.4: Data for ABC_Branch Fig. 4.5: Data for XYZ_Branch change made in the selected ranges.
88 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 89
2023-24 2023-24
notes The consolidated sheet will have all the consolidated data along The Subtotal tool in Calc creates
with the original data. You can view the original data of both the the group automatically and applies
sheets and by clicking on the ‘+’ sign in front of the consolidated common functions like sum, average on
row. Fig. 4.10 shows the original data and consolidated data. the grouped data. One can use any type
of summary function for each column as
per the requirement of data analysis.
It can group subtotals by using
category and sorts them in ascending or
descending order so that one need not to
use filters.
Follow the following steps to apply
Subtotal tool.
Step 1. The sheet where this is to be
applied must have labels to the
Fig. 4.11: Choosing subtotal option from
column Data menu
Step 2. Click on Data menu and choose
Fig. 4.10: Consolidated sheet details by clicking on Subtotals (Data>Subtotals) as
the + sign in front of rows shown in Fig. 4.11.
Step 3. Choose the column in the Group
by list in the subtotal dialog
Practical Activity 4.2 which is to be used for grouping
Create two sheets Marks_Term1 and Marks_Term2 to store the the data in the sheet as shown in
marks in Term1 and Term2 for a set of students taking the Fig. 4.12.
following columns: Step 4. Select the column by clicking
1. Name
the checkbox under Calculate
2. Marks in English
subtotals for to create subtotals
3. Marks in Hindi
for.
4. Marks in Maths Fig .4.12: Choose the column in the
5. Marks in Science Step 5. Select the desired function by Group by list
6. Marks in Social Science clicking the function under Use
7. Total marks (using function Sum) function.
8. Percentage (using function Average) Step 6. You can use the 2nd Group and 3rd Group tabs
Now, use the consolidate function to merge these two sheets. to group the data in further levels.
Step 7. Click on OK button.
Groups and Subtotals
Group and Outline in Calc is used to create an outline
of the selected data and can group rows and columns Practical Activity 4.3
together so that one can collapse (-) to hide it or expand Let us take an example to store marks in various subjects by
(+) it using a single click on it. students of Class X as shown in the table given in Fig. 4.13. To
Select the data to be grouped, click on Data>Group take out the average of the subjects scored in each class, use the
subtotal tool which automatically group the data on a particular
and Outline. Then choose Rows to group the data on
column and perform the selected function on any of the column.
the basis of rows or columns to group it on the basis of
columns.
90 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 91
2023-24 2023-24
notes To solve this, perform the following steps: Observe that outline to the left of the row numbers notes
Step 1. Create a sheet as shown in the Fig. 4.13 to take the which is inserted after performing the subtotal tool.
marks for students in a term for a class. This outline shows the hierarchical structure which can
be used to show or hide different levels by clicking on
the group indicators ‘+’ sign to expand and ‘–’ sign to
collapse the data.
You can hide the low-level details and just look at
the final totals and grand totals.
If you want to remove the outline feature from
the sheet at any point of time then it is possible
by just clicking on Data > Group and Outline >
Remove Outline.
2023-24 2023-24
For example, a person who is taking car loan has to Step 2. Select the cells B1 and E1 using Ctrl + Click on these notes
decide on certain factors as given below: cells as these two are the variables in this situation
• The number of years for which the car loan is Step 3. Choose Tools > Scenario will display the Create
taken. Scenario dialog window as shown in Fig. 4.19.
Let us take an example to get the insight of the EMI, Total Amount
paid and Total Interest paid on the Loan Amount (Principal)
taken for a fixed Rate of Interest for a number of time period. So,
now we want to see what will be the EMI and how much is the
total interest paid for different loan amount and time period. To
do so, let us use the Scenario tool by using the following steps:
Step 1. Create the following sheet (Fig. 4.18) and remember to
put the formula to calculate EMI in B3 as
= ABS(PMT(B2/1200,E1*12,B1)) Fig. 4.20: Loan sheet with scenarios
Total Amount in B4
Step 6. Click on the navigator icon in the toolbar and then
= B3*E1*12
click on scenarios. Click on the scenario name will
Total Interest in B8 display all the details as per that scenario.
= B4-B1
94 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 95
2023-24 2023-24
notes 12.5 to 15 lakhs 25% Step 4. Click on Data>Multiple
>15 lakhs 30% Operations will display the
multiple operations dialog window
as shown in Fig. 4.22.
Step 5. Enter the cell address in the
Formulas box from the sheet which
contains the formula
Fig. 4.22: Multiple operation dialog window
Step 6. Now, enter the cell address of the
cell which is a variable and is used
in the formula in Column input cell box.
Step 7. Click on OK will generate all the possible
outputs based on the formula.
Fig. 4.21: Income tax sheet
2023-24 2023-24
notes Step 5. We have formula in cell B5, as we want to use the helps in finding out the input for the specific output.
same cell address to be copied therefore, we have used For example, if you want to know the number of units
absolute cell referencing and written it as $B$5. produced to get the desired output then use Goal seek
Step 6. In this example, we have another variable as number analysis tool. Follow the following steps to use Goal
of items sold which is in the cell $B$4
Step 7. Click on OK will generate a sheet as shown in
seek tool.
Fig. 4.25. Step 1. Enter the values in the worksheet.
Step 2. Write the formula in the cell where the
calculation has to be used.
Step 3. Place the cursor in the formula cell, choose
Tools > Goal Seek.
Step 4. The Goal seek dialog window will appear as
shown in Fig. 4.27, the Formula cell box will
have the correct formula.
Step 5. Place the cursor on the Variable cell box and Fig. 4.27: Goal seek
click on the cell that contains the value to be dialog window
changed.
Fig. 4.25: Result for multiple operations
Step 6. Enter the desired result in the Target value box.
Step 7. Click on OK button.
Goal Seek
It general we fill in the values in the cells and then
create formula on these values to get the required
result. To predict the output, we keep on changing all
Fig. 4.28: Marksheet
the input values to obtain the desired output. Goal seek
98 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 99
2023-24 2023-24
notes notes
Step 2. Click on Tools > Goal Seek will display the Goal seek
dialog window as shown in Fig. 4.29.
Practical Activity 4.10
Create the following spreadsheet (Fig. 4.33) to find out the quantity
to be sold for the item Talc so as to get the total amount of 50000.
Fig. 4.29: Goal seek dialog window Fig. 4.33: Practical Exercise
100 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 101
2023-24 2023-24
notes 7. Which tool is used to predict the output while changing 5. _______________ scenario is used to explore and compare notes
the input? various alternatives depending on changing conditions.
(a) Consolidate function 6. ______________ is a planning tool for what-if questions.
(b) What-if scenario
7. What-if analysis tool uses ____________ array of cells,
(c) Goal seek
one array contains input values and the second uses the
(d) Fine and Replace
_____________.
5. Which of the following is an example for absolute cell
referencing? 8. _____________ helps in finding out the input for the specific
output.
(a) C5
(b) $C$5
(c) $C D. Answer the following questions
(d) #C 1. Define the terms
5. _____________ analysis tool works in reverse order, finding (a) Consolidate function
input based on the output. (b) What-if analysis
(a) Consolidate function (c) Goal seek
(b) Goal seek 2. Give one point of difference between
(c) What-if analysis
(a) Subtotal and What-if
(d) Scenario
(b) What-if scenario and What-if tool
B. State whether the following statements are True or False 3. Give any two advantages of data analysis tools.
4. Name any two tools for data analysis.
1. Consolidate function is used to combine information from
two or more sheets into one. 5. What are the criteria for consolidating sheets?
2. Consolidate function cannot be used to view and compare 6. Which tool is used to create an outline for the selected
data. data?
3. Link to source data is checked updates the target sheet if
any changes made in the source data. Lab Exercise
4. Using subtotal in Calc needs to use filter data for sorting. 1. Mr Gurdeep has to take a loan of Rs. 10 lakhs to buy a
5. Subtotal tool can use only one type of summary function house. After assessing his situation, he has realized that
for all columns. he can pay the loan in 15 years by paying out an EMI
6. Only one scenario can be created for one sheet. of 20,000.
(a) Use Goal seek to find out the interest rate at which he
7. What-if analysis tool uses one array of cells.
can borrow the loan.
8. Goal seek analysis tool is used while calculating the output (b) Use What If Scenario to depict payment of loan in 25
depending on the input. years by paying out an EMI of 10,000.
9. The output of What-if tool is displayed in the same cell (c) Use Scenario manager to find the best case.
2. Power Motors has 3 branches all over Bhopal. Each
C. Fill in the blanks branch maintains monthly sales of different models of
electric scooter and at the end of month mails it to the
1. Consolidate function is used to combine information from State Head. Prepare a consolidated sheet that shows
multiple sheets to _______________________ the information.
total and average sales made for each model of the
2. Data can be viewed and compared in a single sheet for electric scooter with respect to the spreadsheet sent
identifying trends and relationships using ______________ by the branches to the head office. You are required to
function. identify the column headings for the various branches,
3. ________________ under Data menu can be used to enter data in three different spreadsheets indicating
combine information from multiple sheets into one sheet different branches and consolidate data to find total
to compare data. sales and average sales for each model.
4. The _________________ tool in Calc creates the group
automatically and applies functions on the grouped data.
102 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 103
2023-24 2023-24
5
CHAPTER
2023-24 2023-24
notes A Library is a collection of modules which in turn is a Rules for naming a Macro, Module or a Library: notes
collection of macros. While naming a Macro, Module or a Library the name
should :
Practical Activity 5.1 • Begin with a letter
• Not contain spaces
Record a macro to apply the following style to the Heading “Data
Analysis” in the cell A1. • Not contain special characters except for _
The font style should be “Times New Roman” (underscore)
The font size should be “14”
The font colour should be “Blue” Running a Macro
Cells from A1 to G1 should be merged and centred
Let us now run the macro for another sheet which
Procedure
requires its heading in cell A1 to be given the same
Step 1. Create the spreadsheet. Write the heading “Data format as recorded in the Formatheading macro. To run
Analysis” in cell A1.
Step 2. Choose Tools > Macros > Record Macro. Perform the
a macro we need to perform the following steps.
actions mentioned above in Practical Activity 5.1 in Step 1. Type the heading in cell A1
the spreadsheet. Step 2. Use Tools > Macros > Run Macro to open the
Step 3. Click Stop Recording to stop the Macro Recorder. Macro Selector dialog box as shown in Fig. 5.6.
Step 4. The Basic Macro dialog appears as shown in Fig. 5.4,
in which you can save and run the macro.
Step 5. A Standard library is present by default when a
spreadsheet is created and saved.
Step 6. To save the macro, first select the object where you
want to save the macro in the Save macro in list
box. Fig. 5.5 shows that the Main macro is saved by
default in the Standard Library in Module1. You can
change the name of the macro. Here, we have named
the macro as FormatHeading.
106 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 107
2023-24 2023-24
notes the worksheet with another name it is showing Creating and Organising a Simple Macro
Untitled1. You will see further that Untitled1 will
Till now we have learned to record, store and run the
be replaced with the name of the spreadsheet.
Step 3. Select the library and module in the Library macro. The recorded macro is internally stored as
list. instructions written in a programming language that
are executed when the macro is executed or run.
Step 4. Select the macro in the Macro name list.
We selected a library or module to store our recorded
Step 5. Click Run to run the macro.
macro, similarly while creating a macro, either create a
new library/module or edit an existing module stored in
a library. Use the following steps to organize the macro.
Practical Activity 5.2
Step 1. Click on Tools > Macros > Organize Macros >
Run a previously created Macro Formatheading. LibreOffice Basic to open the LibreOffice Basic
Step 1. Type the heading in cell A1. Macro dialog window as shown in Fig. 5.8.
Step 2. Open the Macro selector dialog box by clicking Tools
-> Macros-> Run Macro Step 2. Click Organizer to open the Basic Macro
Step 3. Click on MyMacros > Standard > Module1. Then Organizer dialog as shown in Fig. 5.9.
select Formatheading from the Macro Name box and
click Run as shown in Fig. 5.6.
You will observe that the Heading in Cell A1 is formatted.
The action recorded by a macro is recorded as instructions in a
programming language called BASIC. It is also possible to view
and thus edit the code of a macro. But remember, it is advised to
edit a macro only if you have knowledge of the language in which
the macro is written which is BASIC in case of CALC. You can
view the code generated for the macros by going to Tools >
Macros > Edit Macros.
Choose the macro name from the Object Catalog and the
associated code will be visible as shown in Fig. 5.7.
Fig. 5.8: Basic Macro dialog window Fig. 5.9: LibreOffice Basic Macro Organiser
108 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 109
2023-24 2023-24
notes notes
Practical Activity 5.3
Create a simple Macro using BASIC programming instructions
that will display Hello in a dialog box stored in the Standard
module as shown in Fig. 5.10 when executed.
110 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 111
2023-24 2023-24
notes Step 1. Enter data in a sheet and save it with the name as Step 6. Use fill handle to drag the function for other cells. The notes
Calculatetiles.ods final sheet is shown in Fig. 5.18.
Step 2. Select Tools > Macros > Organize Macros >
LibreOffice Basic to open the LibreOffice Basic
Macros dialog.
Step 3. Choose Calculatetiles.ods. Click on New and type
a name. We have named it as Calctiles as shown in
Fig. 5.15 and press OK.
Fig. 5.18: Displaying Number of tiles using Macro as a function
112 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 113
2023-24 2023-24
notes B. Fill in the blanks notes
1. ________ library is automatically loaded when the document
is opened.
2. IDE stands for _______________________________.
3. Macro as a function is capable of accepting ___________
and returning a ____________.
4. Macro ________________ allows us to add, delete a module.
5. The code of macro begins with __________ followed by the
name of the macro and ends with __________.
Source: https://data.gov.in/resources/seasonal-and-annual-minmax-
6. By default a macro is saved in the _____________ . temp-series-india-1901-2017
Collect information about the population of the South
C. State whether the following statements are True or False
Asian countries form the Internet and store it in a Calc
1. Macro is a group of instructions executing a single sheet. Run the Macro created in (i) to display a chart for the
instruction. data stored.
Create Macro as a function to calculate Amount to be
2. Once created, Macro can be used any number of times.
paid after a 5% discount. A sample sheet for the same is
3. By default, the Macro recording feature is turned on. given below.
4. It is not possible to stop recording of a Macro.
5. Every Macro should be given a unique name.
6. A macro once created can be edited later.
1. Record a Macro that performs Bold, Underline on the (a) Record two macros to create the format given in
Heading in Cell A1. Give macro the name BoldunderlineA1 Fig. 5.20.
and save it in a New Module named Basic Formatting which (b) To enter names of students in the list so that she
is created in a New Library named DocumenHeadingA1. doesn’t need to retype or copy the names
Run the above created macros for a new sheet.
2. Record a Macro that creates a bar chart for data stored in
cells A2 – A9 and K2 to K9. 5. Use Macro as a function to calculate Mileage of a vehicle.
Mileage (in km/L) is calculated as Distance Travelled
3. Run the macro recorded in (i) and display a barchart (in km)/ Fuel filled (in Litre). Create a sheet with three
for the following data showing Minimum and Maximum columns Distance Travelled (in Km), Fuel filled (in L) and
temperature from 2010-2017. Mileage (in km/L).
114 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 115
2023-24 2023-24
6
CHAPTER
Linking Spreadsheet Data Alternatively, you can right click anywhere on the sheet
tab and select Insert sheet option from the drop-down
list displayed as shown in Fig. 6.2. It gives us a choice
to put the new sheet, assign the name of the sheets,
delete a sheet and so on.
Note: Insert Sheet dialog box can be invoked from the
menu option Sheet > Insert Sheet
2023-24 2023-24
notes Creating Reference to Other Sheets by Using notes
Keyboard and Mouse
We have been using cell references for applying functions
and formulas in class IX. In this section we will learn
how to reference cells in other sheets using mouse and
keyboard.
To calculate the final result, it is required to store the
final marks for each subject in the sheet named “Result”
inserted in Activity 6.1 by applying the formula (Marks
obtained in Term1 + Marks obtained in Term2)/2. As Fig. 6.5: Result sheet after referencing the data from
Term1 and Term2 sheets
we know that marks obtained in Term1 and Term2
Any changes made to marks in Term1 and Term2
are stored in different sheets named Term1 and Term2
sheet will be reflected in the result sheet as well. That
respectively.
is how the sheets are linked together.
To calculate the final marks for English in in the
We had selected cell reference by clicking on the
cell C4 of Result sheet, as shown in Fig. 6.5, follow the
cells. An alternative could be to type the reference. First,
following steps.
we need to understand how referencing is performed
Step 1. First copy the Roll No and Name of the
across sheets in the same spreadsheet document.
Student from Term1 sheet to Result sheet, Hence, to refer to a cell in another sheet precede the
copy all headings of and give the name as cell reference with a ‘$’ sign. It is then followed by the
Final Result. name of the sheet in ‘ ‘ ’ (single quotes) followed by a .
Step 2. Click on the = icon next to the input line (or (dot) and then the cell address. For example, to refer a
type = in cell C4), type Sum() and click between cell C4 of sheet named Term1 we will type:
the brackets. $‛Term 1’.C4
Step 3. Now click on the Term1 sheet and click the Note: Single quotes (‘ ’) are used as there is a space
English Marks for the first student and add (,) between Term and 1 in the sheet name.
comma for the next value Let’s Practice– Calculate Final marks for all the subjects by
Step 4. Next click on the Term 2 sheet and click the referencing with Keyboard for one of the columns and mouse for
other columns.
English Marks for the first student.
Step 5. To calculate average type /2 after the sum(+) as Creating Reference to Other Documents
shown in Fig. 6.5 to calculate average. by Using Keyboard and Mouse
Step 6. Press Enter key, the average is displayed in cell
In the previous section we had0 created references to
C4 of Result sheet. Then use fill handle to fill other sheets in a spreadsheet. Sometimes we may intend
the cells up to the last student’s data. to reference sheets stored in another spreadsheet file.
Step 7. The result sheet gives the average marks Let us consider a situation where it is required to
scored by each student in English as shown in create a Summary report consisting of the average of
Fig. 6.5. result sheets for each section of a class. To do so, we
Step 8. You can copy the same formula for other need to insert sheets that are stored in different files.
subjects. Fig. 6.6 shows the final result of class X-A and Fig. 6.7
shows Final Result of class X-B.
118 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 119
2023-24 2023-24
notes
Fig. 6.9: Displaying the highest score in English using Max function
We had selected cell reference by clicking on the cells in the
Fig. 6.6: Result of class X-A stored in Fig. 6.7: Result of class X-B stored in
Result-X-A spreadsheet Result-X-B spreadsheet
separate spreadsheet and an alternative could be to type the
reference. First, we need to understand how referencing is
performed across different spreadsheet files.
Practical Activity 6.2 To refer to a cell in a different spreadsheet we write in single
quotes the path of the file followed by #$ then the name of the
Create Summary of result in a spreadsheet document named sheet followed by a . (dot) and then the cell address.
Result Analysis of class X-A and X-B as shown in Fig. 6.8. For example: ‘file:///C:/Users/ADMIN/Documents/X-A.ods’#
$Result.C4
Note : The path of a file has three forward slash ///. A filename
can have space within its name hence single quotes (‘ ‘) are used.
It is also possible to insert a sheet from another file. The From
file option of Insert Sheet Dialog box allows us to insert sheet
from another file as well (refer Fig. 6.10).
Insert a sheet from an existing file into the current document.
120 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 121
2023-24 2023-24
notes Step 5. Click on the required “Result” sheet from the file “Result- Hyperlinks to the Sheet
X-A.ods” as shown in Fig. 6.10.
Sometimes it is required to jump to a document stored
Step 6. Check the Link checkbox to ensure that the changes
made in the selected sheet “Result” are reflected. at a different location from within a document. It can be
Step 7. Press OK. You will find the Result sheet added to the done by creating a hyperlink. It is possible to jump from
sheet tab as shown in Fig. 6.11. a sheet in the same spreadsheet, different spreadsheet
or a website by creating a hyperlink.
122 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 123
2023-24 2023-24
Step 3. To insert the spreadsheet document, click on
the Document on the left pan of dialog box,
then to select the spreadsheet document, click
on the button located after the Path. Select the
required document. In our case we select the
spreadsheet document “Result-X-A”.
Step 4. Then click on the Target button to choose the
sheet which is to be hyperlinked. Target in
Document helps to specifically choose a target
in the document such as sheet, tables, frames,
images, headings and so on. Here in our case
we will select the sheet Result as shown in
Fig. 6.15: Hyperlink inserted in the spreadsheet
Fig. 6.13.
Step 5. Click on Apply and Close button to exit the Step 9. To open the hyperlinked sheet, press the Ctrl
key and click on the hyperlinked word “Result-
Target Document window.
X-A”, the sheet will be opened in the new
Step 6. Enter the text in the Text box to assign the window as shown in Fig. 6.16.
hyperlink to that text. In our case we have
entered the text as “Result-X-A” as shown in
Fig. 6.14. So the hyperlink will be assigned to
the text “Result-X-A”.
Let’s Practice
Create a Hyper link to
Result Analysis
spreadsheet.
Editing a Hyperlink
To edit an existing link, place the
cursor anywhere in the link and
right click the hyperlink. A context
Fig. 6.14: Specifying Target and Text for inserting a Hyperlink menu will be displayed as shown in
Fig. 6.17.
Step 7. Click on Apply and Close button to confirm the Click on Edit Hyperlink...,
changes and exit the Hyperlink dialog box. the Hyperlink dialog box will be
Step 8. Observe that the hyperlink is assigned to the displayed, where you can make
word “Result-X-A” as shown in Fig. 6.15. changes to the hyperlink.
Fig. 6.17: Selecting Edit Hyperlink from context menu
on right clicking the Hyperlink
124 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 125
2023-24 2023-24
On clicking the Remove Hyperlink option, the link The table is inserted in the spreadsheet as shown in
will be removed from the text and thus it will not point Fig. 6.20.
to any other location.
126 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 127
2023-24 2023-24
notes Step 3. Enter the location of the database file, or click C. State whether the following statements are True or False notes
Browse to open a file browser and select the
database file. 1. A sheet can only be added before the current sheet.
Step 4. Type a name to use as the registered name for 2. If ‘sales’ sheet has a reference to ‘cost’ sheet then any
changes made to ‘cost’ sheet will be reflected in the sales
the database and click OK. The database is sheet as well.
added to the list of registered databases.
3. It is not possible to link a sheet as a reference in another
Note – The OK button is enabled only when both fields sheet.
are filled in. 4. We can insert data from a table created on a web page into
a spreadsheet.
Check Your Progress 5. A hyperlink once created on a sheet cannot be deleted.
128 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 129
2023-24 2023-24
7
Share and Review a
CHAPTER
Sharing Spreadsheet
Fig. 7.3: Contents of spreadsheet Test.ods
Sharing a spreadsheet is just like a
teamwork to work in collaboration with Step 2. Select and click on Tools > Share Spreadsheet from
main menu bar. This will open the Share Document
other users. The following are the steps dialog window as shown in Fig. 7.1. Put the check-
to share the spreadsheet. mark on the check box, “Share this spreadsheet with
Step 1. Open a new spreadsheet and other users”, as shown in the Fig. 7.1.
save it with some name. Step 3. Click on the checkbox and then on OK button. It will
display the Confirmation dialog window to activate
Step 2. Select and click on Tools > the sharing mode as shown in Fig. 7.2. Click Yes to
Share Spreadsheet from main menu continue.
bar. This will open the Share Document Step 4. Observe that shared is added with the name of the
dialog window as shown in Fig. 7.1 document in the title bar as shown in Fig. 7.4.
which can be used to enable or disable
sharing option.
Fig 7.1: Share Document dialog window
Step 3. Click on the checkbox “Share
this spreadsheet with other users” to
share the spreadsheet and click on OK
button. This will open the confirmation
dialog window as shown in Fig. 7.2 to
save the spreadsheet to activate the
Fig. 7.2: Confirmation dialog window for
sharing a spreadsheet shared mode.
2023-24 2023-24
Opening and Saving a Shared Spreadsheet Recording Changes
Opening a Spreadsheet This feature of LibreOffice Calc provides different ways
to record the changes made by one or other users in
To open a shared spreadsheet, follow the
the spreadsheet. While recording the changes, the
following steps.
spreadsheet will turn off its shared feature. Follow the
Step 1. While opening a spreadsheet which is
a shared spreadsheet, a message will appear following steps for recording changes:
as shown in Fig. 7.5 that the spreadsheet is Step 1. To enable the Record changes, first disable the
Fig. 7.5: Message box while opening in shared mode and some of the features are shared mode of spreadsheet.
shared spreadsheet Step 2. To disable the shared mode, open the
not available to use in this spreadsheet.
Step 2. Click on OK button to open the spreadsheet in spreadsheet “Test.ods”.
shared mode. Step 3. Select and click on Tools > Share Spreadsheet
Step 3. If you don’t want this warning option to be from main menu bar. This will open the
displayed again, then check the mark in the Share Document dialog window. Remove the
checkbox ‘Do not show warning again’. check-mark on the check
box, “Share this spreadsheet
Step 4. Once the spreadsheet is saved in shared mode, with other users”, and click
some of the features will become unavailable on OK button. It will display
for used. the Confirmation dialog
Step 5. Observe the Edit menu on the main menu window to disable the sharing
bar as shown in Fig. 7.6, that shows Undo, mode. It will give warning to Fig. 7.7: Confirmation dialog window to disable sharing
mode of spreadsheet
Redo, Repeat, Paste, Links to External files, disable the shared mode of a
ImageMap, Object are not available for use. spreadsheet as shown in Fig.
Fig. 7.6: Edit menu of shared 7.7. Click Yes to continue.
spreadsheet Saving a Shared Spreadsheet
Step 4. Observe that (shared) word from
Follow the steps given below to save a shared the name of the spreadsheet has
spreadsheet: disappeared from the title bar of the
Step 1. After making the changes in the shared spreadsheet.
spreadsheet, you need to save it before closing Step 5. The feature of Track Changes >
the spreadsheet. Record under Edit menu is turned
Step 2. If two or more users are working at the same ON as shown in Fig. 7.8, which was
time and the changes do not conflict, then the disabled and not working in the shared Fig. 7.8: Recording Track
message will appear stating that the spreadsheet spreadsheet. changes under Edit
has been updated with changes saved by other Step 6. Now to record track changes, click on menu enabled
users. Edit > Track Changes > Record as
Step 3. If there is any conflict for the changes, then shown in Fig. 7.8.
resolve conflict dialog window will appear. Step 7. Now change name Sia to Sita in cell
Step 4. No other user can save the shared spreadsheet B5 as shown in Fig. 7.9. Observe that
when you are resolving the conflicts. the border colour of the cell in which
Step 5. If another user is trying to save the shared data has been changed turns to red.
document and resolve conflicts, then you will be Also, the changed cell will display the
notified with a message that the file is locked. description if the cursor moves to the
Fig. 7.9: Displaying the information of
Now, you cannot save it. changed cell. changes recorded under track changes
132 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 133
2023-24 2023-24
Step 8. Thus, by looking at the spreadsheet, other Step 4. You can also insert comments to a
users can easily know the changes made in the cell. Click on the cell where you
cell and the changes made by whom. want to insert comments. Then
select from main menu Insert >
Practical Activity 7.2 Comment as shown in Fig. 7.13.
Assume that you are captain of your school cricket team. Prepare
Step 5. This type of comments is known
the budget in the spreadsheet for the current academic year. as notes or suggestions in the
Turn ON the feature Track Changes > Record and ask other spreadsheet. The box will appear
team members to make necessary changes in the spreadsheet. to write the comment as shown
in Fig. 7.14. The comment box
Add, Edit and Format the Comments shows the comments entered as
Fig. 7.13: Insert Comment
“Contains only alphabets”. Once
In Calc, the comments are automatically added. this text is typed in the text box,
Also, the author or reviewer can add their own you can observe a coloured dot in
comments as well. Follow the following steps to the upper-hand corner of the cell
add your comments: where the comment is added using
Step 1. Select from main menu bar and click insert comment.
on Edit > Track Changes > Comment Step 6. Once the comment is added, you
as shown in Fig. 7.10, to add your own can display, edit or delete it. To
comments. perform these operations, right
Step 2. This will open the Add comment window. click on the cell where you have
Enter your comments. Fig. 7.11 shows inserted the comments as shown
the comments entered. in Fig. 7.15. Observe the options
Fig. 7.10: Selecting Comment under Step 3. Now to view the entered comment, click under popup menu.
Track Changes on the cell B6 as shown in Fig. 7.12. It Step 7. Select the “Edit Comment” option
Fig. 7.14: Comments inserted in comment box
shows the complete description of the to edit the comments. It will take
comments entered. you again to the comment textbox
to make any changes.
Step 8. Select “Delete Comment” option to
delete the comment.
Step 9. Select the “Show Comment” to
view the comment. By selecting
this option, the comments will be
displayed. Again when you right
click on the cell, you will observe
that “Hide Comment” option will
be activated in place of “Show
Comment”. This is because when Fig. 7.15: Right click menu options after
inserting comments
you are displaying the comments it
Fig. 7.11: Entering text in Comment Fig. 7.12: Comment displayed with full description
is already in show mode, which has
dialog window to be hide.
134 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 135
2023-24 2023-24
Formatting Comment Step 2. This is used to plan what all
changes are to be displayed
You can format the comment box, while reviewing the spreadsheet.
just like formatting the cell contents.
Step 3. Click on Edit > Track Changes
It means changing the background > Manage to accept or reject
colour, border style, and transparency the changes. It will display the
of a comment. Follow the following Manage Changes dialog window
steps to format the comment. as shown in Fig. 7.18.
Step 1. Right click on the cell where Step 3. In this dialog window, click on
the comment is added. the line and click on Accept or
Step 2. Select the option “Format Accept All or Reject All button Fig. 7.18: Manage Changes dialog window to
to review the changes. accept or reject changes
cell”, which will display the Format
Cells dialogue box as shown in Step 4. Click on Close button once the review is done.
Fig. 7.16.
Let’s Practice — As the changes done by other team members
Fig. 7.16: Format Cells dialogue box Step 3. You can apply the various in the Practical Exercise 7.4 has been recorded by the feature in
formatting features from its tab such Calc, now you just review those changes and accept or reject the
as Font, font Effects, Alignment, Borders, necessary changes done by other team members.
Background and Cell Protection. Change
the font, text colour, fill colour, line colour Merging and Comparing
for the comment box as desired and click on
OK button to apply the changes. Observe the If the same spreadsheet is reviewed by different team
desired formatting features applied to the members and you have two different versions of the
comment box. same spreadsheet file. Follow the following steps to
merge document.
Let’s Practice — Save the spreadsheet with some other name.
Turn off the shared feature. Now, make some changes in the
spreadsheet. Also, add comments into the changed cells. Try Practical Activity 7.3
editing comments and format it with different colours.
Merge two files
To work on our earlier created spreadsheet Test.ods, save the
file Test.ods with another name say Test1.ods and make some
Reviewing Changes – View, changes in the spreadsheet Test1.ods. Now, we have two files
Accept or Reject Changes that are to be merged.
Step 1. Open the spreadsheet file Test.ods. Note the contents of
Once the spreadsheet is edited by all the spreadsheet Test.ods in Fig. 7.19. Also note the contents
members of the team. It is the final stage of spreadsheet Test1.ods before merging in Fig. 7.20.
before submitting the spreadsheet. In this
stage, we will go through the changes
to accept or reject to prepare the final
spreadsheet after looking at all the changes
made by the team members. Follow the
following steps to review changes.
Step 1. Select and click on Edit >
Fig. 7.17: Show Changes Dialog window
Track Changes > Show. It will open the
Show Changes dialog window as shown in
Fig. 7.19: Contents of Test. Fig. 7.20: Contents of
Fig. 7.17. ods before merging Test1.ods before merging
136 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 137
2023-24 2023-24
notes Step 2. Click on Edit > Track Changes > Merge Document Step 6. Now open the first
as shown in Fig. 7.21. spreadsheet Test.ods
after merging and observe
its contents as shown
in Fig. 7.24. Observe
that Fig. 7.24 shows the
contents of Test.ods and
Test1.ods merged.
138 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 139
2023-24 2023-24
notes Check Your Progress C. Fill in the blanks notes
A. Multiple choice questions 1. The title bar of the document shows __________________
along with the filename for the shared mode of the
1. Sharing allows to edit the spredshheet by spreadsheet.
(a) single user
2. The shared mode spreadsheet allows __________ users to
(b) different users simultaneously
access and edit the spreadsheet at the same time.
(c) one by one users
(d) one after other users 3. Recording changes automatically ____________ the shared
2. Sharing spredsheet feature allows to save the changes in mode of a spreadsheet.
(a) multiple sheets 4. Click on Edit menu, Track Changes and then select
(b) user’s sheet ____________ to record the changes in the spreadsheet.
(c) in a same sheet 5. The border color of the changed cell will be ______________.
(d) in different sheet
6. ____________ is used to add notes or suggestions to a cell
3. The Recording Changes feature of LibreOffice Calc provides in a spreadsheet.
different ways to record the changes made by ____________
in the spreadsheet. 7. The comment box can be formatted just like formatting
the __________ (cell contents).
(a) one user
(b) other user
D. Answer the following questions
(c) the user
(d) one or other users 1. Define the terms
4. In Calc, the comments are added (a) Sharing Spreadsheet
(a) automatically (b) Record changes
(b) by author 2. Write the commands to perform
(c) by reviewer (a) Sharing Spreadsheet
(d) all of above (b) Record changes
5. The changes by team members in the spreadsheet can be 3. Which menu is used to perform the functions
accepted or rejected by (a) Track Changes
(a) the team members (b) Saving Spreadsheet
(b) any of the user 4. What do you understand by reviewing the changes in the
(c) owner spreadsheet?
(d) other users
5. Differentiate between Merging and Comparing Spreadsheet.
B. State whether the following statements are True or False
Lab Exercise
1. Spreadsheet cannot be shared to work with more than one
Anushka and Niyaz have been made the class representative.
user?
Anushka has been asked to collect the class assignments for the
2. Some of the features becomes unavailable when the various subjects. Create a spreadsheet to store the roll number,
spreadsheet is in shared mode. name of the students and subject names. Perform the following
3. You can record changes in the spreadsheet when the operations so that Niyaz can access the file:
spreadsheet is opened in shared mode. 1. Enable Track changes
4. File menu is used to Record changes for the spreadsheet. 2. Add comment to show the date on which the assignment
5. You can add a note or suggestion in the spreadsheet using has been submitted.
Insert Comment. 3. Share the document with the class teacher.
6. Formatting comment can be used to change the font
colour of the comment.
140 Domestic Data entry operator – class X ElEctronic SprEadShEEt (advancEd) uSing librEofficE calc 141
2023-24 2023-24