Excel Answers
Excel Answers
Procedure:
1. Enter Data:
• In a new Excel sheet, list the marks intervals in one column and the
corresponding frequency in the next column.
2. Calculate Cumulative Frequency (Less Than Ogive):
• In an adjacent column, compute the cumulative sum from the lowest
interval upward (e.g., for the first interval it’s 9; for the second, add
9+14; etc.).
3. Calculate Reverse Cumulative Frequency (More Than Ogive):
• Starting from the highest interval, calculate the running total in reverse
(e.g., for the last interval it’s 5; for the one before, 5+10; etc.).
4. Determine Class Boundaries:
• Use the upper class boundaries for the less than ogive and the lower
boundaries for the more than ogive.
5. Create the Charts:
• Highlight the cumulative data with class boundaries.
• Insert a Line Chart (using the “Insert” → “Line” option) for the less
than ogive.
• Repeat for the more than ogive using the reverse cumulative
frequencies.
6. Format and Label:
• Add appropriate axis labels (e.g., “Marks” on the horizontal axis and
“Cumulative Frequency” on the vertical axis) and a title.
Question 2:
Procedure:
1. Enter Data:
• In two adjacent columns, list wind velocities and drift velocities
respectively.
2. Select the Data:
• Highlight both columns.
3. Insert Scatter Plot:
• Go to “Insert” → “Charts” group and choose “Scatter (XY)”.
4. Customize the Chart:
• Format the chart (titles, axis labels, markers) so that the x-axis
represents wind velocity and the y-axis represents drift velocity.
Question 3:
Procedure:
1. Set Up the Spreadsheet:
• Create a header section with the title “Payroll” and the date.
• In a table format, list each employee’s details (Employee Number,
Name, Hourly Rate, Hours Worked).
2. Calculate Gross Pay:
• In the “Gross Pay” column, enter the formula:
=Hourly Rate * Hours Worked
• For example, if Hourly Rate is in cell C2 and Hours Worked in cell D2,
enter:
=C2*D2
3. Calculate Social Security Tax (S.S Tax):
• In the “S.S Tax” column, compute 6% of Gross Pay with:
=Gross Pay * 6%
• For instance, if Gross Pay is in E2, use:
=E2*0.06
4. Calculate Net Pay:
• In the “Net Pay” column, subtract S.S Tax from Gross Pay:
=Gross Pay - S.S Tax
• For example:
=E2 - F2
5. Copy Formulas:
• Drag the formulas down to apply them to all employee rows.
Question 4:
Procedure:
1. Enter Student Data:
• Create a table with columns for Student Name, Grade, and Outcome.
2. Apply the Formula:
• In the Outcome column, use a nested IF formula. For example, if the
grade is in cell B2, enter:
3. =IF(B2>=80, "Excellent", IF(B2>=60, "Good", "Failed"))
4. Drag the Formula:
• Copy the formula down for all student rows.
5. Verify Results:
• Check that each student’s outcome matches the provided criteria.
Question 5
Procedure:
1. Enter Data:
• Create a table with two columns: one for the flavor names and one for
the number of consumers.
2. Create a Bar Diagram:
• Highlight the table.
• Go to “Insert” → “Charts” and choose a “Column Chart” (or “Bar
Chart”) to display the data.
3. Create a Donut Chart:
• With the same data selected, go to “Insert” → “Charts” and select
“Donut Chart.”
4. Customize Both Charts:
• Add titles, labels, and adjust colors as necessary.
Question 6:
Procedure:
1. Enter Data:
• Create a table with the given employee details.
2. Use VLOOKUP:
• For the employee with ID 56815, use a formula like:
3. =VLOOKUP(56815, Table_Range, 4, FALSE)
(Assuming the “Salary” is in the 4th column of your table.)
• Similarly, for ID 51186:
=VLOOKUP(51186, Table_Range, 4, FALSE)
Question 7:
Procedure:
1. Enter Data:
• List the exam scores in one column.
2. Calculate the 90th Percentile (P90):
• Use the formula:
3. =PERCENTILE.INC(range, 0.9)
4. Calculate Quartiles:
• First Quartile (Q1):
5. =QUARTILE.INC(range, 1)
• Second Quartile (Median, Q2):
=QUARTILE.INC(range, 2)
• Third Quartile (Q3):
=QUARTILE.INC(range, 3)
Question 8:
Procedure:
1. Enter Data:
• Create a table where the first column lists the juice flavors and the next
three columns list the consumer counts for brands A, B, and C.
2. Create Multiple/Sub-divided Bar Diagrams:
• Highlight the entire table.
• Go to “Insert” → “Charts” and choose “Clustered Column Chart” to
compare the brands side by side for each flavor.
• For a sub-divided (stacked) view, choose “Stacked Column Chart” if
needed.
3. Create a Line Chart:
• With the same data, select it and then go to “Insert” → “Charts” and
choose “Line Chart.”
• You may need to adjust the data series and axes to make sure each
brand’s trend across flavors is clearly visible.
4. Customize:
• Add chart titles, legends, and axis labels for clarity.
Question 9:
Procedure:
1. Enter or Confirm the Data Table:
• Make sure your table includes all relevant columns (EmployeeID,
Name, Salary, Age, etc.).
2. For Employee ID Lookup (Part a):
• Use VLOOKUP to search by EmployeeID. For example:
3. =VLOOKUP(58369, Table_Range, Column_Number_For_Name, FALSE)
• If the ID is not found, Excel will return an error which you can handle with
IFERROR if needed.
4. For Name-Based Lookup (Part b and c):
• To find the age of Estelle Cormack, use:
5. =VLOOKUP("Estelle Cormack", Table_Range, Column_Number_For_Age,
FALSE)
• To find the salary of Ian Nash, use:
=VLOOKUP("Ian Nash", Table_Range, Column_Number_For_Salary, FALSE)
6. Double-Check Your Data:
• Ensure that the table’s first column (or the lookup column) is sorted if
you’re using approximate match functions (though here FALSE is used for
an exact match).
• Adjust column numbers in the formula to match your table layout.
Question 10:
Procedure:
1. Enter Data:
• List the marks in a single column in Excel.
2. Calculate the Range:
• Use the formula:
3. =MAX(range) - MIN(range)
• This subtracts the minimum mark from the maximum mark.
4. Calculate the IQR:
• First, compute the first quartile (Q1) and the third quartile (Q3) using:
5. =QUARTILE.INC(range, 1)
6. =QUARTILE.INC(range, 3)
• Then calculate IQR with:
=Q3 - Q1
7. Review Results:
• Verify the computed range and IQR to ensure they correctly represent
the spread of the mark.
Step 5: Verify Results
After applying the formulas, Excel will give the required values.
Ensure that the data is sorted for accurate quartile calculation.
Question 11:
1. Enter the Data:
– Open a new Excel workbook and enter the pulse rate values (86, 86,
87, 88, 89, 89, 90, 90, 92, 93, 95, 95, 96, 96, 97, 97, 98, 98, 98, 99, 99,
100, 104, 105) in a single column (e.g., cells A1:A24).
– Make sure the data is sorted in ascending order.
2. Calculate Quartiles:
– In a separate cell for Q1, use:
=QUARTILE.EXC(A1:A24,1)
– For the Median (Q2):
=QUARTILE.EXC(A1:A24,2)
– For Q3:
=QUARTILE.EXC(A1:A24,3)
3. Compute the Quartile Deviation:
– Use the formula:
=(Q3 - Q1) / 2
Replace Q3 and Q1 with the appropriate cell references.
4. Compute the Coefficient of Quartile Deviation:
– Use the formula:
=(Q3 - Q1) / (Q3 + Q1)
Question 12:
1. Enter the Employee Data:
– Create a table with columns (e.g., A:E) for EmployeeID, Name,
Department, Salary, and Total Pay.
2. Find the Department for Employee ID “D102”:
– Use the formula:
=VLOOKUP("D102", A2:E8, 3, FALSE)
– (Or with XLOOKUP: =XLOOKUP("D102", A2:A8, C2:C8))
3. Find the Salary for Employee ID “D105”:
– Use:
=VLOOKUP("D105", A2:E8, 4, FALSE)
– (Or with XLOOKUP: =XLOOKUP("D105", A2:A8, D2:D8))
4. Find the Total Pay for Employee ID “D107”:
– Use:
=VLOOKUP("D107", A2:E8, 5, FALSE)
– (Or with XLOOKUP: =XLOOKUP("D107", A2:A8, E2:E8))
Question 13:
1. Enter the Data:
– Input your employee list into Excel with columns such as Employee ID,
Name, Department, etc.
2. Sort by Name:
– Select the range containing your data.
– Go to the Data tab → click Sort.
– In the Sort dialog, choose the Name column, set Sort On to “Values”,
and Order to “A to Z”. Click OK.
3. Apply a Filter for the “HR” Department:
– Select your header row and click on Filter under the Data tab.
– Click the filter arrow on the Department column, then select only “HR”
from the list.
– Excel will display only the employees from the HR department.
Question 14:
1. Input Data:
– Enter the X values (10, 12, 18, 18, 15, 17, 40) in column A (A2:A8) and Y
values (15, 19, 25, 30, 25, 25, 30) in column B (B2:B8).
2. Rank the Data:
– In column C (e.g., starting at C2), compute the rank for X values using:
=RANK.AVG(A2, $A$2:$A$8, 1)
Copy this down for all X values.
– In column D, compute the rank for Y values similarly:
=RANK.AVG(B2, $B$2:$B$8, 1)
3. Calculate the Difference in Ranks and Its Square:
– In column E, calculate the difference for each pair:
=C2 - D2
– In column F, square the difference:
=E2^2
– Copy these formulas for all data rows.
4. Sum the Squared Differences:
– Use a SUM formula to add up the values in column F.
5. Calculate Spearman’s Rank Coefficient:
– Use the formula:
=1 - ((6 * Sum_of_d_squared) / (n*(n^2 - 1)))
where n is the number of pairs (7 in this case).
– Alternatively, you can use the CORREL function on the rank columns:
=CORREL(C2:C8, D2:D8)
Question 15:
1. Input Data:
– Create a table with Year in one column (e.g., A2:A9 with values 2006 to
2013) and Sales in the adjacent column (B2:B9 with values 80, 90, 92, 83,
94, 99, 92, 104).
2. Create a Scatter Plot:
– Select the data range and go to Insert → choose Scatter Plot.
3. Add a Trendline (Linear Regression):
– Click on any data point, then right-click and select Add Trendline.
– Choose Linear Trendline, and check the option to Display Equation on
chart.
– This equation represents the fitted straight line.
4. Forecast Sales for 2017:
– Using the displayed trendline equation (of the form y = mx + c),
substitute x = 2017.
– Alternatively, use Excel’s forecasting function:
=FORECAST.LINEAR(2017, B2:B9, A2:A9)
Question 16:
Step 1: Enter Your Data
1. Create a New Worksheet:
o Open Excel and create a new worksheet.
2. Input the Data:
o In Column A, enter the names.
o In Column B, enter the IDs.
o In Column C, enter the marks.
o For example, if you have 10 records, fill rows 2 to 11 (Row 1 can be
reserved for headers).
Question 17:
1. Input Your Data:
– Enter your data set in two columns (e.g., X-values in column A and Y-
values in column B).
2. Create a Scatter Plot:
– Select the data and insert a scatter chart via Insert → Scatter.
3. Add Different Trendlines:
– Click on a data point, right-click, and select Add Trendline.
o Linear Trendline: Choose “Linear” and display the equation if
needed.
o Polynomial Trendline: Choose “Polynomial” (specify the order,
e.g., 2 for quadratic) and display the equation.
o Exponential Trendline: Choose “Exponential” (ensure your data is
positive) and display the equation.
4. Customize and Compare:
– Adjust formatting as needed.
– You can add multiple trendlines (by creating separate series or
duplicate the chart) to compare their equations and goodness-of-fit.
Question 18:
1. Input the Data:
– Enter the weight data of the 50 students in a single column (e.g.,
column A).
2. Determine Bin Ranges:
– Decide on appropriate bin intervals (e.g., in another column list the
upper limits for each bin).
3. Using the Data Analysis Toolpak:
– If not already enabled, go to File → Options → Add-ins → Manage
Excel Add-ins → check Analysis ToolPak. – Then, go to the Data tab →
click on Data Analysis → select Histogram. – Input the Input Range (the
weight data) and the Bin Range (your defined bins). – Choose an output
range or a new worksheet and click OK. – Excel will create a frequency
distribution table and a histogram chart.
4. Alternatively, Use COUNTIFS:
– Create frequency counts using COUNTIFS for each bin, then plot a
column chart to resemble a histogram.
Question 19
1. Input the Employee Data:
– Enter the list of employees along with columns like Employee ID,
Name, Department, etc.
2. Insert a Pivot Table:
– Select your entire data range and go to Insert → PivotTable.
– Choose to place the Pivot Table in a new worksheet or an existing one.
3. Configure the Pivot Table:
– Drag the Department field to the Filters area.
– Drag the Employee Name (or Employee ID, as needed) field to the
Rows area. – (Optionally, you can add other fields like Salary to the
Values area if desired.)
4. Filter for “Admin”:
– In the Pivot Table, click the drop-down for the Department filter, select
only “Admin” and click OK.
– The Pivot Table now shows only the employees who belong to the
Admin department.