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

P15E1387

The document outlines the instructions and requirements for the End Term Exam in Business Computing for 2024, which consists of four questions to be answered in an Excel file. Students must use specific Excel functions to complete reports on customer data and property portfolios, providing explanations for their formulas and assumptions. The exam is closed book and closed internet, with strict penalties for plagiarism and only the work in the provided Excel file being evaluated.

Uploaded by

pgp15hetavis
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)
7 views22 pages

P15E1387

The document outlines the instructions and requirements for the End Term Exam in Business Computing for 2024, which consists of four questions to be answered in an Excel file. Students must use specific Excel functions to complete reports on customer data and property portfolios, providing explanations for their formulas and assumptions. The exam is closed book and closed internet, with strict penalties for plagiarism and only the work in the provided Excel file being evaluated.

Uploaded by

pgp15hetavis
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

End Term Exam-2024

Business Computing - Term I


Time - 120 Minutes Marks - 30
(Closed Book, Closed Internet, Open Laptop)

Unique Examination Code: P15E1387

Instructions
1. This is a closed book, closed internet and open laptop exam.
2. For all questions please write down the Excel formula and output of the question in the box provided in every que
3. Please write your Unique Examination Code at the appropriate place.
4. The question paper carries 4 questions. Please use only the space provided to answer.
5. All questions are to be answered in this Excel file only. No other file will be evaluated.
6. Any instance of copying or plagiarism, if found, will be highly penalized
7. You need to provide the explanation for every question. The explanation consists of description about all the ste
taking any function/set of fuctions, and overall approach for anwering any question.
8. No clarifications shall be answered during the exam. If you make any assumption, clearly state that assumption.
9. This excel file needs to be submitted after the exam. The work done in this excel file will only be evaluated.
Marks - 30

he box provided in every question. Only answers provided in the box shall be evaluated.

d.

description about all the steps, all the functions, sequence of fucntions, reason for
n.
early state that assumption.
will only be evaluated.
INSTRUCTIONS:

1) In cell I17, use Excel functions to display the name of company and country name of the
corresponding customers in cell H17. Drag the same formula to complete the Report 1.
(Note: Only one fuction has to written for one scenario)

2) For Report 2, if the Customer ID exists then column I (Exists?) should display "YES".

Table 1
Employee Customer ID Company Country
Amameth Parera 40713 Srilankan Airlines Srilanka
Yang Jun Jie 43144 Alibaba Group Australia
Achala Bandara 43370 Pearson Srilanka
Chen Gang 48831 Sinochem Australia
Aynoor Khan 46119 Coco Cola Nepal
Ali Ahmed 45194 IBM Nepal
Diljahan Bukhari 43287 Amazon Nepal
Aqsaa Dhanial 42699 Pizza Hut. Nepal
Asanka de Silva 48236 Hayleys Srilanka
Longwei Wu 46754 Baowu Australia
Zhou Min 48722 Sinopec Australia
Chen Wei 47669 Sinopec Australia
Chen Fang Li 49419 Tancent Australia
Zhang Wang 40267 Alibaba Group Australia
Chen Li 49943 Hengli Group Australia
Taslima Khatun 42326 Walton Bangladesh
Mousiq Khan 43454 Beximco Group Bangladesh
Chan Juan 45910 Sinopec Australia
Ganesh Kumar 45046 Flipkart USA
Jameel Ansari 40556 Hero Motocorp USA
Maya 44706 Tata Motors USA
Rajesh Karmakar 48083 Tiger Analytics USA
Nandini Bhattacha 40793 Delloite USA
Saurav Paul 47364 Parle Agro USA
Srishti Sutradhar 48982 NESTLE USA USA
Anjali Mehta 45093 UNIQLO USA USA
Suraj Kulkarni 49791 Dream 11 USA
K. Mahesh Rao 44956 Bosch USA
Fatima Khanan 47631 Unilever Bangladesh
Report 1 July Customers
[8 Marks]
3 4
Scenario 1: Use VLOOKUP with other excel function
Customer Name Company Country
Diljahan Bukhari Amazon Nepal
Chen Fang Li Tancent Australia
Asanka de Silva Hayleys Srilanka
Achala Bandara Pearson Srilanka

