Excel Assessment

You might also like

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

Instructions

1. There are 5 tasks in total for the Excel assessment.


2. Each task holds different weightage.
3. For Task_1 and Task_2, please refer to the "Datasheet" tab.
4. Please provide explanation to your solution wherever you're prompted to do so.

Allocation of marks by task


Task Marks
Task_1 25
Task_2 30
Task_3 10
Task_4 20
Task_5 40
Total 125
name ID start_day start_time end_day end_time car1
Warrendale 20000 Monday 00:00:00 Sunday 23:59:59 2.7
Butler Valley 20002 Monday 00:00:00 Sunday 23:59:59 2.7
Allegheny Valley 20004 Monday 00:00:00 Sunday 23:59:59 3.6
Pittsburgh 20006 Monday 00:00:00 Sunday 23:59:59 4.9
Irwin 20008 Monday 00:00:00 Sunday 23:59:59 6.6
New Stanton 20010 Monday 00:00:00 Sunday 23:59:59 7.1
Donegal 20012 Monday 00:00:00 Sunday 23:59:59 9.4
Somerset 20014 Monday 00:00:00 Sunday 23:59:59 11.6
Bedford 20016 Monday 00:00:00 Sunday 02:24:00 16.1
Breezewood 20018 Monday 00:00:00 Sunday 23:59:59 18.4
Fort Littleton 20020 Monday 00:00:00 Sunday 23:59:59 0
Willow Hill 20022 Monday 00:00:00 Sunday 23:59:59 21.9
Blue Mountain 20024 Monday 00:00:00 Sunday 23:59:59 23.5
Carlisle 20026 Monday 00:00:00 Sunday 23:59:59 26.8
Gettysburg Pike 20028 Monday 00:00:00 Sunday 23:59:59 28
Harrisburg West 20030 Monday 00:00:00 Sunday 23:59:59 28.5
Harrisburg East 20032 Monday 00:00:00 Sunday 23:59:59 29.1
Lebanon-Lancaster 20034 Monday 00:00:00 Sunday 23:59:59 30.7
Reading 20036 Monday 00:00:00 Sunday 23:59:59 33.8
Morgantown 20038 Monday 00:00:00 Sunday 23:59:59 34.7
Downingtown 20040 Monday 00:00:00 Sunday 23:59:59 36.5
S.R. 29 20042 Monday 00:00:00 Sunday 23:59:59 38
Valley Forge 20044 Monday 00:00:00 Sunday 23:59:59 38.7
Norristown 20046 Monday 00:00:00 Sunday 23:59:59 40.1
Fort Washington 20048 Monday 00:00:00 Sunday 23:59:59 0
Virginia Drive 20050 Monday 00:00:00 Sunday 23:59:59 41.3
Willow Grove 20052 Monday 00:00:00 Sunday 23:59:59 42.3
Bensalem 20054 Monday 00:00:00 Sunday 23:59:59 43.3
St. Rd 20058 Monday 00:00:00 Sunday 23:59:59 -1
Neshaminy Falls 20060 Monday 00:00:00 Sunday 23:59:59 45
Mid-County 21000 Monday 00:00:00 Sunday 23:59:59 -1
Lansdale 21002 Monday 00:00:00 Sunday 23:59:59 41.5
Quakertown 21004 Monday 00:00:00 Sunday 23:59:59 43.3
Lehigh Valley 21006 Monday 00:00:00 Sunday 23:59:59 44.5
Mahoning Valley 21008 Monday 00:00:00 Sunday 23:59:59 47.3
S.R. 903 21010 Monday 00:00:00 Sunday 23:59:59 48.3
Pocono 21012 Monday 00:00:00 Sunday 23:59:59 49.1
Wilkes-Barre 21014 Monday 00:00:00 Sunday 23:59:59 50.6
Wyoming Valley 21016 Monday 00:00:00 Sunday 23:59:59 51.8
Sum
car2 car3 moto1 moto2 moto3 bus1 bus2
3.6 4.2 -1 -1 -1 5.3 7.6
3.6 4.2 -1 -1 -1 5.3 7.6
5.4 5.8 -1 -1 -1 7.6 11.1
6.6 8.1 -1 -1 -1 10 13.3
8.8 11 -1 -1 -1 13.3 18
10.4 12.8 -1 -1 -1 14.4 21.5
13.8 16.1 -1 -1 -1 19.2 28.3
17.3 21.3 -1 -1 -1 23.6 35.2
24.1 29.1 -1 -1 -1 32.8 49
27.5 33.8 -1 -1 -1 37.2 55.6
0 0 0 0 0 0 0
32.1 40.1 -1 -1 -1 42.3 61.5
34.7 42.7 -1 -1 -1 47.7 70.8
39.3 47.9 -1 -1 -1 54.6 79.6
41 50.1 -1 -1 -1 56.7 83.2
42.3 52.3 -1 -1 -1 58.3 85.4
43.3 53.7 -1 -1 -1 59 87.6
45.5 57 -1 -1 -1 62.5 92.1
50.1 61.4 -1 -1 -1 67.9 101.3
52.3 63.6 -1 -1 -1 70.8 106.1
54.6 65.9 -1 -1 -1 73.9 110.3
57.2 68.7 -1 -1 -1 76.6 115.5
59.2 70.4 -1 -1 -1 78.6 119.4
59.2 72.8 -1 -1 -1 80.8 119.4
0 0 0 0 0 0 0
61.4 75 -1 -1 -1 83.5 124.4
61.4 75 -1 -1 -1 85.4 124.4
63.6 77.2 -1 -1 -1 87.6 128.6
-1 -1 -1 -1 -1 -1 -1
65.9 79.4 -1 -1 -1 90.9 133.4
-1 -1 -1 -1 -1 -1 -1
61.4 75 -1 -1 -1 84.6 124.4
63.6 79.4 -1 -1 -1 87.6 128.6
65.9 81.8 -1 -1 -1 89.9 133.4
70.4 86.4 -1 -1 -1 95.6 142.5
72 89 -1 -1 -1 97.9 145.5
72.8 90.9 -1 -1 -1 99.5 146.8
75 93.1 -1 -1 -1 102.6 151.5
77.2 93.1 -1 -1 -1 104.5 156.4
1473
bus3 rv1 rv2 rv3 truck1 truck2
8.9 2.7 3.6 4.2 7.6 8.9
8.9 2.7 3.6 4.2 7.6 8.9
12.2 3.6 5.4 5.8 11.1 12.2
17 4.9 6.6 8.1 13.3 17
22.5 6.6 8.8 11 18 22.5
26.1 7.1 10.4 12.8 21.5 26.1
32.8 9.4 13.8 16.1 28.3 32.8
43 11.6 17.3 21.3 35.2 43
59 16.1 24.1 29.1 49 59
67.9 18.4 27.5 33.8 55.6 67.9
0 0 0 0 0 0
76.6 21.9 32.1 40.1 61.5 76.6
86.6 23.5 34.7 42.7 70.8 86.6
96.8 26.8 39.3 47.9 79.6 96.8
101.3 28 41 50.1 83.2 101.3
106.1 28.5 42.3 52.3 85.4 106.1
108.8 29.1 43.3 53.7 87.6 108.8
115.1 30.7 45.5 57 92.1 115.1
124.4 33.8 50.1 61.4 101.3 124.4
128.6 34.7 52.3 63.6 106.1 128.6
133.4 36.5 54.6 65.9 110.3 133.4
138.8 38 57.2 68.7 115.5 138.8
142.5 38.7 59.2 70.4 119.4 142.5
146.8 40.1 59.2 72.8 119.4 146.8
0 0 0 0 0 0
151.5 41.3 61.4 75 124.4 151.5
151.5 42.3 61.4 75 124.4 151.5
156.4 43.3 63.6 77.2 128.6 156.4
-1 -1 -1 -1 -1 -1
160.9 45 65.9 79.4 133.4 160.9
-1 -1 -1 -1 -1 -1
151.5 41.5 61.4 75 124.4 151.5
160.9 43.3 63.6 79.4 128.6 160.9
165.3 44.5 65.9 81.8 133.4 165.3
174.2 47.3 70.4 86.4 142.5 174.2
179.8 48.3 72 89 145.5 179.8
183.5 49.1 72.8 90.9 146.8 183.5
188.1 50.6 75 93.1 151.5 188.1
188.1 51.8 77.2 93.1 156.4 188.1
taxi1 taxi2 taxi3 date
3.6 4.2 4.2 2023-05-05
3.6 4.2 4.2 2023-05-02
5.4 5.8 5.8 2023-05-09
6.6 8.1 8.1 2023-05-13
8.8 11 11 2023-05-30
10.4 12.8 12.8 2023-05-11
13.8 16.1 2023-05-06
17.3 21.3 21.3 2023-06-21
24.1 29.1 29.1 2023-06-15
27.5 33.8 33.8 2023-06-27
0 0 0 2023-07-09
32.1 40.1 40.1 2023-07-03
34.7 42.7 42.7 2023-06-18
39.3 47.9 47.9 2023-07-06
41 50.1 50.1 2023-05-17
42.3 52.3 52.3 2023-05-25
43.3 53.7 53.7 2023-06-08
45.5 57 57 2023-06-22
50.1 61.4 61.4 2023-06-14
52.3 63.6 63.6 2023-06-02
54.6 65.9 65.9 2023-05-29
57.2 68.7 68.7 2023-07-03
59.2 70.4 70.4 2023-07-07
59.2 72.8 72.8 2023-07-11
0 0 0 2023-08-04
61.4 75 75 2023-08-08
61.4 75 75 2023-07-01
63.6 77.2 77.2 2023-08-15
-1 -1 -1 2023-08-12
65.9 79.4 79.4 2023-08-19
-1 -1 -1 2023-08-05
61.4 75 75 2023-08-28
63.6 79.4 79.4 2023-08-24
65.9 81.8 81.8 2023-08-22
70.4 86.4 86.4 2023-09-10
72 89 89 2023-08-19
72.8 90.9 90.9 2023-08-05
75 93.1 93.1 2023-08-28
77.2 93.1 93.1 2023-08-24
Task_ID Task_Description Description
Please carry out the following tasks within the "Dataset" tab.
1 Highlight all '-1' values in red colour and all '0' values in green. Red, Green
2 Freeze the top row
3 Give the sum of all values greater than '20' in column H labelled 'car2' SUMIF(H2:H40, ">20")
4 Format the dates given in column X labelled 'dates' in format: 'YYYY-MM-DD'
Mark assigned

