You are on page 1of 28

Reference

1
Cell Reference: the address of a cell. Every formula 'refers' to a cell address.

2 Example

Maths English Science


Student 1 67 87 56

Example:
= D8+E8+F8
In other words, the formula is referring to values in Column D:Row 8 & Column E:Row 8 & Column F
Student 2 35 55 57
Student 3 25 76 89
Total 127
Try Again
Cell reference - Change in Rows
1.See the formula in G8 to understand cell reference
2.Now copy the Formula from Cell G8 and paste in Cell 'G10'
3 3.The formula used in 'G10' is = D10+E10+F10
4.If we observe, when you copy the formula and paste it 2 rows down, the cells referred to also shift 2
5.Cell reference shifts from row 8 to row 10
6. Similarly Copy formula and paste in 'G11', Observe change in Row reference

Cell reference - Change in Columns


6. In cell 'D12', we are calculating the total marks scored by 3 students in Maths. Observe the formula
7. Now copy this formula to calculate total marks score by students in Science
8. You copied the formula from column 'D', pasted 2 columns away in 'F'. If you see the formula in 'F12

You can see that depending on the number of rows and columns you hav
ddress.

Total Marks
210

D:Row 8 & Column E:Row 8 & Column F:Row 8


Try again
Try again

ws down, the cells referred to also shift 2 rows down (8+2)

n Row reference

tudents in Maths. Observe the formula in cell D12


dents in Science
away in 'F'. If you see the formula in 'F12', the column reference has also shifted 2 columns ('D'+2='F')

e number of rows and columns you have shifted the formula, the cells referred also change - this is called relative reference
d relative reference
Reference
1
Cell Reference: the address of a cell. Every formula 'refers' to a cell address. In Relative reference we have se
to also shift. Let us look at how to "Fix" these references -i.e. Absolute Reference. We fix cells using $.

2 Example 1

3 There is a shop that sells A4 size paper realms. Different people have bought different quantities of paper. The pr
due for each person in column D
Q1. Find total amount due fo
Q2. Copy the formula from D
Person Quantity Total Amount INR 27.50 Select cell D12 and see the fo
Ramya 13
Jack 17
Saif 23 How To 'Fix' cell reference in
Aruna 15 You need to add dollars symb
Nutan 19 You can also do this by pressin
range.
In this case , we want only E10
D12 will be =C12*$E$10

Q3. Copy the formula from D


amount for all other people.
lative reference we have seen that when you copy any formula, the cells the formula refers
. We fix cells using $.

t quantities of paper. The price per realm is given in E10, we will calculate the total amount

1. Find total amount due for Ramya in D11


2. Copy the formula from D11 to D12, what is the error you see?
elect cell D12 and see the formula in the formula bar on top or else double click in the cell.

ow To 'Fix' cell reference in a formula:-


u need to add dollars symbol ($) before column and row that is $E$10.
u can also do this by pressing function key 4 i.e. F4 after selecting the cell address or
nge.
this case , we want only E10 to remain constant so type $E$10 and now the formula in cell
12 will be =C12*$E$10

3. Copy the formula from D12 and paste in respective cells (D13 to D15) to find the
mount for all other people.
Reference
1
Cell Range Reference: Similar to cells, we can also 'Fix' ranges
For example: A2:C3 can be 'Fixed as '$A$2:$C$3

2 Example 1

3 Some students attended exams, their status is as shown

Students Status
Radhika Passed
Nazmool Passed
Krish Did not attend Q1. Find the number of studen
Kohli Passed
Pratik Failed To 'Fix' cell range, type $D$10:$
Baban Passed
Bhola Passed Q2. Copy the formula from E13
Chutki Did not attend appropriate criterion.
Q3. Copy the formula from E13
Jaya Passed appropriate criterion.
Jyotika Failed
Vijay Passed
Anthony Passed
Adam Failed
Ananya Did not attend
1. Find the number of students who 'Passed' the exams in E13. Fix the range