Scenario 2: Use OFFSET with other excel function


Customer Name Company Country
Diljahan Bukhari Amazon Nepal
Chen Fang Li Tancent Australia
Asanka de Silva Hayleys Srilanka
Achala Bandara Pearson Srilanka

Report 2 Are these customers included in master data?

Customer ID Exists?
4093 No
4761 No
4073 No
4985 No
4594 No
4836 No
EXPLANATION:
=VLOOKUP(H17,$B$14:$E$42,3,FALSE)
H17: This is the lookup value. The formula will search for the value in cell H17 within the first
column (B14:E42) of the specified range.
$B$14:$E$42: This is the table array where the formula searches for the lookup value. The range
includes columns B to E, starting from row 14 to 42.
3: This indicates the column index from which to return the result. Since ,$B$14:$E$42, includes
four columns (B, C, D, E), the number 3 refers to column D.
FALSE: This specifies that the function will look for an exact match.
=OFFSET($B$13,MATCH(H24,$B$14:$B$42,0),MATCH(I$23,$C$13:$E$13,0))
OFFSET(B13,): The OFFSET function returns a cell reference that is a certain number of rows and
columns away from a starting cell—in this case, B13.
MATCH(H24,$B$14:$B$42,0): This finds the row number where the value in H24 appears within the
range ,$B$14:$B$42,0) . The MATCH function returns the relative position of H24 in this range.
The same function has been repeated after including "0" that reflects the exact value.
=IF(COUNTIF($C$14:$C$42,H35),"Yes","No")
COUNTIF($C$14:$C$42,H35): This counts the number of times the value in cell H35 appears in the
range $C$14:$C$42
"Yes", "No": If the count is greater than zero, the formula returns "Yes"; otherwise, it returns "No".
Property Portfolio

No No Reception Garden Date on


