You are on page 1of 5

Student Gender Score Pass/Fail Letter Outlier

Jill F 90 PASS A OUTLIER


Tom M 80 PASS B AVERAGE
Brittany F 96 PASS A OUTLIER
Alan M 72 PASS C AVERAGE
George M 69 PASS D AVERAGE
Sally F 52 FAIL F AVERAGE
Chris M 99 PASS A OUTLIER
Jamie F 82 PASS B AVERAGE
Valorie F 67 PASS D AVERAGE
Steve M 55 FAIL F AVERAGE
Jake M 83 PASS B AVERAGE
Lori F 89 PASS B AVERAGE
Meghan F 60 PASS D AVERAGE
Michelle F 63 PASS D AVERAGE
Tim M 59 FAIL F AVERAGE
Award
NONE INSTRUCTIONS:
NONE 1) Populate column D to return "PASS" if the score in column C is
FEMAL ACHIEVER greater than or equal to 60, otherwise return "FAIL"
NONE
2) Populate column E to return a letter grade based on the score in
NONE column C, using the logic below:
NONE
MALE ACHIEVER A = >=90
B = 80-89
NONE C = 70-79
NONE D = 60-69
NONE F = <60
NONE 3) Populate column F to return "OUTLIER" if the score in column C is
NONE either <60 or >90, otherwise return "AVG"
NONE 4) Populate column G to return "Male Achiever" if Gender = M and
NONE the score in column C is >95, "Female Achiever" if Gender = F and
NONE the score in column C is >95, otherwise "None"
Product Key Product ID (v1) Product ID (v2) Product Category
133462-AA-BOS_SMALL
191768-AC-NYC_MEDIUM
157263-BB-BOS_XL
1734372-AA-CHI_SMALL
135351-BC-NYC_XL
14330305-AC-BOS_LARGE
177772-BB-NYC_MEDIUM
87192837-AB-CHI_XL
161266-BB-CHI_SMALL
122892-AA-NYC_MEDIUM
128919-AC-CHI_XL
191999-BB-BOS_LARGE
117091126-BC-NYC_LARGE
112283-AB-BOS_MEDIUM
Product Size (v1) Product Size (v2) New Key City

1) Use the LEFT function to p


the Product Key in column A

2) In column C, update the P


you to return ALL characters

3) Populate the Product Cate


characters immediately follo

4) Populate Product Size usin

If Key includes "SMALL", Size


If Key includes "MEDIUM", Si
If Key includes "LARGE", Size
If Key includes "XL", Size = XL

5) Instead of using IF(ISNUM


the right of the Product Key f

6) Extract the city name ("BO


Key in column G
INSTRUCTIONS:
1) Use the LEFT function to populate the Product ID column, equal to the first six characters of
the Product Key in column A

2) In column C, update the Product ID formula to combine LEFT and SEARCH functions, allowing
you to return ALL characters to the left of the first "-"

3) Populate the Product Category column in column D using MID and SEARCH, to return the two
characters immediately following the first "-" in the Product Key

4) Populate Product Size using IF, ISNUMBER, and SEARCH functions, based on the logic below:

If Key includes "SMALL", Size = Small


If Key includes "MEDIUM", Size = Medium
If Key includes "LARGE", Size = Large
If Key includes "XL", Size = XL

5) Instead of using IF(ISNUMBER(SEARCH)), write a formula in column F to pull all characters from
the right of the Product Key following the underscore ("_") (hint: use RIGHT, LEN, and SEARCH)

6) Extract the city name ("BOS", "NYC" or "CHI"), which follows the second dash in the Product
Key in column G

You might also like