You are on page 1of 56

Record-2019

Computerised Accounting Record Works

Record-1 [Part-A]

Title: Naming the range,Swum,Sumif,Min.Max and Average

Q. Consider the following data

si no Months Sales
1 Jan 50000
2 Feb 68000
3 Mar 78000
4 Apr 67500
5 May 45000
a. Sales are in the range C2:C6. Name this range as Monthly Sales.

b.Find the sum of the Range "Monthly Sales"

c.Find the sum of all figures within the range which is greater than or equal to 66000

Step-1

Application---------office-----LibreOffice calc

Step-2

Enter the labels

A1- SI NO

B1- MONTHS

C1- SALES

Then enter values given in the question in respective cells.

1 Binoy George
Record-2019
Step-3

Select the range C2:C6, where the values of sales figures entered.

Step-4

Select “Define Range “from “Data” Menu.Here enter the name of the range as
“monthlysales”----Ok

Note: No space is required at the time of giving range name.

Step-6 Calculate sum of monthly sales in cell C7

C7=SUM(monthlysales) + Enter

Step-7 Find the sum of all figures within the range which is greater than or equal to 65000 in
Cell C8

C8=SUMIF(monthlysales,”>=65000”)

OUTPUT :

2 Binoy George
Record-2019
Record-2 [Part-A]

Title: Age calculation using Today ( ) Function

Find out the age of an employee John. His date of birth is 24-11-1975. Use TODAY ()
Function.

Solution:

Syntax= TODAY( ) At the time of solving this problem ,date


was 15-08-2018
1) Select cell A1 and type the formula A1=Today()
2) Select cell B1 and type the date of birth 24-11-1975
3) Select cell C1, C1=A1-B1.Here we get no of days as 15605.
4) We can divide these days(15605) by 365.25 to convert days into years or
D1=C1/365.25.here we get 42.72 years.
Note:365.25 here the fractional value( .25 ) is used for leap year adjustment.

OUTPUT:

Record-3 [Part-A]

Title: SUMIF

Q.Following table shows the sales figures of various salesmen in the month of September in
Union Trading Company.

Sales Man Sales

Johny 8000

Johnson 12000

Chacko 6000

Johny 30000

Chacko 38000

Johnson 18000

Johnson 7000

3 Binoy George
Record-2019
Calculate the (1) Total sales of Johnson? Also calculate (2) Total monthly sales by using
SUM Function (use name range, give name as “Totalsales”)

Procedure: (1)

Syntax=SUMIF(range,”criteria”,sum range)

Step-1 Open a new spread sheet in LibvreOffice Calc

Application------Office------LibreOffice Calc

Step-2 Enter the label as

SALESMAN-A1

SALES (Rs)- B1

Then enter the details given in the question in respective cells.

Step-3 Enter the Label “Total sales by Johnson” in cell-C2

Calculate Total Sales by Johnson in cell D2

Step-4 D2=SUMIF(A2:A8,”Johnson”,B2:B9)

“Range” in which It is the cell in which the search criterion is shown It is the range from
criteria is to be or if the criteria are writes in the formula directly, which values are
applied it has to be surrounded by double quotes. summed

OUTPUT: 1

Total Sales by salesman Johnson=37,000.

Procedure: (2)

Calculate Total Monthly Sales using SUM Function

Step-5 Naming the Range.

4 Binoy George
Record-2019
Select the range of the cells for which name is to be assigned (B2:B8) -----Data---Define
range. Here enter the name of the range as “Totalsales”(without space)-----Ok.

Step-6 Enter the label “Total Sales” in the cell C1

Step-7 Calculate Total Sales in the cell D1

D1=SUM(Totalsales)

OUTPUT: 2

Total Monthly Sales=1,19,000

Record-4 [Part-A]

Title: SUM, AVERAGE, MIN, MAX

Q.Prepare a score sheet of 7 students as in the following table.

Name Score-1 Score-2 Score-3 Score-4

Balan 79 89 70 67

Chandran 56 67 89 67

Soman 45 98 65 34

Suhail 78 89 90 56

Vijayan 50 98 97 67

Sasi 98 89 96 59

Sasikala 89 90 80 78

A)Find the total score of each student.

B)Find the Average score of each student.

C)Find the lowest score of each student.


5 Binoy George
Record-2019
D)Find the highest score of each student

Procedure:

Step-1 Application---------office-----LibreOffice calc

Step-2 Type the column head as:

A1= Name

B1= Score-1 Syntax=SUM(number1,number2,…..)


C1-Score-2 Syntax=AVERAGE(number1,number2,…..)
D1-Score-3 Syntax= MIN(number1,number2,…..)
E1-Score-4
Syntax= MAX(number1,number2,…..)
F1-Total

G1-Average

H1-Lowest

I1-Highest

Step-3 Enter the details given in the question in respective cells.

Step-4: Calculate total score of Balan in cell F2 by applying the following formula

F2=SUM(B2:E2) + Enter

Then select F2 again and drag upto F8

Step-5 Calculate average score of Balan in cell G2 by applying the following formula

G2=AVERAGE(B2:E2) + Enter

Then select G2 again and drag upto G8

Step-6 Calculate lowest score of Balan in cell H2 by applying the following formula
6 Binoy George
Record-2019
H2=MIN(B2:E2) + Enter

Then select H2 again and drag upto H8

Calculate highest score of Balan in cell I2 by applying the following formula

I2=MAX(B2:E2) + Enter

Then select I2 again and drag upto I8.

OUTPUT:

Record-5 [Part-A]

Title: ROUND Functions-ROUND, ROUNDUP, ROUNDDOWN

Q. You are given the value 72665.87653 as the basic value. You are required to round this
number as given below using various round functions.

A. Round to nearest integer Count Round to


B. Round to 3 decimal places
0 Nearest 1(Integer)
C. Round to nearest 10
D. Round to nearest 1000 1 Round to 1 Decimal
E. Roundup to next 10
2 Round to 2 Decimal
F. Rounddown to next 100
G. Roundup to next 3 decimals 3 Round to 3 Decimal

Procedure: -1 Round to nearest 10

Syntax=ROUND(number,count) -2 Round to nearest 100

-3 Round to nearest 1000


Syntax=ROUNDUP(number,count)

Syntax=ROUNDDOWN(number,count)
7 Binoy George
Record-2019
Step-1 Open a new worksheet in LibreOffice Calc

Step-2 Enter the Basic Value given in the question and various criteria’s as given below

Step-3 Enter the following formula in respective cells (B2:B8) to round the Basic Value as
the criteria given in the question

OUTPUT:

8 Binoy George
Record-2019
Record-6 [Part-A]

Title: COUNT, COUNTA, COUNTBLANK and COUNTIF

Q. Enter the following data exactly as given in the table and answer the following questions
with the help of appropriate COUNT functions.

a) Number of cells which are not empty


