Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 7

Assignment

Office Location Selection


Problem Statement
Office Location Selection
Company gives 10 Locations where Office can be leased in Mumbai
Employees can give 3-5 Locations as preference from list of 10 Locations
Each Preference has a weightage associated with it
Final three Locations offered basis number of times employees select it and associated weights against each preference
Also, Company wants to know least 2 preferred locations so that they do not consider it in future also
Company also wants to know for what percent of employees their preference not met

Data Available
Location List
Employee preference
Weightage

To Find
Three locations where office will be based out of
For each employee, calulate if there preference is met or not
-Preference is said to be met if more than 50% of employees' choices are offered finally
Percentage of employees whose preference not met
Least 2 Preferred Locations
Data
Employee Wise Preference
Name Preference 1 Preference 2 Preference 3 Preference 4 Preference 5
Preference Weight 10 8 5 3 1
Ravi Sharma Chembur Thane Colaba Powai Andheri East 1 0 0 0 1
Meera Patel Andheri East Bandra Kurla Powai 1 1 0 0 0
Sanjay Singh Chembur Bandra Colaba Andheri East 1 1 0 1 0
Priya Kapoor Kurla Vashi Andheri East Thane Colaba 0 0 1 0 0
Arjun Reddy Thane Kurla Andheri West Ghatkopar Vashi 0 0 0 0 0
Nisha Verma Kurla Andheri West Bandra Powai Andheri East 0 0 1 0 1
Rahul Tiwari Andheri East Bandra Colaba Kurla Thane 1 1 0 0 0
Aisha Khan Ghatkopar Andheri West Chembur Vashi Kurla 0 0 1 0 0
Rajesh Gupta Bandra Vashi Chembur Thane 1 0 1 0 0
Pooja Malhotra Colaba Bandra Vashi Chembur Thane 0 1 0 1 0
Vikram Desai Powai Colaba Chembur Thane 0 0 1 0 0
Ananya Joshi Ghatkopar Bandra Thane Andheri West Andheri East 0 1 0 0 1
Karthik Nair Bandra Colaba Andheri East Vashi Ghatkopar 1 0 1 0 0
Shreya Agarwal Colaba Chembur Ghatkopar Andheri East Andheri West 0 1 0 1 0
Aditya Mehta Ghatkopar Thane Bandra Chembur Andheri West 0 0 1 1 0
Swati Choudhury Andheri West Ghatkopar Vashi Andheri East 0 0 0 1 0
Rajat Khanna Andheri East Ghatkopar Chembur 1 0 1 0 0
Nandini Srinivasan Chembur Andheri East Ghatkopar Thane 1 1 0 0 0
Vishal Mallick Ghatkopar Bandra Andheri East Thane Kurla 0 1 1 0 0
Anjali Bhatia Andheri West Chembur Andheri East Colaba Thane 0 1 1 0 0
Preference 1 Preference 2 Preference 3 Preference 4 Preference 5
Location List 10 8 5 3 1
Bandra 20 48 10 0 0
Chembur 30 16 20 6 0
2 0.4 Not Met Andheri East 30 8 20 9 3
2 0.5 Met Ghatkopar 40 16 10 3 1
3 0.75 Met Colaba 20 16 15 3 1
1 0.2 Not Met Thane 10 16 5 15 3
0 0 Not Met Andheri West 20 16 5 3 2
2 0.4 Not Met Kurla 20 8 5 3 2
2 0.4 Not Met Vashi 0 16 10 6 1
1 0.2 Not Met Powai 10 0 0 9 0
2 0.5 Met
2 0.4 Not Met
1 0.25 Not Met
2 0.4 Not Met
2 0.4 Not Met
2 0.4 Not Met
2 0.4 Not Met
1 0.25 Not Met
2 0.667 Met
2 0.5 Met
2 0.4 Not Met
2 0.4 Not Met
78
72
70
70
55
49
46
38
33
19
Questions
Sr No Question
1 Which is the most prefered Location?
2 Which is the second most prefered Location?
3 Which is the third most prefered Location?
4 Which two Locations are least preferred?
5 Which Location is selected maximum no of times as first preference?
6 Which Employee had their maximum Preference met?
7 Which Employee had their least Preference met?
8 What % of employees had their preferences met?
9 Which function can you use to extract second smallest value from an array?
10 Which function can you use to count text in an array based on multiple criteria?
Answer
Bandra
Chembur
Andheri East & Ghatkopar
Vashi & Powai
Ghatkopar
5
3
25
small
countifs

You might also like