PostCode Type Location
Bedrooms Bathrooms Rooms Size Market
SK13 7AZ Detatched Town 4 2 3 Medium 11/26/2017
SK22 9GT Semi-detatched Village 3 1 2 Small 7/18/2017
SK13 6DD Terraced Countryside 2 1 2 Small 10/24/2017
SK14 8DS Detatched Town 4 2 2 Large 10/18/2018
SK13 7CW Semi-detatched Town 3 1 2 Medium 11/29/2017
SK22 3YT Detatched Remote 4 2 3 Large 10/13/2017
SK13 4DF Terraced Town 2 1 2 Small 9/5/2017
SK14 7AD Semi-detatched Town 3 2 2 Medium 10/29/2017
SK13 2AA Semi-detatched Village 3 1 2 Large 8/11/2017
SK13 5YY Terraced Town 3 2 1 Small 10/30/2017
SK14 9FT Bungalow Countryside 2 2 2 Medium 11/16/2017
SK23 4RF Flat Town 1 1 1 None 11/15/2017
SK13 1GG Terraced Town 3 1 2 Small 1/5/2018
SK13 6YH Bungalow Countryside 3 2 2 Large 9/15/2017
SK13 6YH Bungalow Countryside 3 2 2 Large 9/15/2017
SK13 6YH Bungalow Countryside 3 2 2 Large 9/15/2017
SK13 6YH Bungalow Town 2 2 2 Medium 9/11/2017
SK22 8BN Flat Town 2 1 1 None 10/3/2017
SK14 7JJ Semi-detatched Countryside 3 2 2 Medium 12/21/2017
SK22 3LP Bungalow Remote 3 2 2 Large 10/15/2017
SK13 4DT Detatched Countryside 5 2 3 Large 8/9/2017
SK13 9SS Detatched Town 4 3 2 Medium 11/14/2017
SK14 6HN Semi-detatched Town 3 1 2 Medium 8/6/2017
SK14 6HN Semi-detatched Remote 2 2 1 small 1/4/2018
SK23 3KM Terraced Remote 2 1 1 Small 9/2/2017
SK13 6YH Bungalow Countryside 3 2 2 Large 9/15/2017
SK23 5WW Bungalow Countryside 3 2 2 Large 10/17/2017
SK13 8FS Terraced Countryside 2 1 1 Small 8/23/2017
SK13 4RL Semi-detatched Town 3 2 2 Medium 1/11/2018
SK14 7YT Detatched Remote 4 2 2 Medium 10/31/2017
SK13 5EE Semi-detatched Countryside 3 2 1 Medium 9/11/2017
SK23 4VS Detatched Town 4 1 2 Large 9/5/2017
SK16 8NV Terraced Town 2 1 1 Small 8/2/2017
SK14 3DD Semi-detatched Town 3 2 2 Medium 8/6/2017
SK13 4DE Terraced Town 2 1 1 Small 7/3/2017
SK13 6LK Detatched Countryside 4 2 2 Large 8/24/2017
SK13 9PF Semi-detatched Countryside 3 2 2 Medium 7/19/2017
SK14 8BM Detatched Remote 3 2 2 Large 8/23/2017
SK14 6DH Semi-detatched Countryside 3 2 2 Medium 11/16/2017
SK13 3SS Terraced Town 2 1 1 Small 10/3/2017
SK13 6YH Bungalow Countryside 3 2 2 Large 9/15/2017
SK13 4AK Bungalow Countryside 3 2 2 Large 8/15/2017
SK13 4XC Semi-detatched Countryside 3 2 2 Medium 7/11/2017
SK14 6RL Detatched Remote 4 2 2 Medium 8/3/2017
SK13 7PJ Semi-detatched Countryside 3 2 2 Medium 9/26/2017
SK13 6FD Semi-detatched Town 4 2 1 Medium 8/5/2017
SK14 3FD Detatched Town 3 1 2 Small 7/14/2017
SK13 2WD Detatched Town 3 2 2 Medium 6/24/2017
SK22 1XV Terraced Countryside 2 1 1 Small 10/15/2017
SK13 5LS Semi-detatched Town 3 2 2 Medium 7/4/2017
SK13 6YH Bungalow Countryside 3 2 2 Large 9/15/2017
SK13 6HH Semi-detatched Countryside 2 2 2 Medium 9/1/2017
SK14 8GP Bungalow Remote 3 2 2 Large 10/12/2017
SK15 6YW Detatched Countryside 4 2 2 Large 10/30/2017
SK13 4DD Semi-detatched Town 3 2 1 Medium 6/6/2017
SK13 4RF Bungalow Town 2 1 1 Small 2/1/2018
[6 marks]

Asking
Date Sold Sale Price Create a pivot table of the property portfolio to answer follwing ques
Price
sheet):
£345,000 1) How many Semi-detached type properties are there with
2/1/2018 £245,000 £238,500 2) Find out the location of property mentioned in question
12/19/2017 £199,000 £199,000 3) What is average Sale price of property in Postcode SK1
1/23/2018 £398,000 £387,500 4) How many properties are there in Countryside with 2 or
12/19/2018 £329,000 £319,500 5) How many properies with 1 or 2 Bedroom were placed
£478,500
1/16/2017 £213,000 £199,500
2/18/2018 £278,500 £277,000
£278,500 Explanation
1/29/2018 £176,500 £174,300 For question 2, we construct a pivot table for each scenario required.
1/13/2018 £223,750 £219,750 First, we create a pivot table with 'Type' as the column and 'Garden Size
'Location' in the row section to specify the exact location ("countryside
£135,000 Next, we build another pivot table, this time setting the average of 'Sale
1/19/2018 £165,900 £168,000 required information, resulting in an average sale price of £276,500.
12/28/2017 £415,500 £419,500 For part 4, we construct a pivot table with 'Number of Bedrooms' as th
12/28/2017 £415,500 £419,500 the postcodes, giving us a total of 22 properties that meet the conditio
Finally, we create a pivot table with 'Number of Bedrooms' in the colum
12/28/2017 £415,500 £419,500 "between" filter. This gives us the number of properties
£199,500
1/19/2018 £175,500 £169,500
2/15/2018 £319,750 £315,750
£289,500
£525,750
2/25/2018 £495,000 £495,000
1/15/2018 £369,500 £362,500 Part 1 + Part 2 No Bedrooms 2
£176,500 No Bathrooms 2
£142,500
12/28/2017 £415,500 £419,500 Count of Type
2/13/2018 £314,250 £309,750 Garden Size Location
£178,500 Medium
2/25/2018 £305,000 £302,750 Countryside
2/15/2018 £435,000 £429,500 Total Result
2/15/2018 £385,000 £375,500
10/17/2017 £405,000 £405,000 Part 3 PostCode Average of Sale Price
11/30/2017 £159,000 £158,500 SK14 3DD 276500
12/11/2017 £278,000 £276,500 Total Result 276500
2/25/2018 £178,600 £175,500
1/17/2018 £435,000 £431,750 Part 4 Count of PostCode No Bedrooms
12/11/2017 £345,500 £342,500 Location 2
12/19/2017 £418,500 £422,500 Countryside 5
£375,500 Total Result 5
£169,500
12/28/2017 £415,500 £419,500
1/27/2018 £298,500 £298,500
1/22/2018 £331,750 £330,500
12/11/2017 £385,500 £383,500
2/3/2018 £322,500 £319,500
11/16/2017 £365,500 £365,500
£312,750
1/4/2018 £309,500 £304,500
2/5/2018 £204,500 £203,900
£225,500
12/28/2017 £415,500 £419,500
10/5/2017 £209,500 £209,500
1/15/2018 £272,500 £271,500
2/25/2018 £389,500 £395,000
1/23/2018 £348,500 £349,500
3/15/2018 £299,950 £299,950
io to answer follwing questions (You should attach Pivot Table sheet for answering questions in your answer

ype properties are there with 2 bedrooms, a medium garden and 2 bathrooms? 1
perty mentioned in question 1. 0
f property in Postcode SK14 3DD? 276500
ere in Countryside with 2 or more Bedroom? 22
or 2 Bedroom were placed in market from December 2017 to January 2018? 1

or each scenario required.


he column and 'Garden Size' as the row. We then apply filters for properties with 2 bedrooms and 2 bathrooms. Additionally, we include
xact location ("countryside") alongside the values. This setup provides the data needed for parts 1 and 2.
e setting the average of 'Sale Price' as the column and 'Postcode' as the row. We apply a filter for the specific postcode (SK14 3DD) to get th
e sale price of £276,500.
Number of Bedrooms' as the column and 'Location' as the row, filtering for 'countryside' properties. We then populate the values by counti
ties that meet the conditions.
r of Bedrooms' in the column and 'Date on Market' in the row. We filter for properties with only 1 or 2 bedrooms and set a date range usin
f properties

Part 5 Count of Date on Ma


Date on Market
07/03/17
Type 08/02/17
Semi-detatch Total Result 08/23/17
1 1 09/01/17
1 1 09/02/17
1 1 09/05/17
09/11/17
of Sale Price 10/03/17
10/15/17
10/24/17
11/15/17
11/16/17
3 4 5 Total Result 01/04/18
14 2 1 22 02/01/18
14 2 1 22 Total Result
ooms. Additionally, we include

fic postcode (SK14 3DD) to get the


en populate the values by counting

drooms and set a date range using the

No Bedrooms
1 2 Total Result
1 1
1 1
1 1
1 1
1 1
1 1
1 1
2 2
1 1
1 1
1 1
1 1
1 1
1 1
1 14 15
This shape represents a
slicer. Slicers are
Count of Type No BedroomsNo Bathrooms Garden Size
supported in Excel
3 3 Result Total Result2010 or later.
2 2 Result
Location Type Large If the shape was
Countryside 8 8 8 modified
8 in an earlier
Bungalow 8 8 8 version
8 of Excel, or if
the workbook was
Remote 2 2 2 2
saved in Excel 2003 or
Bungalow 2 2 2 2
earlier, the slicer cannot
Total Result 10 10 10 10
be used.
This shape represents a
slicer. Slicers are
supported in Excel 2010
or later.
PostCode Average of Sale Price
SK13 4DE 175500 If the shape was
Total Result 175500 modified in an earlier
version of Excel, or if
the workbook was saved
in Excel 2003 or earlier,
the slicer cannot be used.

Count of Type No Bedrooms This shape represents a


Location 4 Total Result slicer. Slicers are
Countryside 2 2 supported in Excel 2010
Total Result 2 2 or later.

If the shape was modified


in an earlier version of
Excel, or if the workbook
was saved in Excel 2003
or earlier, the slicer cannot
be used.

Count of Type No Bedrooms This shape represents a slicer.


Date on Market2 Total Result Slicers are supported in Excel
07/03/17 1 1 2010 or later.
08/02/17 1 1
08/23/17 1 1 If the shape was modified in
an earlier version of Excel, or
09/01/17 1 1
if the workbook was saved in
09/02/17 1 1 Excel 2003 or earlier, the
09/05/17 1 1 slicer cannot be used.
09/11/17 1 1
10/03/17 2 2
10/15/17 1 1
10/24/17 1 1
11/16/17 1 1
01/04/18 1 1
02/01/18 1 1
Total Result 14 14
pe represents a This shape represents a This shape represents a This shape represents a
icers are slicer. Slicers are slicer. Slicers are slicer. Slicers are
d in Excel supported in Excel 2010 supported in Excel 2010 supported in Excel
later. or later. or later. 2010 or later.

ape was If the shape was If the shape was If the shape was
d in an earlier modified in an earlier modified in an earlier modified in an earlier
of Excel, or if version of Excel, or if version of Excel, or if version of Excel, or if
book was the workbook was the workbook was saved the workbook was
Excel 2003 or saved in Excel 2003 or in Excel 2003 or earlier, saved in Excel 2003 or
he slicer cannot earlier, the slicer cannot the slicer cannot be used. earlier, the slicer
be used. cannot be used.
e represents a
cers are
d in Excel 2010

pe was
in an earlier
f Excel, or if
book was saved
2003 or earlier,
cannot be used.

e represents a This shape represents a


ers are slicer. Slicers are supported
in Excel 2010 in Excel 2010 or later.

If the shape was modified in


pe was modified an earlier version of Excel,
er version of or if the workbook was
f the workbook saved in Excel 2003 or
in Excel 2003 earlier, the slicer cannot be
the slicer cannot used.

ents a slicer. This shape represents a slicer.


rted in Excel Slicers are supported in Excel
2010 or later.

modified in If the shape was modified in


of Excel, or an earlier version of Excel, or
was saved in if the workbook was saved in
lier, the Excel 2003 or earlier, the
sed. slicer cannot be used.
slicer cannot be used.
Table 1
Column1 Actual Predicted INSTRUCTION
Animals Dog Dog
You have been assigned to evaluate the qual
Animals Dog Cat
algorithm which classifies images.
Animals Dog Dog The data for the prediction is given. The actu
Animals Cat Cat category is listed in Table 1. Complete the fol
Animals Dog Dog funtions.
Animals Cat Dog You can not use Pivot Table.
Animals Dog Dog
Animals Dog Dog
Animals Cat Cat Predicted
Animals Cat Cat Animal Cat
Animals Dog Dog Cat 12
Actual
Animals Dog Cat Dog 4
Animals Dog Dog Total 16
Animals Cat Cat
Animals Dog Dog Predicted
Animals Cat Dog Fruits Tomato
Animals Dog Dog Tomato 16
Actual
Animals Dog Dog Potato 8
Animals Cat Cat Total 24
Animals Cat Cat
Animals Dog Dog
Animals Dog Cat EXPLA
Animals Dog Dog
Animals Cat Cat For question 3, we use the COUNTIFS() function
the specified conditions in the function. For ins
Animals Dog Dog predicted value is also 'Cat', we input the table
Animals Cat Dog table column for "Predicted" followed by 'Cat' t
Animals Dog Dog satisfy this condition.
Animals Dog Dog In a similar manner, we calculate the counts for
Animals Cat Cat function to obtain the total count.
Animals Cat Cat
Animals Dog Dog Finally, we use cell references to input the value
Animals Dog Cat by the grand total to calculate the percentage.
Animals Dog Dog
Animals Cat Cat
Animals Dog Dog
Animals Cat Dog
Animals Dog Dog
Animals Dog Dog
Animals Cat Cat
Animals Cat Cat
Furits Tomato Tomato
Furits Potato Potato
Furits Tomato Tomato
Furits Potato Potato
Furits Tomato Potato
Furits Potato Tomato
Furits Tomato Potato
Furits Potato Potato
Furits Potato Potato
Furits Tomato Tomato
Furits Potato Tomato
Furits Tomato Tomato
Furits Tomato Tomato
Furits Potato Potato
Furits Tomato Tomato
Furits Potato Potato
Furits Tomato Potato
Furits Potato Tomato
Furits Tomato Potato
Furits Potato Potato
Furits Potato Potato
Furits Tomato Tomato
Furits Potato Tomato
Furits Tomato Tomato
Furits Tomato Tomato
Furits Potato Potato
Furits Tomato Tomato
Furits Potato Potato
Furits Tomato Potato
Furits Potato Tomato
Furits Tomato Potato
Furits Potato Potato
Furits Potato Potato
Furits Tomato Tomato
Furits Potato Tomato
Furits Tomato Tomato
Furits Tomato Tomato
Furits Potato Potato
Furits Tomato Tomato
Furits Potato Potato
Furits Tomato Potato
Furits Potato Tomato
Furits Tomato Potato
Furits Potato Potato
Furits Potato Potato
Furits Tomato Tomato
Furits Potato Tomato
Furits Tomato Tomato
INSTRUCTIONS:
o evaluate the quality of pediction for a machine
s images.
on is given. The actul image status and the predicted
1. Complete the following tables using excel
ble.

Predicted Total
Dog Correct Predictions
4 16 Animal 80.00%
20 24 Fruits 66.67%
24 40
6 Marks
Predicted Total
Potato
8 24
16 24
24 48

EXPLANATION:

the COUNTIFS() function to count the number of data points that meet
ns in the function. For instance, if the actual value is 'Cat' and the
'Cat', we input the table column for "Actual" followed by 'Cat', then the
icted" followed by 'Cat' to calculate the total number of data points that

e calculate the counts for the remaining cells, and then use the SUM()
total count.
erences to input the values into the percentage table, dividing each value
alculate the percentage.
[8 Marks]

Incorrect Predictions
20.00% 2 Marks
33.33%
Product Key Product ID (v1) Product ID (v2) Product Category
133462-AA-BOS_SMALL 133462 133462 AA
191768-AC-NYC_MEDIUM 191768 191768 AC
157263-BB-BOS_XL 157263 157263 BB
1734372-AA-CHI_SMALL 173437 1734372 AA
135351-BC-NYC_XL 135351 135351 BC
14330305-AC-BOS_LARGE 143303 14330305 AC
177772-BB-NYC_MEDIUM 177772 177772 BB
87192837-AB-CHI_XL 871928 87192837 AB
161266-BB-CHI_SMALL 161266 161266 BB
122892-AA-NYC_MEDIUM 122892 122892 AA
128919-AC-CHI_XL 128919 128919 AC
191999-BB-BOS_LARGE 191999 191999 BB
117091126-BC-NYC_LARGE 117091 117091126 BC
112283-AB-BOS_MEDIUM 112283 112283 AB

[8 Marks]

Explanation

For the first column, we use the LEFT() function to extract a portion of the string "Product Key" from the left, specifying the nu
column, we use the LEFT() function in combination with the FIND() function to locate the position of the "-" in the string. Onc
"-" to obtain the full Product ID.

In the third column, we extract the Product Category using the MID() function. This function allows us to cut the string from t
point, which is the position immediately after the first "-". We achieve this by using FIND("-",string) to identify the "-" and the
number of characters to extract (in this case, 2).

For the fourth column, we use a combination of IF(), ISNUMBER(), and FIND() functions, as instructed. The IF() function check
particular string (e.g., "SMALL"). If FIND() returns a number, we input the corresponding Product Size; if not, we proceed to th

An alternative method is to use the RIGHT() function to extract characters from the right side of the string by specifying the n
LEN(string) - FIND("_", string) to obtain the portion of the string after the "_".

For the final part, we first substitute the second "-" in the string with "@" to differentiate between the two "-". Then, we use
required data. Adding 1 to this number moves the cursor forward by one step, allowing us to extract the city name from the s
Product Size (v1) Product Size (v2) New Key City
SMALL SMALL 133462-AA@BOS_SMALL BOS
MEDIUM MEDIUM 191768-AC@NYC_MEDIUM NYC Note: Product Key is des
XL XL 157263-BB@BOS_XL BOS 1) Using some excel function, po
SMALL SMALL 1734372-AA@CHI_SMALL CHI characters of the Product Key in
XL XL 135351-BC@NYC_XL NYC 2) Turns out that some product I
LARGE LARGE 14330305-AC@BOS_LARGE BOS Product ID formula for getting AL
MEDIUM MEDIUM 177772-BB@NYC_MEDIUM NYC
3) Populate the Product Categor
XL XL 87192837-AB@CHI_XL CHI following the first "-" in the Prod
SMALL SMALL 161266-BB@CHI_SMALL CHI
MEDIUM MEDIUM 122892-AA@NYC_MEDIUM NYC 4) Populate Product Size using IF
XL XL 128919-AC@CHI_XL CHI If Key includes "SMALL", Size = SM
LARGE LARGE 191999-BB@BOS_LARGE BOS If Key includes "MEDIUM", Size =
LARGE LARGE 117091126-BC@NYC_LARGE NYC If Key includes "LARGE", Size = LA
MEDIUM MEDIUM 112283-AB@BOS_MEDIUM BOS If Key includes "XL", Size = XL
Note: ISNUMBER returns TRUE i