b) Number of empty cells in the range
c) Number of cells that have only numbers
d) Number of cells that have the value ‘TV’
e) Number of cells that have value greater than 650
f) Number cells that have value less than 800

Procedure:

Syntax=COUNT(value 1,value 2,value 3...)

Syntax=COUNTBLANK(range)

Syntax=COUNTA(value 1,value 2,value 3...)

Syntax=COUNTIF(range,”criteria”)

Step-1 Open a new worksheet in LibreOffice Calc

Step-2 Enter the data given in the question exactly as in the range A1:D6

9 Binoy George
Record-2019
Step-3 Enter the following labels formulas in respective cells as given below

Cell Label Cell Formula

F1 Number of cells which are not empty G1 =COUNTA(A1:D6)

F2 Number of empty cells in the range G2 =COUNTBLANK(A1:D6)

F3 Number of cells that have only numbers G3 =COUNT(A1:D6)

F4 Number of cells that have the value ‘TV’ G4 =COUNTIF(A1:D6,”TV”)

F5 Number of cells that have value greater than 650 G5 =COUNTIF(A1:D6,”>650”)

F6 Number of cells that have the value less than 800 G6 =COUNTIF(A1:D6,”<800”)

OUTPUT:

Record-7 [Part-A]

Title: CONCATENATE Function

Q.From the data given below fill the address in F2 using CONCATENATE function

A B C D E F
1 Name House Name Place Post Pin
2 Johan Kunnel TP Road Kalayanthani 685588
Procedure:

Syntax=concatenate(Text1,Text2,....,Text n )

Step-1 Open a new worksheet in LibreOffice Calc

Step-2 Enter all given values as given in the question

Step-3 Enter the formula in cell F2 as

F2=CONCATENATE(A2,” “,B2,” “,C2,” “,D2,” “,E2)

10 Binoy George
Record-2019
Output :
Need to increase the width
of the column here

Record-8 [Part-A]

Title: IF Function

Q.Akil Ltd declared bonus to its employees subject to the following conditions:

1) Bonus= 20% of basic pay, if basic pay is 20000 or less.

2) Bonus=15% of basic pay, if basic pay greater than 20000.

Name of the Employee Basic Pay

Rajan 18000

George 22000

Sabu 16000

Radhakrishnan 23000

Calculate Bonus?

Procedure:
Syntax=IF(Test,ThenValue,OtherwiseVlue)

Step-1 Open a new work sheet in LibreOffice Calc

Step-2 Type the Labels

Employee Name – A1

Basic Pay - B1

Bonus - C1

Step-3 Enter the details given in the question in respective cells.

Step-4 Calculate bonus in cell C2

C2=IF(B2<=20000,B2*20%,B2*15%)+ Enter. Then select the C2 again and drag C2 to C5.

11 Binoy George
Record-2019
OUITPUT:

Record-9 [Part-A]

Title :NESTED IF

Q. Richu obtained the following scores (out of 100) in his HSS Examination March 2016.

Subjects Scores
ENGLISH 85
MALAYALAM 96
BUSINESS STUDIES 75
ACCOUNTANCY 67
ECONOMICS 29
COMPUTER APPLICATIOM 45

Converts the above scores into grades for each subject using the following criteria:

Score Grade
90-100 A+
80-89 A
70-79 B+
60-69 B
50-59 C+
40-49 C
30-39 D+
Less than 30 D

Procedure:

Syntax=IF(Test 1,Then Value 1,IF(Test 2,Then Value 2,IF(..............)))

Step-1 Open a new spread sheet in LibreOffice Calc

Step-2 Type the labels

SUBJET-A1

SCORE-B1
12 Binoy George
Record-2019
GRADE-C1

Step-3 Enter the details given in the question in respective cells.

Step-4 Enter the formula in cell C2

C2=IF(B2>=90,”A+”,IF(B2>=80,”A”,IF(B2>=70,”B+”,IF(B2>=60,”B”,IF(B2>=50,”C+
”,IF(B2>=40,”C”,IF(B2>=30,”D+,”D”)))))))

Then select the cell C2 again and drag from C2 to C7.

OUTPUT:

Record-10 [Part-A]

Title :AND Function

Q. A Star Ltd furnishes you the following list for recruiting few applicants for the post of a
driver cum salesman.

Name Sex Age Weight

Aju Male 18 65

Chithra Female 21 55

Binu Male 14 59

Raju Male 24 68

Cinu Male 26 55

Anusha Female 33 78

13 Binoy George
Record-2019
Design a LibreOffice Calc template to generate a selection list based on the following
criteria:

A. Applicant should be MALE


B. Age should not be less than 18
C. Weight should be less than 66 kg.

Procedure:

Syntax=AND(logical Value 1,logical Value 2..........)

Step-1 Application---------office-----LibreOffice calc

Step-2 Enter the details given in the question in respective cells

Step 3 Select the cell E2 and enter the formula

E2=IF(AND(B2="Male",C2>=18,D2<=66),"Selected","Not Selected") +Enter .Select


E2 again and drag.

OUTPUT:

Record-11 [Part-A]

Title :AND Function within IF

Q. Given below is a list of some students with their age,category,income. You have to find
out the students eligible for scholarship. Only SC students,below the age of 16,whose annual
income less than Rs.1,50,000 are eligible for scholarship?

No. Name Age Category Annual Income


1 Sunil 16 OBC 185000
2 Sabu 17 SC 130000
3 Sreeja 16 SC 120000
4 Biju 15 ST 200000
5 Ramzal 16 Muslim 140000

14 Binoy George
Record-2019
Procedure:

Step-1 Open a new worksheet in LibreOffice Calc

Step-2 Enter the table headings in different cells as follows

Cell Label
A1 No.
B1 Name
C1 Age
D1 Category
E1 Annual Income
F1 Scholarship Eligibility
Step-3 Enter the details of students given in the question in the range A2:E5

Step-4 Enter the following formula in the cell F2 to get the eligibility of the first student

F2=IF(AND(C2<16,D2="SC",E2<150000),"Eligible","Not Eligible") +Enter

Then select the cell F2 again and drag up to F5.

OUTPUT:

Record-12 [Part-A]

Title :VLOOKUP Function

Q.Following table shows spare parts list of a Orion Computer service shop. With the help of
VLOOKUP Function, Find out price or description of that part when you type part
number.

15 Binoy George
Record-2019
Procedure:
Syntax=vlookup(Search criterion,Array,index,Sort order)

Step-1 Open a new worksheet in LibreOffice Calc and enter the details given in the question
in respective cells.

Step-2 Enter the label “Enter Parts No” in cell-E2 and select cell E3----select Borders-----
Select suitable Border colour.
Step-3 Select the cell F3 and apply the Vlookup function
F3=VLOOKUP(E3,A2:D8,3,FALSE)
Step-4 Select cell E3 and type the Parts No P879.Now F3 cell returns the price “459”
OUTPUT:

We can search the “Availability” of parts by applying the following Syntax


F3= VLOOKUP(E3,A2:D8,4,FALSE).Now F3 cell returs the avilability position as “Out
of Stock”
OUTPUT:

16 Binoy George
Record-2019
Record-13 [Part-A]

Title :HLOOKUP Function

Q.The price of various kinds of shares during the first week of January is given below.

STOCK MARKET:SHARE PRICES

Shares 01-01-16 02-01-16 03-01-16 04-01-16 05-01-16 06-01-16 07-01-16

Infosys 2500 2560 2700 2500 2410 2600 2890

V- 1200 1210 1250 1190 1120 1170 1230


Guard

MRF 35000 35800 36300 35900 36800 37000 37100

Reliance 970 973 978 999 1002 1024 1034

HDFC 700 710 718 890 840 920 965

You are required to write a formula to find the price of a share on a specific date. Use
HLOOKUP function. Find the share price of MRF on 06-01-2016 using HLOOKUP
function.
Procedure:

Syntax=HLOOKUP(Search Criteria,Array,Index,[sorted])

Step-1 Open a new worksheet in LibreOffice Calc


Step-2 Arrange the table horizontally
Select cell A1 to H1 and select Merge and centre, and type “Stock market- share prices”

Type the column head as:


A2: Name of the company
B2: Infosys
C2: V-Guard
D2: MRF
E2: Reliance
F2: HDFC
Step-3 Enter the details given in the question in respective cells
Step-4Select the cell A9 and type the label “Enter the Date”.
Select the cell B9 and type the label “Share Price”.
Step-5 Select cell B10 and enter the formula
17 Binoy George
Record-2019
B10=HLOOKUP(A10,B2:H7,4)
Step-6 Enter the date 6-1-16 in the cell A10 + Enter

OUTPUT:

Record-14 [Part-A]

Title :Pivot Table

Q.From the following information makes a Pivot Table to give Product wise/sales man wise
details.

SI No Products Sales Volume Sales Man


1 Sony TV 40,000 Mohan
2 LG TV 35,000 Soman
3 Sony TV 40,000 Mohan
3 Samsung TV 60,000 Krishnan
4 LG TV 30,000 Mohan
5 Sony TV 35,000 Krishnan
6 Sony TV 30,000 Mohan
Procedure:

Step-1 Open a new worksheet in LibreOffice Calc

Step-2: Type the label as:

A1-Si No

B1-Products

C1-Sales Volume

D1-Sales Man

18 Binoy George
Record-2019
Step-3: Enter the details given in the question in respective cells

Step-4: Select the entire data including labels like Si No,Products,Sales Volume etc(A1:D8)
to create Pivot Table.

Step-5: Create Pivot Table.

Data----pivot Table---Create----Current Selection----Ok

Step-6: Here we can design the Pivot Table our own style by selecting appropriate Row
Fields, Column Fields and Data Fields(only numerical values) from the list of “Available
Fields”

19 Binoy George
Record-2019
To select a particular field, say, ‘Product’ in the Column field (To set ‘Product’ as Column in
the newly designed pivot Table),you can select ‘Product from the ,Available Field’ by
clicking the mouse and drag it to the required field ,say, ‘Column Fields’ .

If you select ‘Product’ as column you can sect ‘Sales Man’ in the ‘Row Field’ to set ‘Sales
Man’ as Row in the newly designed ‘Pivot Table’

‘Data Fields’ should always be “Numerical Values”.Here we can select the field ‘Sales
Volume’ to the ‘Data Fields’ + OK

OUTPUT:

The above Pivot Table give us a clear idea about everything, say, Total sales of a sales man,
and Total sales figures of LG TV etc

20 Binoy George
Record-2019
Record-15 [Part-A]

Title: PV (Present Value)

Q. Mohan opened a Recurring Deposit ( RD) Scheme in his post office by paying Rs.2,000
per month for a period of 4 years with an interest rate of 9 % per annum, and the payments
are made at the beginning of the month. Calculate the Present Value (PV) of his future
payments.

Procedure:

Syntax (PV) = PV(rate,nper,[pmt],[fv],[type])

Step-1 Open a blank worksheet in LibreOffice Calc and enter the details given in the
question as given below.

- (negative) amount implies


cash outflow. If we avoid
negative here, answer will
be negative

Step-2 Select cell B6 and enter the formula

=PV(B1,B2,B3,B4,B5) + Enter

OUT PUT:

If #### Error displayed,


increase the column width to
solve the issue.

21 Binoy George
Record-2019
Record: 16 [Part-A]

Title: Rate

Q. Mrs.Sheela has takes a housing loan from Union Bank of Rs.10, 00,000. To complete set
off this loan ,Sheela has to pay monthly installment of Rs.20,000 over the next 5 years. The
payments are to be made at the end of each month. What is the annual rate of interest
charged to her? Use ‘Rate’ function?

Procedure:

Syntax (Rate) =RATE (NPER, PMT, PV, FV, Type, Guess)

Step-1 Open a blank worksheet in LibreOffice Calc and enter the details given in the
question as given below.

Step-2 To get monthly interest rate, select the cell B6 and enter the formula

B6=RATE(B1,B2,B3,B4,B5)

Step-3 To calculate yearly interest rate, select cell B7 and enter the formula

B7 =B6*12

OUT PUT

If any problem facing at this


stage, please format the cell as
percentage by click this icon

22 Binoy George
Record-2019
Record: 17 [Part-A]

Title: Data Validation


Q. You are required to enter the following list of employees in a LiberOffice calc worksheet.
You must use the ‘Data Validation ‘rules to prevent incorrect data entry.

1. Age must be between 25 to 40.


2. Use combo box to select Sex as ‘M’ and ‘F’
3. Use combo box to select Departments to restrict it to sales, purchase, production and
marketing.

Id Name Sex Age Department


101 Anil M 34 Purchase
102 Binil M 32 Sales
103 Sunil M 40 Production
104 Mary F 27 Marketing
105 Annie F 39 Production
106 Seetha F 32 marketing

Procedure:

Step-1 Open a new worksheet in LibreOffice Calc and enter the details given in the question
as given below.

Step-2 Type the Label as

A1 Id
B1 Name
C1 Sex
D1 Age
E1 Department

Step-3 Enter the Id of employees in the range A2:A7 and Name of employees in the range
B2:B7

Step-4 Enter sex of employees as-Male (M) or Female (F) to be entered in the range C2: C7
through compound box. To create compound box

Select that range C2:C7 -----Data-----Validity---Criteria-----Allow-----List---Entries----Here


type ‘M’-----press Enter---Type ‘F’---Ok.

Step- 5 Set age between 25 and 40 in the range D2:D7

23 Binoy George
Record-2019
Select the range D2:D7-----Data----Validity----Allow-----Whole Numbers----Data---valid
range-----Minimum ‘25’-------Maximum ‘40’-----OK

