0% found this document useful (0 votes)
40 views22 pages

Session12 Worksheet MISTSP Solution

This document contains a database of college students with their registration numbers, names, courses, and genders. It also contains a tax rate table with income ceilings and rates. The task is to look up details of a student with a given registration number from the database and calculate tax based on an income using the tax rate table. Formulas like XLOOKUP and INDEX are used to dynamically look up values.

Uploaded by

Suraj Das
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views22 pages

Session12 Worksheet MISTSP Solution

This document contains a database of college students with their registration numbers, names, courses, and genders. It also contains a tax rate table with income ceilings and rates. The task is to look up details of a student with a given registration number from the database and calculate tax based on an income using the tax rate table. Formulas like XLOOKUP and INDEX are used to dynamically look up values.

Uploaded by

Suraj Das
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 22

Index Country Capital Index Input 6

1 Russia Moscow
3 China Beijing
4 USA Washington, DC
7 India New Delhi
8 Argentina Buenos Aires
2 Canada Ottawa
6 Australia Canberra Index Input
5 Brazil Brasilia
Country Capital
Australia Canberra
Exact Match

Country Capital
USA Washington, DC
Approximate Match
You are thinking of advertising Microsoft products on a sports telecast. As you buy more ads, the price of each ad decrea
table.

Number of Ads Price Per Ad Slab Floors


1-5 $ 12,000.00 1st Slab 1
6-10 $ 11,000.00 2nd Slab 6
11-20 $ 10,000.00 3rd Slab 11
21 or higher $ 9,000.00 4th Slab 21

Scenario 1: If you buy 8 ads, you pay $11,000 per ad, but if you buy 14 ads, you pay $10,000 per ad. Calculate the pric
purchasing the number of ads mentioned in cells E15.

Ads Bought Expense per Ad


9 11,000.00

Scenario 2: if you buy 8 ads, you pay $12,000 per ad for the first 5 ads and $11,000 for each of the next 3 ads. If you b
each of the first 5 ads, $11,000 for each of the next 5 ads, and $10,000 for each of the last 4 ads. Write a formula in cell
purchasing any number of ads mentioned in F23.

Ads Bought
17

Payment for Previous Slabs


Price per Ad for Current Slab
No of Ads to be Purchased from Current Slab
more ads, the price of each ad decreases as shown in the following

Price Per Ad Payment for Just Prev Slab Payment for All Prev Slabs
$ 12,000.00 - -
$ 11,000.00 60,000.00 60,000.00
$ 10,000.00 55,000.00 115,000.00
$ 9,000.00 100,000.00 215,000.00

pay $10,000 per ad. Calculate the price per ad and the total cost of

Total Expenses
99,000.00

000 for each of the next 3 ads. If you buy 14 ads, you pay $12,000 for
f the last 4 ads. Write a formula in cell G23 that yields the total cost of

Total Expenses
185,000.00

115,000.00
10,000.00
7
The following database provides a list of college students.
Find out the name, course enrolment, and gender details of a student whose registration number is mentioned in cell C

Name Address Course Age


Bhupinder Ludhiana, Punjab BBA 20
Abhimanyu Indore, Madhya Pradesh MSc 24
Nidhi Delhi MBA 23
Diana Varoda, Gujarat MBBS 22
Firdaus Mumbai, Maharashtra LLB 23

Registration Number MBB0172

Name Diana
Course MBBS
Gender F Alternative
gistration number is mentioned in cell C14.

Registration Number Gender


BBA2027 M
MSC1007 M
MBA0078 F
MBB0172 F
LLB1102 M

F
The following database provides a list of college students.
Find out the name, course enrolment, and gender details of a student whose registration number is mentioned in cell C

Name Address Course Age


Bhupinder Ludhiana, Punjab BBA 20
Abhimanyu Indore, Madhya Pradesh MSc 24
Nidhi Delhi MBA 23
Diana Varoda, Gujarat MBBS 22
Firdaus Mumbai, Maharashtra LLB 23

Course MBA

Name Nidhi
Registration Number MBA0078
Gender F
ation number is mentioned in cell C14.

Registration Number Gender


BBA2027 M
MSC1007 M
MBA0078 F
MBB0172 F
LLB1102 M
The following table provides a list of distances between US cities.
Write a formula in cell H16 which would automatically calculate the distance between any two selected cities - City 1 an

Boston Chicago Dallas Denver LA


Boston 0 983 1815 1991 3036
Chicago 983 0 1205 1050 2112
Dallas 1815 1205 0 801 1425
Denver 1991 1050 801 0 1174
LA 3036 2112 1425 1174 0
Miami 1539 1390 1332 2100 2757
Phoenix 2664 1729 1027 836 398
Seattle 2612 2052 2404 1373 1909