'Fix' cell range, type $D$10:$D$24 or use F4 as cited earlier.

. Copy the formula from E13 to E14, count number of students who failed with
propriate criterion.
. Copy the formula from E13 to E15, count number of students who did not attend with
propriate criterion.
VlookUp
Vlookup (short for 'vertical' lookup), is used to look up a value you want to find in an Excel list or table. Using VLO
1 telephone number. VLOOKUP looks at a value in one column, and finds its corresponding value on the same row

Example There are two tables below. Table 1: Hourly Pay. Table 2: Sales Hours. Find the Payment Due
2
Table 1
Employee ID Hourly Pay Employee ID Hours Worked
INR 25.75
E001 Example- E004 5.6
E002 INR 33.25 E002 7.3
E003 INR 45.63 E001 8.5
E004 INR 25.89 E005 3.4
E005 INR 17.93 E003 5.8

3 To find the hourly rate from Table 1, a formula can be used


VlookUp =VLOOKUP(F8,C8:D12,2,FALSE)

lookup_Value : Value you are trying to match (in this case Employee id Column 'F')
table_array : Table of data you are looking in to find the match (in this case C8:D12, source data table)
col_index,num : The column of the value you want to return (In this case 2, second column including lookup valu
range_lookup : Decides whether you want an exact match with lookup value or an approximate is enough (Ideall
Now look at the Formula in 'H8'
Now find Hourly Pay for each Employee (H9:H12)
n Excel list or table. Using VLOOKUP is similar to looking up a person's name in a telephone book to get a
nding value on the same row in another column.

nd the Payment Due

Hourly Pay
This formula looks for Value in cell F8, in the table range C8:D12. It then finds the value in
25.89 second column and returns that. Since you have said False, it will take E004 only and no other
Please enter Formula in 'H9'
Please enter Formula in 'H10'
Please enter Formula in 'H11'
Please enter Formula in 'H12'
Points to remember

- Vlookup value should always b


unique! Using a repetitive looku
value will give wrong answers

source data table)


column including lookup value column)
pproximate is enough (Ideally should always be false)
Points to remember

- Vlookup column should always be to the righ


of lookup value. You can find the hours worked
and hourly pay from employee id. But not
employee id from any column after that
oints to remember

okup value should always be


ue! Using a repetitive lookup
will give wrong answers

mber

hould always be to the right


u can find the hours worked
m employee id. But not
ny column after that
1 Vlookup Exercise 1
Below are two table. Table 1: Employee Data. Table 2: Pay report. Find the employee names in the pay
Enter the Vlookup formula in each cell in the range I8:J22 (Do not Copy)
Table 1: Employee Data Table 2: Pay Rep
S.No Employee ID Last Name First Name Employee ID
1 110608 Kumar Riya 612235
2 253072 Saxena Priya 303626
3 352711 Khanna Ram 830385
4 391006 Mathews Alex 192632
5 392128 Kapoor Raj 856451
6 549457 Khanna Rajesh 502850
7 580622 Dutta Manyata 352711
8 602693 Mishra Naina 611810
9 611810 Sharma Pankaj 597393
10 612235 Chopra Shruti 580622
11 795574 Rao Preethi 679227
12 830385 Arora Deepa 326899
13 990678 Shastri Depaali 889532
14 837474 Aiyyar Ishita 679826
15 303626 Siddiqui Alizeh 549457
16 679227 Dubey Nutan 837474
17 889532 Saran Shriya
18 534332 Balla Raman
19 738459 Chopda Tisca
20 702938 Tandon Kushal
21 326899 Khurana Saurabh
22 192632 Kohli Virat
23 679826 Shastri Ravi
24 626018 Ayengar Senthil
25 856451 Verma Gaurav
26 415286 Trivedi Abhishek
27 502850 Mukherjee Rani
28 249006 Kapadia Rohit
29 597393 Ahuja Govinda
30 579506 Ashtana Meenakshi
d the employee names in the pay report table

Table 2: Pay Report