Step-6Create a combo box to select required’ Department’

Select that range E2:E7 -----Data-----Validity---Criteria-----Allow-----List---Entries----Here


type ‘Purchase’-----press Enter---‘Sales’, ‘Production’, and ‘Marketing’---Ok.

Step-6 Enter the details given in the question in respective cells with the help of drown box.
When invalid data entries are made the error message appears restricting invalid entry.

OUT PUT:

Record-18 [Part-A]

Title: Conditional Formatting


Q. Rajan Traders had given credit facilities to the following customers to repay the debt
before 31/12/2018.The amount of ‘Receivables’ and ‘Actual payment’ date are given below

Name Amount Receivable Date of Actual Payment


Santhosh 40000 14/11/2018
Anand 70000 03/02/2019
Razal 46000 24/12/2018
Girish 20000 01/10/2018
Tomy 34000 01/01/2019
Subash 38000 20/12/2018

Highlight the payments that are made after ‘Due Date’ with background effect Orange
Colour. Also highlight the receivables which are more than Rs.30, 000 with Blue Font
colour.

24 Binoy George
Record-2019
Procedure:

Step-1 Open a blank worksheet in LibreOffice Calc

Step-2 Enters the labels as:

Cell Labels
A1 Name
B1 Amount receivable
C1 Date of Actual repayment

Step-3 Enter the details given in the question in respective cells.

Step-4 To highlight payments that are made after due date

Select the range C2: C6 to apply conditional formatting.-----Format----Conditional


Formatting----Condition--- select“ Cell value is “ from the first combo box-----In the
second combo box select”greater than”----In the next box type the text exactly as
Datevalue(“31/12/2018”)-----Apply style-----Select New Style------In cell style menu
select Background------select Orange colour---OK---OK

Step-5 To highlight receivables which are more than 30,000

Select the range B2: B6 to apply conditional formatting.-----Format----Conditional


Formatting----Condition--- select“ Cell value is “ from the first combo box-----In the
second combo box select”greater than”----In the next box type 30000-----Apply style-----
Select New Style------In cell style menu select “Font Rffects”------select Font colour as
Blue ---OK---OK

OUT PUT:

25 Binoy George
Record-2019
Record-19 [Part-B]

Title: Loan Repayment Schedule (PMT Function)

Mr.Veeran want to take a car loan of Rs.9, 00,000 from SBI and repayable in 84 equal
monthly installments over the next 7 years. Interest is charged at a rate of 9% per year.
Assuming that the installments are paid in the beginning of each month. Find the amount of
monthly installments (PMT)? Use PMT Function.

Procedure:

Syntax =PMT (Rate,NPER,PV,FV,Type)

Step-1 Open a blank worksheet in LibreOffice Calc

Step-2 Type labels and enter values as follows:

Cell Labels Cell Value


A1 Rate B1 9%
A2 NPER B2 84
A3 PV B3 900000
A4 FV B4 0
A5 Type B5 1
A6 Monthly installment (PMT) B6
Note: B1/12, to
Step-3 Calculate PMT in cell B6 get monthly
interest rate
B6=PMT (B1/12,B2,B3,B4,B5) + Enter

OUT PUT:

26 Binoy George
Record-2019
Record-20 [Part-B]

Title: Depreciation- Diminishing Balance Method (DB)

Q. A machinery was purchased on 1st May 2009 for Rs5, 00,000. Its estimated life is 15
years with salvage value of Rs.20, 000. Accounting year closes on 31 st December every year.
Using DB function to calculate depreciation charged for 9th year.

Procedure :

Syntax = DB (cost,salvage,life,period,[month])
Number of months in the
Step-1 Open a blank worksheet in LibreOffice Calc
first year (1st May to 31st
Step-2 Enter the label and values as under December)

Cell Label Cell Value


A1 Cost B1 500000
A2 Salvage Value B2 20000
A3 Life B3 15
A4 Period B4 9
A5 Month B5 8
A6 Depreciation for 9th B6
year

Step-3 Calculate depreciation in cell B6

B6 = DB(B1,B2,B3,B4,B5) + Enter

Out Put:

27 Binoy George
Record-2019
Record-21 [Part-B]

Title: Depreciation- Straight Line Method (SLN)

Q. Kalyan Ltd purchased Machinery on 01/01/2018 for Rs. 9, 00,000 and spends Rs
1, 00,000 as installation charges. The expected scrap value is Rs 25,000 at the end of the life
time. The expected life of Machinery is 15 years. Calculate annual depreciation under SLN
method?

Procedure:
Total cost of the
Syntax = SLN (cost, salvage, life) asset=Purchase price
+Installation charges
Step-1 Open a new worksheet in LibreOffice Calc
(9,00,000 + 1,00,000)
Step-2 Enter the label and values as under

Cell Label Cell Value


A1 Cost(Including installation) B1 1000000
A2 Salvage B2 25000
A3 Life B3 15
A4 Depreciation (SLN) B4

Step-3 Calculate depreciation in B4

B4 = SLN (B1, B2, B3) + Enter

Out Put:

28 Binoy George
Record-2019
Record-22 [Part-B]

Title: Pay Roll Accounting

Q.Prepare a pay roll of the following employees.

Name Basic Pay TA PF Loan


Sunil 50000 1200 2500
Binil 30000 1200 3200
Sudheesh 60000 1200 0
Prakash 42000 1200 6000
Mohan 43000 1200 2000
Ajay 32000 1200 0
Kiran 51000 1200 8000
Additional Information:

1) DA 20% of basic pay.


2) HRA- Rs.2500 for employees whose basic pay greater than 40,000, for others
Rs.2000.
3) PF subscription – 8% of gross pay.
4) TDS -15% of gross pay greater than Rs.50,000, otherwise 10%.

Procedure:

Step-1 Open a new worksheet in LibreOffice Calc

Step-2 Enter the table heading in different cells as given below.

Cell Label Cell Value/Formula


A1 Name B1 Enter the names of employees in the
range A2 : A8
B1 Basic Pay B2 Enter the basic pay of each employees
in the range B2 : B8
C1 DA C2 =B2*20% +Enter
D1 HRA D2 =IF(B2>40000,2500,2000) + Enter
E1 TA E2 Enter TA of every employees in
respective cells
F1 Gross Pay F2 =SUM(B2:E2) Enter
G1 PF Subscription G2 =F2*8% + Enter
H1 TDS H2 =If(F2>50000,F2*15%,F2*10%) + Enter
I1 PF Loan I2 Enter PF loan repayment of each
employees in respective cells.
J1 Total deduction J2 =SUM(G2:I2) + Enter
K1 Net Pay K2 =F2-J2 + Enter

29 Binoy George
Record-2019
Step-3 Select cell F2 again and drag up to F8.Also drag the remaining cells.

Out Put:

Record-23 [Part-B]

Title: Preparation of Column Chart

