๐ Excel Interview Questions with Answers โ Part 6
51. How do you sort data by one or multiple columns?
Sorting arranges data in ascending or descending order.
Single Column Sort:
1. Select data
2. Go to: Data โ Sort A to Z
OR
Sort Z to A
๐ Example: Sort employee names alphabetically.
Multiple Column Sort:
1. Select dataset
2. Go to: Data โ Sort
3. Add levels
Example:
First sort by Department
Then by Salary Highest to Lowest
๐ Useful for hierarchical analysis.
52. How do you use AutoFilter and custom filters?
AutoFilter helps display only relevant records.
Enable Filter:
Data โ Filter
Shortcut: Ctrl + Shift + L
Filter Types:
โข Text filters
โข Number filters
โข Date filters
โข Color filters
Custom Filter Example:
Show sales greater than 50,000.
๐ Helps analyze specific subsets quickly.
53. How do you filter by blanks, non-blanks, or specific values?
Filter Blank Cells:
1. Open filter dropdown
2. Select: Blanks
Filter Non-Blanks:
Uncheck Blanks.
Filter Specific Values:
Select required values from checklist.
๐ Example: Show only โCompletedโ orders.
54. How do you remove duplicates from a list?
Steps:
1. Select data
2. Go to: Data โ Remove Duplicates
3. Choose columns to check
๐ Example: Remove duplicate customer IDs.
Important:
โ ๏ธ Always keep backup before removing duplicates because deletion is permanent.
55. How do you use conditional formatting with formulas?
Conditional formatting can use formulas for advanced highlighting.
Steps:
1. Select range
2. Go to: Conditional Formatting โ New Rule โ Use a Formula
Example:
Highlight values greater than average.
=A1>AVERAGE(A1:A10)
Example:
Highlight duplicate values.
=COUNTIF(A1:A10,A1)>1
๐ Useful for anomaly detection and dashboards.
56. How do you highlight top/bottom N values?
Steps:
1. Select data
2. Go to: Conditional Formatting โ Top/Bottom Rules
Options:
โข Top 10 Items
โข Bottom 10 Items
โข Top 10%
โข Bottom 10%
๐ Example: Highlight top 5 sales performers.
57. How do you standardize and clean messy data e.g. โYes / yes / Yโ โ โYesโ?
Data cleaning improves consistency and analysis quality.
Common Techniques:
Function : Purpose
TRIM : Remove extra spaces
UPPER/LOWER/PROPER : Standardize case
SUBSTITUTE : Replace text
CLEAN : Remove hidden characters
Example:
=PROPER(TRIM(A1))
Standardizing Values:
=IF(OR(A1="Y",A1="yes",A1="Yes"),"Yes","No")
๐ Very important in real-world reporting.
58. How do you use Text-to-Columns and Flash Fill for quick cleaning?
Text-to-Columns:
Splits data into separate columns.
Steps:
1. Select column
2. Go to: Data โ Text to Columns
Delimiters:
โข Comma
โข Space
โข Tab
โข Custom symbol
๐ Example: Split "John,Doe" into two columns.
Flash Fill:
Automatically detects patterns.
Shortcut: Ctrl + E
๐ Example: Extract first names from full names automatically.
59. How do you create subtotals and grouped views?
Subtotals:
1. Sort data first
2. Go to: Data โ Subtotal
Example:
Show total sales department-wise.
Excel can calculate:
โข SUM
โข COUNT
โข AVERAGE
โข MAX/MIN
Grouped Views:
Use: Data โ Group
๐ Allows expanding/collapsing sections for cleaner reports.
60. How do you build a simple KPI or summary table?
A KPI table summarizes important business metrics.
Common KPIs:
โข Total Sales
โข Profit
โข Growth %
โข Customer Count
โข Conversion Rate
Example Formula:
=SUM(B2:B100)
Percentage Growth:
Growth % = (Current - Previous) / Previous ร 100
Excel Formula:
=(B2-A2)/A2
Best Practices for KPI Tables:
โ
Use conditional formatting
โ
Add charts/sparklines
โ
Keep layout clean
โ
Highlight important metrics
Double Tap โค๏ธ For Part-7
Post #2090
3.54K
- โค 14
- ๐ฅ 2