City 1 City 2
Distance between Dallas and Miami is

Imagine that the Seattle Seahawks NFL team is embarking on a road trip in which they play games in Phoenix, LA, Den
Chicago. At the conclusion of the road trip, the Seahawks return to Seattle. Using INDEX, can you calculate how many m
the trip?

Seattle Total Miles Travelled


Phoenix 1482
LA 398
Denver 1174
Dallas 801
Chicago 1205
Seattle 2052
een any two selected cities - City 1 and City 2?

Miami Phoenix Seattle


1539 2664 2612
1390 1729 2052
1332 1027 2404
2100 836 1373
2757 398 1909
0 2359 3389
2359 0 1482
3389 1482 0

Distance
1332

they play games in Phoenix, LA, Denver, Dallas, and


INDEX, can you calculate how many miles they travel on

Total Miles Travelled 7112


Name Program Emp ID Age Gender XLOOKUP(lookup_value
Amy MBA A112 23 F
Tucker MBBS B023 22 M lookup_value
Stirling M.Tech C142 24 M
Mary MBBS B008 22 F lookup_array
Cu*rtis M.Tech C076 23 M
Inoka BBA D015 20 F return_array
Nicole M.Tech C234 24 F
Neil BBA D012 21 M [if_not_found]
Sophie MBBS B154 25 F
John MBA A087 26 M [match_mode]

EMP ID B008
Name Mary

EMP ID B008 [search_mode]


Name Program Emp ID Age Gender
#NAME? #NAME? #NAME? #NAME? #NAME?

Completely Dynamic
Emp ID C234
Program #NAME?

Tax Rate Income Ceiling Income $ 45,000.00


10% $ 10,000.00 Tax Rate 24%
22% $ 40,000.00
24% $ 60,000.00
32% $ 100,000.00
35% $ 200,000.00
37% $ 500,000.00

Wild Card Search


*t* Tucker Looking for name containing t
?t* Stirling Looking for a name containing t at any position other than the first position
*~** Cu*rtis Looking for a name containing *
P(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])

0: Exact match. If none found, return #N/A. This is the default.


-1: Exact match. If none found, return the next smaller item.
1: Exact match. If none found, return the next larger item.
2: A wildcard match where *, ?, and ~ have special meaning.

1: Perform a search starting at the first item. This is the default.


-1: Perform a reverse search starting at the last item.
2: Perform a binary search that relies on lookup_array being sorted in ascending order.
If not sorted, invalid results will be returned.
-2: Perform a binary search that relies on lookup_array being sorted in descending
order. If not sorted, invalid results will be returned.

her than the first position


A B C D E F G H I J
1

The table below provides assignment of workers to four groups. The suitability of each worker for each group (on a scale from 0 to 10) is also given.
2
Write a formula using INDEX that gives the suitability of each worker for the group to which the worker is assigned.
Also try writing the same formula using VLOOKUP and HLOOKUP, respectively.

3
4 Suitability Rating
Group Suitability Rating Suitability Rating Suitability Rating
5 Worker Group 1 Group 2 Group 3 Group 4
Assignment (using INDEX) (using VLOOKUP) (using HLOOKUP)
6 1 2 3 4
7 4 1 9 8 6 8 8 8 8
8 1 2 10 0 5 6 10 10 10
9 3 3 5 8 10 5 10 10 10
10 1 4 4 0 5 2 4 4 4
11 2 5 9 10 4 5 10 10 10
12 3 6 5 2 7 3 7 7 7
13 1 7 8 3 1 2 8 8 8
14 3 8 2 2 9 2 9 9 9
15 1 9 8 7 6 3 8 8 8
16 4 10 7 0 1 8 8 8 8
The worksheet contains quarterly revenues for Walmart. Can you easily compute the revenue for each year and pl
first quarter’s sales for that year?

Wal-Mart revenues

Year Quarter Revenue Annual Revenues