Q.The following table shows sales figures of salesmen Mr. George and Mr. Krishnan in Anju
Traders for the year 2014 to 2018

YEAR VINOD THOMAS


2014 22000 25000
2015 14000 18000
2016 12000 14000
2017 15150 21000
2018 25000 12000

a. Present the data in a column chart.


b. Change the chart type to line chart
Procedure:
Q.a Create column chart
Step-1 Data Entry
Open a new work sheet in LibreOffice Calc and enter the details given in the question in
respective cells as given below.

30 Binoy George
Record-2019
Step-2 Create Chart

To create chart, select the range in which data entered (here it is A1:C6, including labels)
.Then, Insert----Chart--------In ‘Chart Wizard ‘select a suitable Chart Type (here
column chart). Then click Next button.

Step-3 Data Range management

In Data Range option no change is reuired.Put tick mark in ‘First Row as Label’ and ‘First
Column as Label’. Then click Next button.

Step-3 Data series management


We can remove unwanted Data series here (If necessary) -----Next
Step-4 Chart element management
Here user can give suitable title, subtitle, X-axis title,Y-axis title etc for the chart

Title Sales Figures of Anju Traders

Subtitle Sales Performance

X axis Title YEAR

Y axis Title Rs.

Click ------- Finish

Step-5 Save the spreadsheet by clicking ‘save’ icon or press Ctrl + S key.
Output: a

31 Binoy George
Record-2019
Q.b Change the chart type to line chart

Double click on the already prepared column chart----Right click-----Select Chart


type------Select Line Chart-----Line Only----OK

Out Put: b

Record-24 [Part-B]

Title: Preparation of Pie Chart

Q2.The following table shows income of Dr.Nambiar from various sources during the year
2017-18.
Sources Profession Agriculture Business Rent Dividend
Rs. 12,00,000 8,00,000 6,00,000 4,00,000 2,00,000

Procedures:
Step 1. Open a new worksheet in LibreOffice calc and enter the details given in the
question in respective cells.

Step-2 Create Pie Chart


To create chart, select the data range A1:F2 ----Insert----Chart--------Select a suitable Chart
Type (here pie chart) --------Next

32 Binoy George
Record-2019
Step-2 Data Range (No change required)-----Next------Data Series (No change required)---
--Next

Step-3 Chart Element Management

Here Enter

Chart Title as- Sources of Income

Subtitle as- Dr.Nambiar 2017-18

Click-Finish

Out Put:

Record-25 [Part C]
Part-C GNU Khata
Title: Voucher Entry, Display Trial Balance and Balance Sheet

Q. Following are the transactions extracted from the books of Anna Traders, Pulpally as on
31-12-2018

1-1-2018 Started Business with cash Rs.5, 00,000

3-1-2018 Opened a bank account with Canara Bank Rs.1, 00,000

3-1-2018 Purchased goods from Asha Traders Rs.80, 000

4-1-2018 Purchased Furniture from A Ltd Rs 50,000

5-1-2018 Sold goods for cash Rs.25, 000

1-6-2018 Wages paid Rs.5, 000

7-7-2018 Interest received Rs.4, 000

12-12-2018 Sold goods to Baby Rs.20, 000


33 Binoy George
Record-2019
1. Display Trial Balance
2. Show the Cash Balance
3. Display the list of transactions already entered .

Procedure:
Step-1 Open GNU Khata

Application-----office------GNU Khata or Double click GNU Khata icon from the desk top.

Step-2 Crete the organistion’Anna Traders’ with necessary details

Menu Bar-------Create Organisation

Organisation Name- Anna Traders

Case- As-is

Organization Type-Profit Making

Financial Year- 01-01-2018 To 31-12-2018

Accounts only--------Proceed

Step-3 Create Admin (It is advisable to type small letter ‘a’ to all fields like
username,password,security questions etc to avoid future problems)

Enter details

Step-4 Create Ledger Accounts(without opening balance)

Master-----Create account-----Select Group-----Sub Group------Enter Account Name-----Save

Name of the Account Group Sub-group


Cash Current Asset Cash
Capital Capital None
Canara Bank Current Asset Bank
Purchase Direct Expense None
Asha Traders Current Liabilities Sundry Creditors for purchase
Furniture Fixed Asset Furniture
A Ltd Current liabilities It is advisable to create A Ltd under a new
sub group ‘Sundry Creditors for Fixed
assets’. New sub group creation option
available at ‘Create Account’ screen
Sales Direct Income None
Wages Direct Expense None
Interest received Indirect Income None
Baby Current asset Sundry Debtors

34 Binoy George
Record-2019

Tips: To display accounts already created----Master Menu-----Edit Account------Click on the combo list
down arrow on the right side

Step-5 Enter transactions to the system through voucher entry

Voucher-----Select appropriate Voucher----Enter details

Date Dr/Cr Account Amount Voucher Function


Name Type Key
1-1-18 Dr Cash 5,00,000 Receipt F4
Cr Capital 5,00,000
3-1-18 Dr Canara 1,00,000 Contra F8

Cr Cash 1,00,000
3-1-18 Dr Purchase 80,000 Purchase F7
Cr Asha Traders 80,000
4-1-18 Dr Furniture 50,000 Journal F9
Cr A Ltd 50,000
5-1-18 Dr Cash 25,000 Sales F6
Cr Sales 25,000
1-6-18 Dr Wages 5,000 Payment F5
Cr Cash 5,000
7-7-18 Dr Cash 4,000 Receipt F4
Cr Interest received 4,000
12-12-18 Dr Baby 20,000 Sales F6
Cr Sales 20,000

Tips: We can watch, edit and delete vouchers already entered- Follow the following path

Voucher-----Find/ Edit voucher--------select the voucher selection criteria by clicking combo arrow
(we can select voucher on the basis of number, type like purchase, sales etc, time interval for
example 1-1-2018 to 31-12-2018).Double click on the required voucher to be edited/ deleted----Take
necessary action.

Tips: We can watch, edit and delete Ledger Accounts already cratered- Follow the following path

Master----Edit Account---------Select the required account to be edited/ deleted through combo list
down arrow key.

We can’t delete an account, if any transaction already passed in it. To delete that account you want
to delete that voucher entry first.

35 Binoy George
Record-2019
Out Put: 1 Trial Balance

To display Trial Balance-------Report------Trial Balance------Set Date ‘From ‘ and ‘To’-----


View

OUTPUT: 2 Cash Account Balance (Closing balance-4,24,000)

To display cash balance ----Report-----Ledger ----Cash----Uncheck monthly ledger----View

Out Put-3 Display List of Transactions already entered

36 Binoy George
Record-2019
To display already created voucher----Voucher----Find / Edit Voucher-----Select criteria as
Time interval------Set ‘From’ ant ‘To’ Dates-----search------View printable version.

Record-26 [Part C]

Title: Preparation of Final Accounts

Sub Title: Ledger creation with Opening Balance, Voucher Entry and Treatment of
Adjustments.