Pay First Name Last Name
84289 Please enter Formula
137670
190024
122604
111709
85931
168114
89627
149946
145893
64757
71478
121444
99999
134216
798543
VlookUp with Absolute Reference
VlookUp is used on large data. In such cases putting a formula in every case is difficult, we should be
1 able to copy paste the formula. In this session we will look at how to copy this formula.

Example There are two tables below. Table 1: Hourly Pay. Table 2: Sales Hours. Find the Payment Due
2
Table 1
Employee ID Hourly Pay Employee ID Hours Worked
INR 25.75
E001 E004 5.6
E002 INR 33.25 E002 7.3
E003 INR 45.63 E001 8.5
E004 INR 25.89 E005 3.4
E005 INR 17.93 E003 5.8

3 Step 1 Copy the formula in 'H8' and paste the formula in 'H10'
Step 2 You can see an error -#N/A that it respective information is NOT AVAILABLE in the given cell range.
Step 3 Observe - The range is C10:C14 but Employee id 'E001' is in cell 'C8', because the lookup value is miss
Step 4 To avoid this, Fix the row and column - $ before C will Fix column C, $ before 8 will fix row 8. Similarl
To fix the Column in C9 - $C9 To fix Column in D12 - $D12
To fix the Row - C$9 To fix Row in D12 - D$12
To fix the Cell - $C$9 To fix Cell - $D$12

Step 5 Use Absolute reference in H8 by double clicking and inserting dollar $ symbols. Paste the formula in
ult, we should be
mula. Points to remember

- Vlookup column should always be to the


nd the Payment Due right of lookup value. You can find hourly pay
from employee id. But not employee id from
Hourly Pay any Hourly pay as the former is in the left of
the lookup value.

25.89

Points to remember

- Vlookup value should always be


unique! Using a repetitive lookup
value will give wrong answers

ABLE in the given cell range.


ause the lookup value is missing in the range you will get an #N/A error
efore 8 will fix row 8. Similarly for D & 12

ymbols. Paste the formula in cells H9:H12


1 VlookUp Exercise 2
Below are two table. Table 1: Employee Data. Table 2: Pay report. Find the employee names in the pay r
Use Absolute Reference when entering the formula in I7 - Fix Column for lookup_value and Column and
Table 1: Employee Date Table 2: Pay Report
S.No Employee ID Last Name First Name Employee ID Pay
1 110608 Kumar Riya 612235 84289
2 253072 Saxena Priya 303626 137670
3 352711 Khanna Ram 830385 190024
4 391006 Mathews Alex 192632 122604
5 392128 Kapoor Raj 856451 111709
6 549457 Khanna Rajesh 502850 85931
7 580622 Datta Manyata 352711 168114
8 602693 Mishra Naina 611810 89627
9 611810 Sharma Pankaj 597393 149946
10 612235 Chopra Shruti 580622 145893
11 795574 Rao Preethi 679227 64757
12 830385 Arora Deepa 326899 71478
13 990678 Shastri Depaali 889532 121444
14 837474 Aiyyar Ishita 679826 99999
15 303626 Siddiqui Alizeh 549457 134216
16 679227 Dubey Nutan 837474 798543
17 889532 Saran Shriya
18 534332 Balla Raman
19 738459 Chopda Tisca
20 702938 Tandon Kushal
21 326899 Khurana Saurabh
22 192632 Kohli Virat
23 679826 Shastri Ravi
24 626018 Ayengar Senthil
25 856451 Verma Gaurav
26 415286 Trivedi Abhishek
27 502850 Mukherjee Rani
28 249006 Kapadia Rohit
29 597393 Ahuja Govinda
30 579506 Ashtana Meenakshi
ployee names in the pay report table
p_value and Column and Row for Range. Copy this formula to I8:J22
Table 2: Pay Report
First Name Last Name
Read Instructions above & enter formula with Absolute reference
1 VlookUp Exercise 3
You need to find details in the below Table, Data is in the sheet 'Raw data'
Use Absolute Reference as appropriate

Order Number Supplier Reference Description


