Data Analysis Exercise 1 v7
Data Analysis Exercise 1 v7
Please read the following carefully and then answer the below 8 questions.
Every part fitted to a vehicle needs to have a part number to enable correct part ordering (amongst many other important reasons).
Table 1 below contains data relating to 10 part numbers. These part numbers are allocated to different variants of car seat.
Important Notes:
- Questions 1-5 will require formulas as answers. These formulas should be created in the first row and dragged down to all rows. ie.must be the same generic formula in each row
- Questions 6-8 will require text answers only. No formulas or functions required.
- To be fair to people with varying Excel backgrounds, you're only allowed to use the functions listed in the 'Definitions & Functions' sheet
Questions
Question 1 Create a formula in column <E> that extracts the PREFIX only from column A
Question 2 Create a formula in column <F> that extracts the BASE only from column A
Question 3 Create a formula in column <G> that extracts the SUFFIX only from column A
The Vehicle Seat part numbers are defined as LHS or RHS. This information is shown within the Description in column <B>.
Question 5
Create a formula in column <I> that extracts the LHS or RHS text only.
We will use IF function to determine whether each seat is a Driver or Passenger seat:
Using only the information in columns <B> & <C>, confirm in column <J> whether each seat is a DRIVER or PASSENGER seat.
Question 6 If Driver code is "P": driver if description contains RHS and passenger if description contains LHS
(Note, no formulas required for this question)
If Driver code is "Q": driver if description contains LHS and passenger if description contains RHS
The string of MINOR FEATURE CODES shown in column <D> helps to define the specifc usage of the relevant part number. Based on the assumption, we will define whether the part number is a driver seat or passenger seat using IF function
If the string contains the MINOR FEATURE CODE [CZQ**] eg. CZQBD, CZQBE,CZQBH, CZQBM or CZQBU, then the part number is a driver seat If Minor feature code contains CZQ then it the part number is a driver seat
Question 7
If the string contains the MINOR FEATURE CODE [CZR**] eg. CZRBC, CZRBE, CZRBL, CZRBT or CZRBV, then the part number is a passenger seat If Minor feature code contains CZR then it the part number is a driver seat
One Seat part number has a clear data error in Table 1. Highlight which part this is, in the appropriate cell in column <K>. However it raise an error when the DRIVE code value is not taken in account, resulting a discrepancy with column <J>
Given that the data in column <B> and <C> is corrent, the result in column <J> is correct. In comparison with the sheet
Now to fix the problem part number found in Question 7: "Part number Base Definition", with the number Base is "C822O26" and Drive is "P", the Seat Type should be one of the
Firstly, it's been confirmed that the data in column <B> and column <C> in Table 1 is definitely correct. values:{"CZQBD", "CZQBH", "CZQBM"}. All of them contains "CZQ" indicating the part number is a driver seat.
Question 8
Secondly, the sheet "Part Number Base Definition" shows how part number BASES are initially defined according to seat features. (Note, this is not always a 1 to 1 relationship) Therefore, the correct value is "DRV".
Using the above information, determine the correction that is required to fix the data error. Show this in column <L>. To avoid these error, we can use functions to detect whether there is discrepacies between value of column <J> and
<K> and using functions such as VLOOKUP to find out the incorrect inputs.
Excel Functions
Function Syntax
LEFT LEFT(text,num_chars)
RIGHT RIGHT(text,num_chars)
MID MID(text,start_num,num_chars)
LEN LEN(text)
FIND FIND(find_text,within_text,start_num)
SEARCH SEARCH(find_text,within_text,start_num)
TRIM TRIM(text)
Useful Definitions
A part number is used to identify all vehicle parts. It consists of 3 elements: Prefix,
Base & Suffix.
The format of the part number is always: "Prefix-Base-Suffix"
Part Number
The Prefix is always 4 digits
The Base is always 7 digits
The Suffix is always 3 or 4 digits
The code "DRIVE" indicates whether the part number is used on LHD or RHD vehicles.
DRIVE DRIVE code "Q" = LHD
DRIVE code "P" = RHD
A minor feature code is a 5 digit code. This code defines a specific feature on a
vehicle.
Minor Feature Code
Multiple minor feature codes can be combined into a string to form a specific vehicle
usage for the relevant part