Q. Prepare Profit and Loss Account and Balance Sheet of New India Traders as on 31-12
2018 from the details given below.

Balance Sheet as on 31-12-2018

Liabilities Rs. Assets Rs.


Bills Payable 5000 Cash 40000
Long Term Loans 100000 Bank-SBI 60000
Suresh (Creditor) 20000 Anvar (Debtor) 55000
Capital 200000 Land 70000
Machinery 100000

325000 325000

37 Binoy George
Record-2019
Summary of transactions for the year ending 31-12-2018 are given below:

1. Salaries 2000
2. Interest paid 7000
3. Advertisement 10000
4. Insurance 8000
5. Purchase 50000
6. Sales 75000
7. Discount received 5000

Adjustments:

1. Closing stock Rs 7600


2. Depreciate machinery @ 5%
3. Outstanding Salary Rs.300
4. Prepaid Insurance Rs.500

Procedure:
Step-1 Open GNU Khata

Application-----office------GNU Khata or Double click GNU Khata icon from the desk top.

Step-2 Crete the organistion’Anna Traders’ with necessary details

Menu Bar-------Create Organisation

Organisation Name -New India Traders

Case- As-is

Organization Type-Profit Making

Financial Year- 01-01-2018 To 31-12-2018

Accounts only--------Proceed

Step-3 Create Admin (It is advisable to type small letter ‘a’ to all fields like
username,password,security questions etc to avoid future problems)-- Enter details

Step-4 Create Ledger Accounts(with and without opening balance)

Master-----Create account-----Select Group-----Sub Group------Enter Account Name-----Save

38 Binoy George
Record-2019
Name of the Group Sub-group Opening Balance
Account
Cash Current Asset Cash 40,000
SBI Current Asset Bank 60000
Anvar Current Asset Sundry Debtor 55,000
Land Fixed Asset Land 70,000
Machinery Fixed Asset Plant & Machinery 1,00,000
Bills Payable Current Liabilities Bills Payable (It is new sub 5,000
group crated under the
group ‘current liabilities’)
Long Term Loans Loans (Liability) Unsecured 1,00,000
Suresh Current Liabilities Sundry Creditors for 20,000
purchase
Capital Capital None 2,00,000
Salaries Indirect expenses None
Interest Paid Indirect expenses None At present in GNU Khata,it is
Advertisement Indirect expenses None impossible to create nominal
Insurance Indirect expenses None accounts like ‘salarie’ with
Purchase Direct Expense None ‘opening Balance’
Sales Direct Income None
Discount received Indirect income None
Tips: We can easily create new sub groups, if required, at the time of create an accont.Provision for this is
available at the time of selecting ‘sub group’ in ‘Create account’ screen.

‘Ledger Accounts’ required to treat adjustments are

Name of the Account Group Sub-group Opening Balance

Depreciation Indirect Expense None -

Outstanding salaries Current Liabilities Sundry Creditors for -


Expenses

Prepaid Insurance Current assets Loans & Advances -

Tips: Closing stock A/C is a system generated account, so there is no need to create it again. The
amount of closing stock can be entered into system simply by passing a voucher entry through
‘Journal Voucher’. Closing stock A/C Dr XXXX

To Profit and Loss A/C XXXX

39 Binoy George
Record-2019

Step-5 Enter transactions to the system through voucher entry

Voucher-----Select appropriate Voucher----Enter details

Date Dr/Cr Account Amount Voucher Function


Name Type Key
31-12-18 Dr Salaries 2,000 Payment F5
Cr Cash 2,000

31-12-18 Dr Interest Paid 7,000 Payment F5


Cr Cash 7,000

31-12-18 Dr Advertisement 10,000 Payment F5


Cr Cash 10,000

31-12-18 Dr Insurance 8,000 Payment F5


Cr Cash 8,000
31-12-18 Dr Purchase 50,000 Purchase F7
Cr Cash 50,000
31-12-18 Dr Cash 75,000 Sales F6
Cr Sales 75,000
31-12-18 Dr Cash 5,000 Receipt F4
Cr Discount received 5,000
31-12-18 Dr Closing stock 7600 Journal F9
Cr Profit and Loss 7600
31-12-18 Dr Depreciation 5000 Journal F9
Cr Machinery 5000
31-12-18 Dr Salaries 300 Journal F9
Cr Outstanding salaries 300
31-12-18 Dr Insurance 500 Journal F9
Cr Prepaid Insurance 500

Tips: We can watch and edit and delete vouchers already entered- Follow the following path

Voucher-----Find/ Edit voucher--------here select the required ‘voucher selection criteria’ by clicking
combo arrow (we can select voucher on the basis of number, type like purchase, sales etc, time
interval for example 1-1-2018 to 31-12-2018)

Output: 1 Profit and Loss Account

Report-------Profit and Loss account

Output: 2 Balance Sheet

Report--------Balance Sheet

Output: 3 if you want to see Capital Account Balance

40 Binoy George
Record-2019
Report-----Ledger ----Select Capital---Uncheck monthly ledger----View

Output: 1 Profit and Loss Account

Report-------Profit and Loss account

Output: 2 Balance Sheet

Report--------Balance Sheet

41 Binoy George
Record-2019
Record-27 [Part C]

Title: Ledger Creation with opening Balance, Treatment of Opening Stock

Q. Books of Jaya traders display the following figures. Open these ledger accounts in GNU
Khata with opening balance dated 1-1-2018

Name of the account Amount (Dr) Amount (Cr)


Opening Stock 20,000
Cash 80,000
Sundry Debtors 53,000
Sundry Creditors 70,000
Capital 80,000
Interest Received in Advance 3,000
Total 1,53,000 1,53,000
Procedure:
Step-1 Open GNU Khata

Application-----office------GNU Khata or Double click GNU Khata icon from the desk top.

Step-2 Crete the organistion’Jaya Traders’ with necessary details

Menu Bar-------Create Organisation

Organisation Name -Jaya Traders

Case- As-is

Organization Type-Profit Making

Financial Year- 01-01-2018 To 31-12-2018

Accounts only--------Proceed

Step-3 Create Admin (It is advisable to type small letter ‘a’ to all fields like
username,password,security questions etc to avoid future problems)-- Enter details

Step-4 Create Ledger Accounts (with and without opening balance)

Treatment of Opening Stock

Previous year’s closing stock is the current year’s opening stock. It will be made available in this
year for sale as Opening stock. In GNU Khata it is treated as Direct Expenses and appears in the
debit side of the Profit and loss Account.If the accounts of business are computerized for the first
time, the amount of opening stock can be entered through the following steps:

Step-A Edit the stock at the beginning account (System generated Account)

42 Binoy George
Record-2019
Master----Edit Account----Select Stock at the Beginning account-----Click on Edit----Enter Opening
Balance

Step-B : Voucher-----Select Journal Voucher-------Enter Voucher No & Opening Date-----Debit


