TGViewer
Coding & Data Science Resources Coding & Data Science Resources @codingfreebooks · 32.6K subscribers
Post #1697 2.57K
Excel Scenario-Based Questions Interview Questions and Answers :


Scenario 1) Imagine you have a dataset with missing values. How would you approach this problem in Excel?

Answer:

To handle missing values in Excel:

1. Identify Missing Data:

Use filters to quickly find blank cells.

Apply conditional formatting:
Home → Conditional Formatting → New Rule → Format only cells that are blank.


2. Handle Missing Data:

Delete rows with missing critical data (if appropriate).

Fill missing values:

Use =IF(A2="", "N/A", A2) to replace blanks with “N/A”.

Use Fill Down (Ctrl + D) if the previous value applies.

Use functions like =AVERAGEIF(range, "<>", range) to fill with average.


3. Use Power Query (for large datasets):

Load data into Power Query and use “Replace Values” or “Remove Empty” options.

Scenario 2) You are given a dataset with multiple sheets. How would you consolidate the data for analysis?

Answer:

Approach 1: Manual Consolidation

1. Use Copy-Paste from each sheet into a master sheet.
2. Add a new column to identify the source sheet (optional but useful).
3. Convert the master data into a table for analysis.



Approach 2: Use Power Query (Recommended for large datasets)

1. Go to Data → Get & Transform → Get Data → From Workbook.
2. Load each sheet into Power Query.
3. Use the Append Queries option to merge all sheets.


4. Clean and transform as needed, then load it back to Excel.

Approach 3: Use VBA (Advanced Users)

Write a macro to loop through all sheets and append data to a master sheet.

Hope it helps :)
  • ❤ 8
More from @codingfreebooks
  1. Sep 23, 2026🔟 AI Project Ideas for Beginners 1. Chatbot Development: Build a simple chatbot using Nat…
  2. Sep 16, 2026✅ Data Analytics Roadmap for Freshers 🚀📊 1️⃣ Understand What a Data Analyst Does 🔍 Anal…
  3. Sep 16, 2026🎓 𝗧𝗼𝗽 𝗜𝗻-𝗗𝗲𝗺𝗮𝗻𝗱 𝗙𝗥𝗘𝗘 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻𝘀 𝘁𝗼 𝗠𝗮𝘀𝘁𝗲𝗿 𝗶𝗻 �…
  4. Aug 4, 2026💻 How to Learn Programming in 1 Year – Step by Step 📝✨ ✅ Tip 1: Start with a Single Lang…
  5. Jul 24, 2026🔰 10 python one liners
  6. Jul 24, 2026If you’re a student, graduate, or someone looking for a career switch, read this. Most peo…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →