0% found this document useful (0 votes)
51 views15 pages

MS Excel Interview Guide From Basics To Advanced Mastery 1736152945

Uploaded by

nikitagaurav1998
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views15 pages

MS Excel Interview Guide From Basics To Advanced Mastery 1736152945

Uploaded by

nikitagaurav1998
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Interview Questions with Answers On MS Excel As Data Analysis

Basic QA
1. What is MS Excel, and how is it used in data analysis?
Answer:
MS Excel is a spreadsheet application used to organize, analyze, and visualize data.
In data analysis, it is used for creating reports, performing calculations, data
cleaning, and generating insights through charts and pivot tables.

2. What are some common data types in MS Excel?


Answer:
Common data types in MS Excel include:
• Text
• Numbers
• Dates
• Boolean (TRUE/FALSE)
• Errors (e.g., #DIV/0!, #VALUE!)

3. Explain the difference between a relative reference and an absolute


reference in Excel.
Answer:
• Relative Reference: Changes when a formula is copied to another cell (e.g.,
A1).
• Absolute Reference: Remains constant regardless of where the formula is
copied (e.g., $A$1).

4. What is a Pivot Table?


Answer:
A Pivot Table is a powerful tool in Excel used to summarize, analyze, and present
data from a larger dataset by grouping and filtering it.

1|Page
5. How do you use the VLOOKUP function?
Answer:
The VLOOKUP function searches for a value in the first column of a range and
returns a value in the same row from another column.
Syntax: =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

6. What is the difference between COUNT, COUNTA, and COUNTIF functions?


Answer:
• COUNT: Counts numeric values only.
• COUNTA: Counts all non-blank cells.
• COUNTIF: Counts cells that meet a specific condition.

7. How would you remove duplicate values from a dataset?


Answer:
Go to the Data tab → Click on Remove Duplicates → Select columns to check for
duplicates → Click OK.

8. What are conditional formatting rules, and how are they applied?
Answer:
Conditional formatting allows you to format cells based on specific conditions (e.g.,
highlight cells greater than 100).
Go to Home → Conditional Formatting → Select a rule type → Apply the rule.

9. What is the difference between a formula and a function in Excel?


Answer:
• Formula: Custom expressions created by the user (e.g., =A1+B1).
• Function: Predefined operations in Excel (e.g., =SUM(A1:A10)).

10. Explain the use of IF function in Excel.


Answer:
The IF function performs a logical test and returns one value if TRUE and another if
FALSE.
Syntax: =IF(logical_test, value_if_true, value_if_false).

2|Page
11. How do you create a chart in Excel?
Answer:
Select the data → Go to the Insert tab → Choose a chart type (e.g., Bar, Pie) →
Customize the chart as needed.

12. What is the purpose of the CONCATENATE or CONCAT function?


Answer:
These functions combine text from multiple cells into one.
Example: =CONCAT(A1, " ", B1) combines first and last names.

13. What are slicers in Excel?


Answer:
Slicers are visual tools for filtering data in Pivot Tables or Pivot Charts, making it
easier to segment and analyze data.

14. How would you handle errors like #DIV/0! or #N/A?


Answer:
• Use the IFERROR function to handle errors.
Example: =IFERROR(A1/B1, "Error").
• Check for blank cells or invalid references.

15. What is the purpose of Data Validation?


Answer:
Data Validation is used to restrict the type of data or values entered in a cell (e.g.,
allow only numbers between 1 and 100).

16. What are Excel Tables, and why are they useful?
Answer:
Excel Tables are structured data ranges with features like automatic filtering, sorting,
and dynamic referencing, simplifying data management.

17. How can you protect a worksheet?


Answer:
Go to the Review tab → Click Protect Sheet → Set a password and select actions
users are allowed to perform.

3|Page
18. What is the purpose of the Text-to-Columns feature?
Answer:
Text-to-Columns splits text into separate columns based on a delimiter (e.g., comma,
space) or fixed width.

19. How do you apply filters in Excel?


Answer:
Select the data → Go to the Data tab → Click Filter → Use dropdown arrows to filter
data by condition.

20. Explain the use of XLOOKUP.


Answer:
The XLOOKUP function searches for a value in a range and returns a corresponding
value from another range.
Syntax: =XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found],
[match_mode], [search_mode]).

WhatsApp: 91-9143407019 (for Personalise Coaching)

4|Page
20 Intermediate QA
1. How can you use the INDEX and MATCH functions together?

Answer:
The INDEX function returns the value of a cell at a specific position, and the MATCH
function finds the position of a value in a range.
Example Dataset:
Product Price Quantity
A 100 50
B 150 30
C 200 40
Formula to find the quantity of "B":
=INDEX(C2:C4, MATCH("B", A2:A4, 0))
Result: 30.

2. What are array formulas, and how do you use them?


Answer:
Array formulas perform multiple calculations and return a single or multiple results.
Example: To find the total sales (Price × Quantity for all rows):
=SUM(A2:A4 * B2:B4)
Press Ctrl + Shift + Enter for array evaluation.