Opening Stock and credit ‘Stock at the Beginning.

Preparation of other Ledger Accounts with opening balance

Master-----Create account-----Select Group-----Sub Group------Enter Account Name-----Save

Name of the Group Sub-group Opening Balance


Account
Cash Current Asset Cash 80,000
Sundry Debtors Current Asset Sundry Debtor 53,000
Sundry Creditors Current Liabilities Sundry Creditors for purchase 70,000
Capital Capital None 80,000
Interest Received in Current Liability Income received in advance(It is 3,000
Advances a new sub group crated under the
group ‘current liabilities’)
Output : List of Accounts

Report-----List of Accounts

43 Binoy George
Record-2019
Record-28 [Part C]

Title: Preparation of Bank Reconciliation statement


Q Enter the following transactions in appropriate vouchers of Samrat Ltd and prepare Bank
Reconciliation Statement on 30-04-2017.

Date Transaction Amount

1-4-17 Cash received from Saji,a customer 40,000

8-4-17 Deposited into Union Bank 90,000

9-4-17 Issued cheque of Union Bank(no.4523)to,Tomy a 27,000


creditor

12-4-17 Sent for collection cheque 23,000

18-4-17 Paid electricity bill by Cheque of Union Bank(No4524) 1500

23-4-17 Issued cheque to Satheesh ,a Creditor 3000

27-4-17 Deposited into union Bank 6000

On verification of the Cash book with Pass book revealed that the Cheque no 4523 and 4524 were
cashed only on 2nd and 5th May,2017 respectively and the cheque sent for collection was collected
on 9th May,2017

Step-1-Open GNU Khata

Application----Office-----GNU Khata or Click the GNU Khata icon from the desktop

Step-2 Create Organisation

To create organization click “Create Organisation”.While creating an organization the following


details are to be given.

Organisation Name- Samrat Ltd

Case- Upper Case (option to select Upper case, lower case, Title case or as-is)

Organization Type-Profit Making

Financial Year- 01-04-2017 To 31-03-2018

Accounts only--------Proceed

Step-3 Create Admin

User Name- Type a username here


44 Binoy George
Record-2019
Password- Type a password here

Confirm Password- Repeat the password here

Security Question- For eg. What is your name

Answer to Question- binoy

Click- Create & Login

Step-4 Creating Ledger account

Analyse the transactions,list out ledger accounts to be created and assign appropriate Account
Groups for them

Master-----Create account-----Select Group-----Sub Group------Enter Account Name-----Save

Date Dr/ Account Group Sub Group Voucher Funct Amount


Cr ion
Name Name Name Type
Key

1-4-17 Dr Cash Current asset Cash Receipt F4 40,000

Cr Saji Current asset Sundry debtors

40,000

8-4-17 Dr Union Current asset Bank Contra F8 90,000


Bank

Cash
Cr ------- ------ 90,000

9-4-17 Dr Tomy Current Liability Sundry creditors Payment F5 27,000


for purchase

--------
Cr Union ------- 27,000
Bank

12-4-17 Dr Union ------ -------- Contra F8 23,000


Bank

Cash
Cr ------- -------- 23,000

18-4-17 Dr Electricit Indirect Expense None Payment F5 1,500


y exp

Union
Cr -------- ------- 1,500
Bank

45 Binoy George
Record-2019
23-4-17 Dr Satheesh Current Liability Sundry creditors Payment F5 3,000
account for Purchase

Union --------
Cr -------- 3,000
Bank

27-4-17 Dr Union ------- -------- Contra F8 6,000


Bank

Cash
Cr ------- ------- 6,000

Step-5 Voucher Entry

Voucher--------Select Appropriate Vouchers-------Enter details(Voucher number,date,Debit item,


Debit amount, credit itrem,credit amount)------Save

Step-6 Enter clearance date-----Master----Bank Reconciliation Statement----Select account name


(Union Bank)---Set reconciliation Period-----(from date and to date, 01-04-2017-30-04-2017)--------
Click on view----Enter clearance Date (Use ‘Enter Key’ to go one ‘clearance’ date to another).

Step-7 Show the Bank Reconciliation Statement-----Click on view statement

BRS

Step-8 To Show the cleared transactions, click on cleared items

Step-9To show the un cleared transactions, click on Un cleared items

46 Binoy George
Record-2019
Record-29 [Part-D]

Title: LibreOffice Base- Table Creation and Query Designing


Q.Enter the following in a LibreOffice Base Table with the file name Emp_details

EMP ID EMP NAME EMP SEX EMP BASIC PAY

1001 Akash M 40000

1002 Anvar M 80000

1003 Anish M 90000

1004 NIjo M 30000

1005 Tomy M 10000

1006 Neeraj M 68000

a) Display the name of employees drawing Basic Pay greater than or equal to 75,000
b) Name of employees beginning with “A”

Procedure:

Step-1(Create and name the database)

Application---Office----LibreOffice Base------Create a new Database-----Next---------Finish

Save the Database with a suitable name (Here we can save the database with the name Emp details)

Step-2(Create and name the Table)

Select “Create table in design view”------Enter the field name and appropriate Field Type

Field Name Field Type

EMP ID TEXT(VARCHAR)

EMP NAME TEXT(VARCHAR)

EMP SEX TEXT(VARCHAR)

EMP BASIC PAY Number(Numeric)

Step-3(Set Primary Key)

To set EMP ID as Primary Key right click on the row sector of the EMP ID and select the “Primary
Key” from the drop down menu.

47 Binoy George
Record-2019
Step-4(Save the table by giving suitable name)

Click on the save Button to save the Table.In Save as dialog box enter Table emp details as Table
name and click OK button.Then Close the screen by click (X)

Step-5 (Enter data in the newly created Table)

Double click on the newly created table”Table Emp Details”to open and enter data.Then enter the
details of all students in the table as given in the question.Then close the window(X).Click ‘Yes’ to
the question “Do you want to save the changes?”

Step-6(Design query to get the name of employees whose basic pay >=75000)

Select the icon queries and select “create query in design view”-----select “Table emp details”----
add---close----double click in the required field(emp id,emp name,emp bp)

Step-7

Against the criterion in the bp column,enter the criteria >=75000.Then press F5 or run query
button to display the results.

Output: (a)

Step-8 Design Query to get the list of name of employees beginning with “A”

Select icon Queries and select”Create Query in Design View”----select “Table Emp Details”----
Add----Close-------double click on the required fields

Step-9

Against the criterion in the EMP NAME column,enter the criteria’ like’A*’.Then press F5or
RUN Querry button to display the result.

48 Binoy George
Record-2019
Output : (b)

Record-30

Title: LibreOffice Base- Preparation of Payroll


(a) Prepare a Payroll of employees with the Gross Salary on the basis of the following details
(b) Display the salary details of Employees names ending with “h”.