1991 1 9280.57 43,886.76 Less Robust
1991 2 10339.90
1991 3 10627.50
1991 4 13638.80
1992 1 11649.40 55,483.59
1992 2 13028.40
1992 3 13683.80
1992 4 17122.00
1993 1 13920.40 67,344.30
1993 2 16236.50
1993 3 16826.90
1993 4 20360.50
1994 1 17686.10 82,493.89
1994 2 19942.30
1994 3 20417.70
1994 4 24447.80
1995 1 20440.00 93,627.00
1995 2 22723.00
1995 3 22914.00
1995 4 27550.00
1996 1 22772.00 104,859.00
1996 2 25587.00
1996 3 25644.00
1996 4 30856.00
1997 1 25409.00 117,958.00
1997 2 28386.00
1997 3 28777.00
1997 4 35386.00
1998 1 29819.00 137,634.00
1998 2 33521.00
1998 3 33509.00
1998 4 40785.00
1999 1 35129.00 166,809.00
1999 2 38913.00
1999 3 40899.00
1999 4 51868.00
2000 1 43447.00 193,295.00
2000 2 46588.00
2000 3 46181.00
2000 4 57079.00
2001 1 48565.00 219,672.00
2001 2 53187.00
2001 3 53185.00
2001 4 64735.00
2002 1 52126.00 231,577.00
2002 2 56781.00
2002 3 55765.00
2002 4 66905.00
2003 1 57224.00 258,681.00
2003 2 63231.00
2003 3 63036.00
2003 4 75190.00
2004 1 65443.00 65,443.00
e revenue for each year and place it in the row containing the

43,886.76 More Robust

55,483.59

67,344.30

82,493.89

93,627.00

104,859.00

117,958.00

137,634.00

166,809.00

193,295.00

219,672.00

231,577.00

258,681.00

65,443.00
In a game, two dice are tossed. If the total of the dice on a roll is 2, 3, or 12, display the message 'You Lose'. If the total
display the message 'You win'. Otherwise, display 'Continue the game'. How can I write a formula to determine the status

Total of the dice on a roll 10


Status of the Game You Continue

Alternative Approach You Continue

2 You Lose
3 You Lose
12 You Lose
7 You Win
11 You Win

Alternative Approach You Continue


essage 'You Lose'. If the total of the dice on a roll is 7 or 11,
rmula to determine the status of the game after the first roll?
Column B contains the names of several movies followed by the number of copies of the movie DVD purchased by a
this data.

Movie Details
Seabiscuit 40
Laura Croft Tombraider 12
Raiders of the Lost Ark 36
Annie Hall 5
Manhattan 4
Star Wars 112
How to Deal 128
The Matrix Reloaded 1
Johnny English 1040
Rosemary's Baby 12
High Noon 1002

LEN
LEFT
RIGHT
MID

SEARCH
FIND

SUBSTITUTE
REPLACE
pies of the movie DVD purchased by a local video store. Extract the title of each movie from
Column B contains the names of several movies followed by the number of copies of the movie DVD purchased by a

Movie Details Spavce Removed String No of Spaces


Seabiscuit 40 Seabiscuit40 1
Laura Croft Tombraider 12 LauraCroftTombraider12 3
Raiders of the Lost Ark 36 RaidersoftheLostArk36 5
Annie Hall 5 AnnieHall5 2
Manhattan 4 Manhattan4 1
Star Wars 112 StarWars112 2
How to Deal 128 HowtoDeal128 3
The Matrix Reloaded 1 TheMatrixReloaded1 3
Johnny English 1040 JohnnyEnglish1040 2
Rosemary's Baby 12 Rosemary'sBaby12 2
High Noon 1002 HighNoon1002 2

LEN 14 =LEN(B17)
LEFT High N =LEFT(B17,6)
RIGHT n 1002 =RIGHT(B17,6)
MID Noon =MID(B17,6,4)

SEARCH 6 =SEARCH("n",B17)
FIND 9 =FIND("n",B17)

SUBSTITUTE High Noon 1092 =SUBSTITUTE(B17,0,9,2)


REPLACE High Morning 1002 =REPLACE(B17,6,4,"Morning")
f the movie DVD purchased by a local video store. Extract the title of each movie from this data.

Last Space Substituted Position of the Last Position of the Last


String Space (using SEARCH) Space (using FIND)
Seabiscuit*40 11 11
Laura Croft Tombraider*12 23 23
Raiders of the Lost Ark*36 24 24
Annie Hall*5 11 11
Manhattan*4 10 10
Star Wars*112 10 10
How to Deal*128 12 12
The Matrix Reloaded*1 20 20
Johnny English*1040 15 15
Rosemary's Baby*12 16 16
High Noon*1002 10 10

Not Case Sensitive Supports Wild Card


Case Sensitive Does not support Wild Card
Movie Title DVD#
Seabiscuit 40
Laura Croft Tombraider 12
Raiders of the Lost Ark 36
Annie Hall 5
Manhattan 4
Star Wars 112
How to Deal 128
The Matrix Reloaded 1
Johnny English 1040
Rosemary's Baby 12
High Noon 1002

You might also like