5) Instead of using IF, ISNUMBER


find the size of the product by pu
the underscore ("_")
xplanation
6) How can we extract the city na
Key" from the left, specifying the number of characters we need, which is 6. For the second column New Key. Then, write a f
position of the "-" in the string. Once the location is identified, we extract the string up to the first

on allows us to cut the string from the middle to retrieve the required data. We input the start
"-",string) to identify the "-" and then add 1 to move to the next character. Then, we specify the

s instructed. The IF() function checks whether FIND() returns a number when searching for a
roduct Size; if not, we proceed to the next IF() condition.

ide of the string by specifying the number of characters needed. We calculate this by using

between the two "-". Then, we use the MID() function along with FIND("@",string) to locate the
to extract the city name from the string.
INSTRUCTIONS:
Note: Product Key is designed as: Product ID-Product Category-City_Product Size
Using some excel function, populate the Product ID (v1) column, equal to the first six
racters of the Product Key in column A

Turns out that some product IDs may be longer than 6 characters. In column C, update the
duct ID formula for getting ALL characters to the left of the first "-"

Populate the Product Category column in column D, to return the two characters immediately
owing the first "-" in the Product Key
Populate Product Size using IF, ISNUMBER, and Find functions, based on the logic below:

ey includes "SMALL", Size = SMALL


ey includes "MEDIUM", Size = MEDIUM
ey includes "LARGE", Size = LARGE
ey includes "XL", Size = XL
te: ISNUMBER returns TRUE if the value is a number, else it returns FALSE

nstead of using IF, ISNUMBER, and FIND functions, write some other formula in column F to
d the size of the product by pulling all characters from the right of the Product Key following
underscore ("_")

How can we extract the city name ("BOS", "NYC" or "CHI"). You can use an intermediate
umn New Key. Then, write a function in column H to return city name.

You might also like