Done 5
Done 5
Done 10
Done 5
Task_2 1. Using relevant Excel formulas, fill up the corresponding empty cells in
2. Calculate minimum, maximum and average values for each column at

Table_A
name car1 bus2 rv3 truck2 taxi2
Warrendale 2.7 7.6 4.2 8.9 4.2
Butler Valley 2.7 7.6 4.2 8.9 4.2
Allegheny Valley 3.6 11.1 5.8 12.2 5.8
Pittsburgh 4.9 13.3 8.1 17 8.1
Donegal 9.4 28.3 16.1 32.8 16.1
Somerset 11.6 35.2 21.3 43 21.3
Breezewood 18.4 55.6 33.8 67.9 33.8
Fort Littleton 0 0 0 0 0
Willow Hill 21.9 61.5 40.1 76.6 40.1
Carlisle 26.8 79.6 47.9 96.8 47.9
Harrisburg West 28.5 85.4 52.3 106.1 52.3
Lebanon-Lancaster 30.7 92.1 57 115.1 57
Reading 33.8 101.3 61.4 124.4 61.4
Morgantown 34.7 106.1 63.6 128.6 63.6
Fort Washington 0 0 0 0 0
Virginia Drive 41.3 124.4 75 151.5 75
St. Rd -1 -1 -1 -1 -1
Neshaminy Falls 45 133.4 79.4 160.9 79.4
Mid-County -1 -1 -1 -1 -1
Quakertown 43.3 128.6 79.4 160.9 79.4
Pocono 49.1 146.8 90.9 183.5 90.9
Wyoming Valley 51.8 156.4 93.1 188.1 93.1
Minimum -1 -1 -1 -1 -1
Maximum 51.8 156.4 93.1 188.1 93.1
Average 21.2083333333 63.6541666667 38.4875 77.8458333333 38.4875
onding empty cells in Table_A with values from the "Dataset" worksheet.
es for each column at the bottom.
Task_3 Using either Excel formulas or built-in functionality, split

