Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

DEPARTMENT OF MANAGEMENT STUDIES AND INDUSTRIAL

ENGINEERING
IIT (ISM) DHANBAD
BUSINESS ANALYTICS LAB: MSC 508
EXERCISE: 5

1. Consider the data given, develop appropriate formulas for each scenario.
Na Dall Darc Doo Luc Mitc Nac Rust Sher
me as y dle Lala Leia ky h ho Rex y lock Spot
Bich Bost Grea
on Shib on t Labr Chih Rott Dac
Bre Fris a Box Malt Terr Bull Poo Dan adoo uahu weil hshu
ed e Inu er ese ier dog dle e dle a er nd
Rac Son Ant Ran
Ow hel ny Fred Mari oine Mar Lily Beth Juan Lois dall Paul
ner F. L. P. a R. S. c S. O. B. M. C. W. A.
Wei
ght 15 37 55 12 23 28 45 99 40 6 42 14
Age 3 2 6 10 11 2 9 6 9 13 8 4

a. Create an HLOOKUP formula that will return a dog's age when you input their name.
b. Create an HLOOKUP formula that will return a dog's owner's name when you input
their breed.
c. Create an HLOOKUP formula that will return a dog's weight when you input their
owner's name.

2. The table below gives the assignment of workers to four groups. The suitability of each
worker for each group (on a scale from 0 to 10) is also given. Write a formula that gives the
suitability of each worker for the group to which the worker is assigned.
Qual
Assigned to Worker Quality
1 2 3 4
4 1 9 8 6 8
1 2 10 0 5 6
3 3 5 8 10 5
1 4 4 0 5 2
2 5 9 10 4 5
3 6 5 2 7 3
1 7 8 3 1 2
3 8 2 2 9 2
1 9 8 7 6 3
4 10 7 0 1 8
3 11 8 1 6 6
2 12 0 7 1 2
1 13 9 0 5 4
4 14 9 2 2 7
3 15 1 3 8 4
1 16 9 6 4 5
1 17 8 0 5 0
2 18 6 7 6 3
3 19 3 4 5 4
2 20 3 9 4 4
3 21 1 6 9 1
4 22 5 1 3 7
3 23 8 7 10 2
3 24 3 6 4 4
1 25 7 1 1 0
3 26 0 9 8 1
2 27 3 9 1 5
2 28 2 4 0 1
2 29 1 6 7 3
2 30 2 3 3 0
4 31 3 5 4 8
4 32 1 1 3 7
4 33 5 1 2 6
1 34 8 2 3 3
4 68 4 3 1 7
3 69 4 4 7 2
1 70 9 0 3 4
1 71 3 4 2 2
2 72 2 9 9 7
1 73 2 2 1 2
3 74 5 8 10 0
2 75 5 9 1 2
4 76 9 9 2 7
1 77 2 0 0 0
2 78 7 8 6 5
2 79 2 4 2 3

3. Write the combined VLOOKUP and HLookup formula in order to find which continent got
the exact number of medals if give continent name and medal type.

Gold Silver Copper

Column # 2 3 4

Europe 10 15 2

Asia 6 17 5
Africa 18 3 30

Continent Medal Amount

4. Use the correct formula to find the distance between the cities given in the table.

Sydne Aucklan Londo Chikag


y d n o
2 3 4 5
Sydney 0 25000 12000 12500
Aucklan
d 2500 0 15000 11000
London 12000 15000 0 8000
Chikago 12500 11000 8000 0

From Chikago
To Aucklan
d
Distanc
e

5. Use the correct formula in order to find which salesperson does how much sales in a
particular year.

Salesperson 2021 2022

1 2 3

Luka ₹ 34,543.00 ₹ 45,673.00

Oliver ₹ 45,324.00 ₹ 78,392.00

Robin ₹ 65,476.00 ₹ 89,346.00


Aron ₹ 66,783.00 ₹ 67,876.00

Leo ₹ 47,167.00 ₹ 47,167.00

Henry ₹ 46,548.00 ₹ 90,362.00

James ₹ 88,673.00 ₹ 78,345.00

Salesperson Year Sales

6. Create a named range called "DogInfo" for the table and create a VLOOKUP formula using
the named range in the Return Value cell that will return a dog's owner when you add their
ID to the Lookup Value cell.

ID Dog Name Dog Breed Owner


D1 Dallas Bichon Frise Rachel F.
D2 Darcy Shiba Inu Sonny L.
D3 Doodle Boxer Fred P.
L1 Lala Maltese Maria R.
L2 Leia Boston Terrier Antoine S.
L3 Lucky Bulldog Marc S.
M1 Mitch Poodle Lily O.
N1 Nacho Great Dane Beth B.
R1 Rex Labradoodle Juan M.
R2 Rusty Chihuahua Lois C.
S1 Sherlock Rottweiler Randall W.
S2 Spot Dachshund Paul A.
Lookup Value

Return Value

7. Create named ranges for the Midterm and Final tables. Then create a VLOOKUP-
INDIRECT combo formula in given cell that will allow you to toggle between the two
tables to return a student's score in cell after you type in their name and the test type.

Change the combo formula so that it returns the student's extra points instead of their score.

Midterm
Student Extra Points Score
Al Goddard 6 71
Florencia Vargas 6 91
Gerrard Peyton 8 97
Jeri Akers 7 100
Leocadia Dickinson 0 88
Li Yuen 5 88
Maxene Paget 0 94
Melanie Ibáñez 8 89
Pat Kay 7 86
Selby Varnham 10 71
Shi Phan 6 94
Valarie Sierra 10 73

Final
Student Extra Points Score
Al Goddard 4 84
Florencia Vargas 0 79
Gerrard Peyton 1 90
Jeri Akers 0 96
Leocadia Dickinson 0 89
Li Yuen 5 83
Maxene Paget 3 71
Melanie Ibáñez 9 87
Pat Kay 3 86
Selby Varnham 8 96
Shi Phan 5 98
Valarie Sierra 10 86

Student Name

Test Type

Score

You might also like