3. Explain how you can use conditional formatting with a formula.


Answer:
You can use formulas to create custom rules.
Example: Highlight rows where the "Price" is greater than 150.
1. Select data range.
2. Go to Home → Conditional Formatting → New Rule.
3. Use formula: =$B2>150.
4. Apply formatting.

5|Page
4. How do you use the OFFSET function?
Answer:
OFFSET returns a reference to a range that is offset from a starting cell.
Example: To get the value 200 in the dataset:
=OFFSET(A1, 3, 1)
Result: 200 (moves 3 rows down, 1 column right).

5. How do you combine multiple conditions in a formula?


Answer:
Use the AND or OR functions.
Example: Check if Price > 100 and Quantity > 40:
=IF(AND(B2>100, C2>40), "Yes", "No").

6. What is a dynamic named range, and how do you create one?


Answer:
A dynamic named range adjusts automatically as data changes.
1. Go to Formulas → Name Manager → New.
2. Define range with a formula like: =OFFSET(Sheet1!$A$2, 0, 0,
COUNTA(Sheet1!$A$2:$A$100), 1).

7. How do you use the SUMIFS function?


Answer:
SUMIFS adds values that meet multiple criteria.
Example Dataset:
Product Region Sales
A North 500
B South 300
A North 200
Formula to sum "Sales" where Product = "A" and Region = "North":
=SUMIFS(C2:C4, A2:A4, "A", B2:B4, "North")
Result: 700.

6|Page
8. Explain the use of the LEN and TRIM functions.
Answer:
• LEN: Counts characters in a cell.
• TRIM: Removes extra spaces.
Example: If A1 = " Hello ",
=LEN(A1) → 10.
=LEN(TRIM(A1)) → 5.

9. How do you split text into columns using a formula?


Answer:
Use TEXTSPLIT or MID with SEARCH.
Example: Split "John_Doe" into first and last names:
=LEFT(A1, SEARCH("_", A1) - 1) → John.
=RIGHT(A1, LEN(A1) - SEARCH("_", A1)) → Doe.

10. How do you create drop-down lists in Excel?


Answer:
1. Go to Data → Data Validation.
2. Choose List and provide a range or values.
Example: Use A1:A3 for "Product" dropdown: A, B, C.

11. Explain how to use the TRANSPOSE function.


Answer:
TRANSPOSE switches rows to columns or vice versa.
Example:
A B C
1 2 3
Use: =TRANSPOSE(A1:C1)
Result:
|1|
|2|
|3|

7|Page
12. How do you group data in Pivot Tables?
Answer:
1. Right-click a column in the Pivot Table.
2. Select Group.
Example: Group sales by month or products by range.

13. How can you extract unique values from a column?


Answer:
Use the UNIQUE function.
Example: =UNIQUE(A2:A10) extracts distinct products.

14. How do you calculate moving averages?


Answer:
Use the AVERAGE function with OFFSET.
Example: =AVERAGE(OFFSET(B2,0,0,3)) calculates a 3-period moving average.

15. How do you use the TEXT function to format data?


Answer:
TEXT formats numbers/dates as strings.
Example: Convert date 01/01/2024 to "January 1, 2024":
=TEXT(A1, "MMMM D, YYYY").

16. How can you combine lookup and logical functions?


Answer:
Use VLOOKUP with IF.
Example: Check if the price of Product A exceeds 100:
=IF(VLOOKUP("A", A2:C4, 2, FALSE)>100, "Yes", "No").

17. What is Power Query in Excel?


Answer:
Power Query is a tool to clean and transform data.
Example: Import a CSV file and remove null rows using Power Query Editor.

8|Page
18. How do you use the FILTER function?
Answer:
FILTER extracts rows that meet criteria.
Example: Extract rows where Sales > 400:
=FILTER(C2:C10, C2:C10>400).

19. How do you calculate the rank of values?


Answer:
Use the RANK function.
Example: Rank Sales values:
=RANK(C2, C2:C10).

20. How do you use data consolidation?


Answer:
1. Go to Data → Consolidate.
2. Choose functions like SUM.
Example: Consolidate sales from multiple worksheets into one.

WhatsApp: 91-9143407019 (for Personalise Coaching)

9|Page
20 Advance Interview QA
1. How do you create dynamic dashboards in Excel?
Answer:
Dynamic dashboards use Pivot Tables, Slicers, and charts linked to the data model.
Example Dataset:
Product Region Month Sales
A North Jan 500
B South Jan 300
A North Feb 700
• Create Pivot Tables to summarize data.
• Add Slicers for "Region" and "Month".
• Create charts to visualize trends.

2. Explain the concept of Power Pivot.


Answer:
Power Pivot extends Excel's ability to analyze large datasets by allowing
relationships between tables, advanced calculations, and data modeling.
Example: Create a relationship between "Sales" and "Products" tables based on
Product ID and calculate total sales per region.

3. How do you use advanced filtering with criteria ranges?