72361
58070
97705
70116
32839
63025
81466
11309
63643
73097
57517
11164
20122
85124
12252
28426
64649
24584
55554
68501
83170
88726
90700
22311
31057
Bank Code Payment Date Account Code Result
VlookUp Exercise 4

Copy the below blank table and paste in a new worksheet in a different excel
file i.e. in a different workbook

Find all these required information in blank spaces by using Appropriate


formulae

Order Bank Payment Account


Number Supplier Reference Description Code Date Code
11164
11309
12252
20122
22311
24584
28426
31057
32839
55554
57517
58070
63025
63643
64649
68501
70116
72361
73097
81466
83170
85124
88726
90700
97705
Raw Data
Use this data to answer VlookUp in the sheet 'VlookUp(Exercise3)

Order
Number Supplier Reference Description
97705 XY Solutions S77782 Opening Balance
97547 IS Communications Invoice EXP22 Internet Service Provider
64649 Newscorp I381119 Subscriptions
14616 EAG Brokers Debit Order Insurance
32839 Capital Bank Bank Statement Service Fees
43452 Capital Bank Bank Statement Service Fees
45109 IAS Accountants Invoice Bookkeeping
48604 Interflora Cash Flowers
67108 QQ International TR6998 Parking
73553 Example (Pty) Ltd Transfer Inter Account Transfer
23190 Example (Pty) Ltd Transfer Inter Account Transfer
67904 Example (Pty) Ltd Payroll Salaries
43917 HP Finance Debit Order Capital repayment
72361 HP Finance Debit Order Interest paid
99420 PR Properties Debit Order Rent
93416 Example (Pty) Ltd Bank Statement Petty Cash Reimbursement
13167 Example (Pty) Ltd Bank Statement Petty Cash Reimbursement
29563 IS Communications Invoice EXP23 Internet Service Provider
22237 EAG Brokers Debit Order Insurance
69494 Interflora Cash Flowers
29399 Capital Bank Bank Statement Service Fees
77860 Capital Bank Bank Statement Service Fees
58128 IAS Accountants Invoice Bookkeeping
33699 Example (Pty) Ltd Transfer Inter Account Transfer
63643 Example (Pty) Ltd Transfer Inter Account Transfer
58070 Inland Revenue Return Sales Tax
82010 Example (Pty) Ltd Payroll Salaries
22926 Furniture City Invoice Furniture
85234 HP Finance Debit Order Capital repayment
76053 HP Finance Debit Order Interest paid
70116 PR Properties Debit Order Rent
54203 GF Supplies IN1179 Consumables
32723 Example (Pty) Ltd Bank Statement Petty Cash Reimbursement
49670 Example (Pty) Ltd Bank Statement Petty Cash Reimbursement
98397 IS Communications Invoice EXP24 Internet Service Provider
48795 Training Inc Invoice Course
44584 EAG Brokers Debit Order Insurance
75338 City Lodge S50037 Accommodation
37943 Waltons Invoice Stationery
63025 Capital Bank Bank Statement Service Fees
78401 Capital Bank Bank Statement Service Fees
19174 IAS Accountants Invoice Bookkeeping
64013 Example (Pty) Ltd Transfer Inter Account Transfer
56940 Example (Pty) Ltd Transfer Inter Account Transfer
10993 Example (Pty) Ltd Payroll Salaries
47822 HP Finance Debit Order Capital repayment
38011 HP Finance Debit Order Interest paid
13885 PR Properties Debit Order Rent
35076 Interflora Cash Flowers
48843 Example (Pty) Ltd Bank Statement Petty Cash Reimbursement
82850 Example (Pty) Ltd Bank Statement Petty Cash Reimbursement
73097 IS Communications Invoice EXP25 Internet Service Provider
81466 EAG Brokers Debit Order Insurance
41416 Capital Bank Bank Statement Service Fees
78841 Capital Bank Bank Statement Service Fees
59349 IAS Accountants Invoice Bookkeeping
57728 Example (Pty) Ltd Transfer Inter Account Transfer
37081 Example (Pty) Ltd Transfer Inter Account Transfer
47268 Interflora Cash Flowers
45000 Inland Revenue Return Sales Tax
79645 Example (Pty) Ltd Payroll Salaries
77782 HP Finance Debit Order Capital repayment
57517 HP Finance Debit Order Interest paid
37994 PR Properties Debit Order Rent
76655 SA Airlines SA11235 Travel
11309 Example (Pty) Ltd Bank Statement Petty Cash Reimbursement
82307 Example (Pty) Ltd Bank Statement Petty Cash Reimbursement
55519 IS Communications Invoice EXP26 Internet Service Provider
92677 Waltons Invoice Stationery
39551 EAG Brokers Debit Order Insurance
45727 Capital Bank Bank Statement Service Fees
55146 Capital Bank Bank Statement Service Fees
50875 IAS Accountants Invoice Bookkeeping
13783 Interflora Cash Flowers
11164 GF Supplies IN1181 Consumables
22311 Example (Pty) Ltd Transfer Inter Account Transfer
89952 Example (Pty) Ltd Transfer Inter Account Transfer
60354 ACC Institute M00321037 Annual Membership
20122 Example (Pty) Ltd Payroll Salaries
85124 HP Finance Debit Order Capital repayment
55554 HP Finance Debit Order Interest paid
58625 PR Properties Debit Order Rent
83170 Example (Pty) Ltd Bank Statement Petty Cash Reimbursement
78185 Example (Pty) Ltd Bank Statement Petty Cash Reimbursement
12252 IS Communications Invoice EXP27 Internet Service Provider
40589 EAG Brokers Debit Order Insurance
31057 Interflora Cash Flowers
33726 XY Traders Invoice 9987 Commission
88726 Capital Bank Bank Statement Service Fees
66453 Capital Bank Bank Statement Service Fees
36990 IAS Accountants Invoice Bookkeeping
77599 SA Airlines SA11988 Travel
90700 Example (Pty) Ltd Transfer Inter Account Transfer
68501 Example (Pty) Ltd Transfer Inter Account Transfer
45385 JSE Brokers Remittance Share investment
71103 Inland Revenue Return Sales Tax
28426 Example (Pty) Ltd Payroll Salaries
69984 HP Finance Debit Order Capital repayment
59213 HP Finance Debit Order Interest paid
24584 PR Properties Debit Order Rent
Tax
Inclusive Bank Account Payment
Amount Code Code Date
5,100.00 B1 BS-500 3/2/2011
179.00 B1 IS-380 3/31/2011
478.00 B1 IS-375 4/1/2011
340.00 B1 IS-340 3/5/2011
50.00 B1 IS-315 3/15/2011
35.00 B2 IS-315 3/15/2011
1,000.00 B1 IS-305 4/2/2011
90.00 PC IS-345 3/15/2011
200.00 B1 IS-390 3/18/2011
-15,000.00 B2 BS-399 3/20/2011
15,000.00 B1 BS-399 3/20/2011
13,000.00 B2 IS-365 3/26/2011
220.00 B1 BS-700 3/26/2011
100.00 B1 IS-500 3/26/2011
6,400.00 B1 IS-350 3/26/2011
100.00 B1 BS-399 3/31/2011
-100.00 PC BS-399 3/31/2011
179.00 B1 IS-380 5/1/2011
340.00 B1 IS-340 4/5/2011
87.00 PC IS-345 4/12/2011
80.00 B1 IS-315 4/15/2011
35.00 B2 IS-315 4/15/2011
1,000.00 B1 IS-305 5/3/2011
-20,000.00 B2 BS-399 4/20/2011
20,000.00 B1 BS-399 4/20/2011
1,300.00 B1 BS-600 4/25/2011
20,000.00 B2 IS-365 4/26/2011
3,000.00 B1 BS-100 5/26/2011
220.00 B1 BS-700 4/26/2011
100.00 B1 IS-500 4/26/2011
6,400.00 B1 IS-350 4/26/2011
41.00 PC IS-325 5/29/2011
100.00 B1 BS-399 4/30/2011
-100.00 PC BS-399 4/30/2011
179.00 B1 IS-380 5/31/2011
220.00 B1 IS-385 5/31/2011
340.00 B1 IS-340 5/5/2011
563.00 B1 IS-390 5/7/2011
982.00 B1 IS-370 6/6/2011
80.00 B1 IS-315 5/15/2011
35.00 B2 IS-315 5/15/2011
1,000.00 B1 IS-305 6/2/2011
-20,000.00 B2 BS-399 5/20/2011
20,000.00 B1 BS-399 5/20/2011
20,000.00 B2 IS-365 5/26/2011
220.00 B1 BS-700 5/26/2011
100.00 B1 IS-500 5/26/2011
6,400.00 B1 IS-350 5/26/2011
65.00 PC IS-345 5/29/2011
100.00 B1 BS-399 5/31/2011
-100.00 PC BS-399 5/31/2011
179.00 B1 IS-380 7/1/2011
340.00 B1 IS-340 6/5/2011
80.00 B1 IS-315 6/15/2011
35.00 B2 IS-315 6/15/2011
1,000.00 B1 IS-305 7/3/2011
-20,000.00 B2 BS-399 6/20/2011
20,000.00 B1 BS-399 6/20/2011
110.00 PC IS-345 6/22/2011
8,700.00 B1 BS-600 6/25/2011
20,000.00 B2 IS-365 6/26/2011
220.00 B1 BS-700 6/26/2011
100.00 B1 IS-500 6/26/2011
6,400.00 B1 IS-350 6/26/2011
1,782.00 B1 IS-390 6/26/2011
100.00 B1 BS-399 6/30/2011
-100.00 PC BS-399 6/30/2011
179.00 B1 IS-380 7/31/2011
761.00 B1 IS-370 8/1/2011
340.00 B1 IS-340 7/5/2011
80.00 B1 IS-315 7/15/2011
35.00 B2 IS-315 7/15/2011
1,000.00 B1 IS-305 8/2/2011
29.00 PC IS-345 7/16/2011
937.00 B1 IS-325 8/16/2011
-20,000.00 B2 BS-399 7/20/2011
20,000.00 B1 BS-399 7/20/2011
2,000.00 B1 IS-375 8/24/2011
20,000.00 B2 IS-365 7/26/2011
220.00 B1 BS-700 7/26/2011
100.00 B1 IS-500 7/26/2011
6,400.00 B1 IS-350 7/26/2011
50.00 B1 BS-399 7/31/2011
-50.00 PC BS-399 7/31/2011
179.00 B1 IS-380 8/31/2011
340.00 B1 IS-340 8/5/2011
78.00 PC IS-345 8/9/2011
747.00 B1 IS-320 9/12/2011
80.00 B1 IS-315 8/15/2011
35.00 B2 IS-315 8/15/2011
1,000.00 B1 IS-305 9/2/2011
1,278.00 B1 IS-390 8/15/2011
-20,000.00 B2 BS-399 8/20/2011
20,000.00 B1 BS-399 8/20/2011
3,750.00 B1 BS-200 8/21/2011
6,600.00 B1 BS-600 8/25/2011
20,000.00 B2 IS-365 8/26/2011
220.00 B1 BS-700 8/26/2011
100.00 B1 IS-500 8/26/2011
6,400.00 B1 IS-350 8/26/2011
Links for further reading

https://www.gcflearnfree.org/print/excel2013/relative-and-absolute-cell-references?playlist=Excel_201
http://www.excel-easy.com/functions/lookup-reference-functions.html
https://www.gcflearnfree.org/excel-tips/how-to-use-excels-vlookup-function/1/
https://www.ablebits.com/office-addins-blog/2014/07/17/excel-vlookup-tutorial-beginner/
eferences?playlist=Excel_2013

utorial-beginner/

You might also like