EMP ID EMP NAME EMP BASIC DA(30% OF HRA


PAY BP)
101 Nirmal 80000 500

102 Sunil 19800 500

103 Santhosh 27400 500

104 Vimal 57000 500

Step-1 Create and name the database

Application---Office----LibreOffice Base------Create a new Database-----Next---------Finish-------


Save the Database with a suitable name(Here we can save the database with the name “Emp Pay
details”)

49 Binoy George
Record-2019
Step-2 Create and name the Table

Select “Create table in design view”------Enter the field name and appropriate Field Type

Field Name Field Type DA and Gross


Salary fields are
EMP ID TEXT(VARCHAR) not required to
prepare at this
EMP NAME TEXT(VARCHAR) stage.

EMP BASIC PAY Number(Numeric)

EMP HRA Number(Numeric)

Step-3 Set Primary Key

To set EMP ID as Primary Key right click on the row sector of the EMP ID and select the
“Primary Key” from the drop down menu.

Step-4(Save the table by giving suitable name)

Click on the save Button to save the Table. In Save as dialog box enter Table “emp pay details” as
Table name and click OK button. Then Close the screen by click (X)

Step-5 Create Form

Click ‘Forms’ from the menu-------Use Wizard to create Forms-----Select the required fields(by
double click,here we can avoid DA)----Next-----Finish.Here enter data given in the question through
form.Then Close the screen by click (X)

Step-6 Design Query to get the list of name of employees ending with “h”

Select icon Queries and select “Create Query in Design View”----select “table emp pay details”----
Add----Close-------double click on the required fields (Here we required only EMP ID and EMP
NAME)

Step-7 Assign Criteria

Against the criterion in the EMP NAME column, enter the criteria like’*h’.Then press F5 or
RUN Querry button to display the result. Then close and save the Query with a suitable name
(default name Query 1)

Step-8(Find out DA and GROSS PAY)

Select icon “Queries “and select “Create Query in Design View”----select “table emp pay
details”----Add----Close-------double click on the required fields---here select-EMP ID,EMP
NAME and EMP BASIC PAY.

50 Binoy George
Record-2019
Step-9

In the next blank column, against the Field (Fist Row), enter the following formula to calculate
30% of Basic Pay as DA.

“EMP_BASIC_PAY”*30/100

Step-10 Against the ‘Alias’(2nd Row) in this column enter the term DA, to define the name of the
field.

Step-11

Double click on the field HRA to add this to the Query design grid

Step-12

In the next column, against the Field, enter the following formula to calculate GROSS SALARY of
the employees.

“EMP BASIC PAY”+(“EMP BASIC PAY”*30/100)+”EMP HRA”

Step-13

Against the ‘Alias’ in this column enter the term GROSS SALARY, to define the name of the field.

Step-14

Then press F5 or “Run Querry” button to display the result.

51 Binoy George
Record-2019
OUTPUT:1

Queries------Query1

OUTPUT: 2

Queries------Query 2

52 Binoy George
Record-2019
Record-31 [Part-D]

Title: LibreOffice Base- Create Relationship with Tables

Q Create two tables in LibreOffice Base with the following details.

Table – Employees

EMP ID EMP NAME EMP SEX

51 Mathew m

52 Deepu m

53 Malavika f

Table-2-pay details

EMP ID BP DA HRA

51 65000 5500 1200

52 38000 3800 1200

53 60000 6000 1200

Make relationship between these two tables and create a query including emp id,emp
name,bp,da,hra from the respective tables.

Procedure:

Step-1(Create and name the database)

Application---Office----LibreOffice Base------Create a new Database-----Next---------Finish-------


Save the Database with a suitable name(Here we can save the database with the name Emp details)

Step-2(Create and name the Table)

Select “Create table in design view”------Enter the field name and appropriate Field Type

Field Name Field Type

EMP ID TEXT(VARCHAR)

EMP NAME TEXT(VARCHAR)

EMP SEX TEXT(VARCHAR)

53 Binoy George
Record-2019
Step-3(Set Primary Key)

To set EMP ID as Primary Key right click on the row sector of the EMP ID and select the “Primary
Key” from the drop down menu.

Step-4(Save the table by giving suitable name)

Click on the save Button to save the Table.In Save as dialog box enter Employees as Table name
and click OK button. Then Close the screen by click (X)

Step-5 (Enter data in the newly created Table through FORM)

Select FORM from the main menu----Use Wizard to Create Form----Here select Table Employees--
-Select appropriate fields with the help of >-----Next----Finish .Then enter the details given in the
question. Then close the window(X).

Step-5 Create and name the Second Table

Select “Create table in design view”------Enter the field name and appropriate Field Type

Field Name Field Type

EMP ID TEXT(VARCHAR)

BP NUMBER(NUMERIC)

DA NUMBER(NUMERIC)

HRA NUMBER(NUMERIC)

Step-6 (set primary key) Set EMP ID as primary key and save the table by giving name “pay
details” and close the screen by click(X).

Step-7 (Enter data in the 2nd Table through FORM)

Select FORM from the main menu----Use Wizard to Create Form----Here select Table pay
detais9use combo arrow)---Select appropriate fields with the help of >-----Next----Finish .Then
enter the details given in the question. Then close the window(X)

Now Two Tables created, there is a common factor”EMP ID” in both the tables.

Step-8 (Create Relationship)


54 Binoy George
Record-2019
Go to the Menu Tools-----Relationship-----here add both the tables “Employees” (Select Table
Employee, click add) and “pay details” and save/close the screen.

Select first Table


and click Add,
then select
second Table,
and then click
Add.Click Close

Step-9

In the relationship window, click wit mouse on the “EMP ID” of First table and drag and drop on to
the “EMP ID“field of the second table. Now a connecting line between these two fields is formed.
Then click on save button to save the relationship and close the window.
Relationship created between two tables
with the help of common factor “EMP ID”

Step-10 Click on query button and select “Create query in design view”-----add both the tables to
query design window -----close.

Step-11

Double click on ‘EMP ID’ and EMP NAME fields of employee tables and double click on BP, DA
and HRA fields of pay details table. Then click on “Run Query” button to view the result.

We can save the Query by click ‘save’ button and save it with a suitable name/ query1.

Step-12(Design Query to get the list of name of employees beginning with “M”)

Select icon Queries and select”Create Query in Design View”----select “Table Emp Details”----
Add----Close-------double click on the required fields (Here select only EMP ID and EMP NAME
fields)
55 Binoy George
Record-2019
Step-13

Against the criterion in the EMP NAME column, enter the criteria like’M*’.Then press F5 or
Run Querry button to display the result. We can save the Query by click ‘save’ button and save it
with a suitable name/ query2

OUTPUT :1 Main Menu-----Queries----Query 1

OUTPUT :2 Main Menu-----Queries----Query 2

Prepared By, Binoy George, HSST, MKNM HSS, Kumaramangalam, Thodupuzha

56 Binoy George

You might also like