(In the cell below, please write the formula or name of the functionality that you'
Formula/Functionality used: Text-to-Columns
Explanation: 1.Select the column containing the values in Table_A .
2.Go to the "Data" tab in the Excel ribbon.
3.Click on "Text to Columns."
4.In the Text to Columns Wizard, choose "Delimited" and click "Next."
5.Choose the delimiter that separates the values and click "Next."
6.Specify the destination cells where you want to place the split values

This process will split the values in Table_A based on the s

Example_table
value col_1 col_3 col_4 col_5 col_6
20000-Monday-0-Sunday-24 20000 Monday 0 Sunday 24

Table_A
values col_1 col_3 col_4 col_5 col_6
20000-Monday-0-Sunday-24 20000 Monday 0 Sunday 24
20002-Monday-0-Sunday-24 20002 Monday 0 Sunday 24
20004-Monday-0-Sunday-24 20004 Monday 0 Sunday 24
20006-Monday-0-Sunday-24 20006 Monday 0 Sunday 24
20008-Monday-0-Sunday-24 20008 Monday 0 Sunday 24
20010-Monday-0-Sunday-24 20010 Monday 0 Sunday 24
20012-Monday-0-Sunday-24 20012 Monday 0 Sunday 24
20014-Monday-0-Sunday-24 20014 Monday 0 Sunday 24
20016-Monday-0-Sunday-24 20016 Monday 0 Sunday 24
20018-Monday-0-Sunday-24 20018 Monday 0 Sunday 24
20020-Monday-0-Sunday-24 20020 Monday 0 Sunday 24
20022-Monday-0-Sunday-24 20022 Monday 0 Sunday 24
20024-Monday-0-Sunday-24 20024 Monday 0 Sunday 24
20026-Monday-0-Sunday-24 20026 Monday 0 Sunday 24
20028-Monday-0-Sunday-24 20028 Monday 0 Sunday 24
20030-Monday-0-Sunday-24 20030 Monday 0 Sunday 24
20032-Monday-0-Sunday-24 20032 Monday 0 Sunday 24
20034-Monday-0-Sunday-24 20034 Monday 0 Sunday 24
20036-Monday-0-Sunday-24 20036 Monday 0 Sunday 24
20038-Monday-0-Sunday-24 20038 Monday 0 Sunday 24
20040-Monday-0-Sunday-24 20040 Monday 0 Sunday 24
20042-Monday-0-Sunday-24 20042 Monday 0 Sunday 24
20044-Monday-0-Sunday-24 20044 Monday 0 Sunday 24
20046-Monday-0-Sunday-24 20046 Monday 0 Sunday 24
20048-Monday-0-Sunday-24 20048 Monday 0 Sunday 24
20050-Monday-0-Sunday-24 20050 Monday 0 Sunday 24
20052-Monday-0-Sunday-24 20052 Monday 0 Sunday 24
20054-Monday-0-Sunday-24 20054 Monday 0 Sunday 24
20058-Monday-0-Sunday-24 20058 Monday 0 Sunday 24
20060-Monday-0-Sunday-24 20060 Monday 0 Sunday 24
21000-Monday-0-Sunday-24 21000 Monday 0 Sunday 24
21002-Monday-0-Sunday-24 21002 Monday 0 Sunday 24
21004-Monday-0-Sunday-24 21004 Monday 0 Sunday 24
21006-Monday-0-Sunday-24 21006 Monday 0 Sunday 24
21008-Monday-0-Sunday-24 21008 Monday 0 Sunday 24
21010-Monday-0-Sunday-24 21010 Monday 0 Sunday 24
21012-Monday-0-Sunday-24 21012 Monday 0 Sunday 24
21014-Monday-0-Sunday-24 21014 Monday 0 Sunday 24
21016-Monday-0-Sunday-24 21016 Monday 0 Sunday 24
t-in functionality, split the values given in Table_A into distinct cells as given in Example_table.

me of the functionality that you've used to get the required output. Also, explain the process briefly)

elimited" and click "Next."


alues and click "Next."
ant to place the split values and click "Finish."

Table_A based on the specified delimiter, and each part will be placed in separate columns as show
in Example_table.

e columns as shown in the Example_table.


Task_4 Using appropriate formula, calculate the sum of sales in Table_A
All #N/A values must be substituted with the value '20'

(In the cell below, please write the formula or name of the functionality that you've used to ge
Formula/Functionality used: Sum(IF(ISNA(C12:C21),20,C12:C21))
Explanation: 1. ISNA(C12:C21): This part of the formula checks for each cell in the range C12:C21 (whic
2. IF(ISNA(C12:C21), 20, C12:C21): This part uses the array obtained from the ISNA functi
3. SUM(IF(ISNA(C12:C21), 20, C12:C21)): Finally, the SUM function adds up all the values i
Table_A
Date Product Sales
2023-01-01 Laptop 200
2023-01-02 Smartphone #N/A
2023-01-03 Headphones 50
2023-01-04 Blender #N/A
2023-01-05 Sunglasses 10
2023-01-06 Tablet 150
2023-01-07 Camera 80
2023-01-08 Printer #N/A
2023-01-09 Keyboard 30
2023-01-10 Mouse #N/A
Sum 600
m of sales in Table_A using the following condition:

tionality that you've used to get the required output. Also, explain the process briefly)

ell in the range C12:C21 (which contains the sales data) whether it is #N/A or not. It returns an array of TRUE for #N/A cells and FAL
obtained from the ISNA function. If a cell is #N/A (TRUE), it substitutes it with '20'; otherwise, it keeps the original value.
nction adds up all the values in the modified array, giving you the sum of sales with #N/A values substituted by '20'.
E for #N/A cells and FALSE for other cells.
iginal value.
Task_5 Fill the values in column "value" of Table_C using the tables A and
(In the cell below, please write the formula or name of the functionality that you've used to ge
Formula/Functionality used: INDEX(Table_A, MATCH(INDEX(Table_C, ROW(), 1), Table_A, 0), MATCH(INDE
Explanation: 1. INDEX(Table_C, ROW(), 1) retrieves the value in the first column of Table_C for the current row.
2. INDEX(Table_C, ROW(), 2) retrieves the value in the second column of Table_C for the current row
3. MATCH(..., Table_A, 0) is used to find the position of the values obtained in steps 1 and 2 within T
4. The INDEX(Table_A, ..., ...) function is then used to retrieve the corresponding values from Table_A

Table_A
A B C D E F
A -1 95 -1 185 255 305
B 95 -1 -1 90 160 210
C -1 -1 -1 60 130 180
D 185 90 60 -1 70 120
E 255 160 130 70 -1 50
F 305 210 180 120 50 -1
G 415 325 295 235 165 115
H 480 390 355 300 230 180
I 525 430 400 340 270 220

Table_C
name_1 name_2 value
10100 10102 #NAME?
10100 10104 #NAME?
10108 10102 #NAME?
10100 10106 #NAME?
10108 10110 #NAME?
10102 10104 #NAME?
10106 10108 #NAME?
10102 10106 #NAME?
10110 10114 #NAME?
10104 10106 #NAME?
10110 10112 #NAME?
10100 10114 #NAME?
10112 10116 #NAME?
C using the tables A and B.
ctionality that you've used to get the required output. Also, explain the process briefly)
), 1), Table_A, 0), MATCH(INDEX(Table_C, ROW(), 2), Table_A, 0))
mn of Table_C for the current row.
umn of Table_C for the current row.
obtained in steps 1 and 2 within Table_A.
corresponding values from Table_A based on the positions obtained in step 3.

Table_B
G H I ID Name
415 480 525 10100 A
325 390 430 10102 B
295 355 400 10104 C
235 300 340 10106 D
165 230 270 10108 E
115 180 220 10110 F
-1 65 105 10112 G
65 -1 40 10114 H
105 40 -1 10116 I

You might also like