Answer:
Advanced filtering extracts rows based on multiple criteria.
Example Dataset:
Product Region Sales
A North 500
B South 300
C North 200
Criteria Range:
Region Sales
North >400
1. Go to Data → Advanced.
2. Select range and criteria to filter.

10 | P a g e
4. How do you use the LET function in Excel?
Answer:
LET assigns names to calculations to reuse in formulas.
Example: Calculate (Sales - Cost) / Sales:
Sales Cost
500 300
Formula:
=LET(profit, A2-B2, margin, profit/A2, margin)
Result: 0.4 (40%).

5. Explain the use of the LAMBDA function.


Answer:
LAMBDA creates custom reusable functions.
Example: Create a LAMBDA for Profit Margin:
1. Define: =LAMBDA(Sales, Cost, (Sales-Cost)/Sales).
2. Use: =ProfitMargin(500, 300) → 0.4.

6. How do you create a dependent drop-down list?


Answer:
Dependent drop-downs update based on another selection.
Example Dataset:
Product Sub-Category
A Sub1
B Sub2
1. Define named ranges for subcategories.
2. Use INDIRECT in Data Validation for the second list: =INDIRECT(A1).

7. How do you handle complex nested formulas?


Answer:
Break them into helper columns or use LET to simplify.
Example: Calculate bonuses:
=IF(Sales>500, IF(Region="North", Sales*0.1, Sales*0.05), 0).

11 | P a g e
8. How do you use the XLOOKUP function for two-way lookups?
Answer:
XLOOKUP searches both rows and columns.
Example Dataset:
Jan Feb
North 500 600
South 300 400
Find "Feb" sales for "North":
=XLOOKUP("North", A2:A3, XLOOKUP("Feb", A1:C1, B2:C3))
Result: 600.

9. How do you remove outliers from a dataset?


Answer:
Use statistical measures like the interquartile range (IQR).
Example:
Values
10
50
100
500
Find Q1, Q3, and IQR:
=QUARTILE(A1:A4, 1) → 30.
=QUARTILE(A1:A4, 3) → 125.
Outlier threshold: Q3 + 1.5*IQR → 325.

10. How do you use Solver for optimization?


Answer:
Solver finds optimal values based on constraints.
Example Dataset:
Maximize profit = (Sales - Cost), where Sales ≤ 1000 and Cost ≥ 500.
1. Go to Data → Solver.
2. Set objective cell for profit and constraints.
3. Solve.

12 | P a g e
11. How do you perform What-If Analysis using Goal Seek?
Answer:
Goal Seek finds the input value needed for a target output.
Example: Find the sales needed to achieve a profit of 500.
1. Set formula: Profit = Sales - Cost.
2. Use Goal Seek: Set Profit = 500.

12. Explain the concept of array spilling in Excel.


Answer:
Array formulas auto-fill adjacent cells when returning multiple values.
Example:
=SEQUENCE(3, 2, 1, 1) produces:
1 2
3 4
5 6

13. How do you handle large datasets efficiently?


Answer:
• Use Excel Tables for structured references.
• Filter data with Power Query.
• Summarize with Pivot Tables.

14. How do you use Power Query to clean data?


Answer:
Example: Remove duplicates and split "John_Doe" into first/last names:
1. Load data into Power Query.
2. Remove duplicates.
3. Split column by delimiter.

13 | P a g e
15. How do you use VBA to automate tasks?
Answer:
Write macros to automate repetitive tasks.
Example: Automatically color cells with values > 100.
Sub ColorCells()
Dim rng As Range
For Each rng In Selection
If rng.Value > 100 Then
rng.Interior.Color = RGB(255, 0, 0)
End If
Next rng
End Sub

16. How do you create dynamic charts?


Answer:
Link charts to dynamic named ranges using OFFSET or Tables.
Example: Sales trend chart updates when data is added.

17. How do you use the UNIQUE and SORT functions together?
Answer:
Extract and sort unique values.
Example: =SORT(UNIQUE(A2:A10)).

18. How do you calculate weighted averages?


Answer:
Use SUMPRODUCT and SUM.
Example Dataset:
Item Weight Score
A 2 80
B 3 90
=SUMPRODUCT(B2:B3, C2:C3)/SUM(B2:B3) → 86.

14 | P a g e
19. How do you identify duplicate values across sheets?
Answer:
Use COUNTIF with 3D referencing.
Example: =COUNTIF(Sheet2!A:A, A1).

20. How do you implement regression analysis in Excel?


Answer:
Use the Data Analysis Toolpak:
1. Go to Data → Data Analysis → Regression.
2. Input dependent and independent variables.
Example: Analyze Sales (Y) vs. Ads (X).

Khurshid Md Anwar
LinkedIn: https://www.linkedin.com/in/khurshidmdanwar/

WhatsApp: 91-9143407019 (for Personalise Coaching)

50 Best MCQs on Increment and Decrement Operators in Java

The Best 50 MCQ on C Language with Answers

Best 50 Java Multiple-Choice Questions to Test Your Skills, and


Boost Your Knowledge

15 | P a g e

You might also like