Ravindra BagaleCourses & study guides मराठी Track your progress

17. Interview Questions and Answers

Excel

17.5 Tables, PivotTables and Charts

Build a named source, show the results in a PivotTable, and explain exactly which rows and filters the audience is seeing. Use independently checked amounts and two small charts to practise the interview follow-ups.

Q37. Describe an Excel Table as the source

Use a name that describes what the object contains

An Excel Table is a named object on a sheet containing named columns and related rows. A Table can apply filters, calculated columns and a Total Row. Structured references can describe the field a formula needs. In an authorized scratch copy of the course order dataset, use the full header and ten rows as one Table called tblOrders. The fictitious Blinkit and Amazon Now exercise has one order on each data row. It supplies an Order ID, City, Amount and other fields. A summary calculation can refer to tblOrders[Amount] to read a data column without using the spelling G2:G11.

A source row may appear directly under a Table without becoming a member. Verify the table range, its borders or a structured result before saying a new record is included. The exact behavior depends on how the row was added and the environment. The values added to an actual Table's data body are available to a connected live table formula. A PivotTable summarizes a source at a given state and requires its own refresh verification. The two objects answer different parts of a workflow.

  • Body. The rows holding order records. A reference to the ordinary Amount column addresses its data values. The header and optional Total Row are separate.
  • Field. A named source column such as City or Amount. Use clear, unique headers and consistent types so the summary can choose the intended aggregation.
  • Table expansion. Confirm a pasted new row is a data member. A workbook displaying a decorated adjacent row offers no such guarantee.
  • Visible rows. A filter hides records from view and can affect an explicitly visible subtotal. A full column SUM through a structured reference can still include those filtered records.

On the original ten orders =SUM(tblOrders[Amount]) gives 2870. Enable the Total Row and choose Sum for the Amount column. Excel normally offers a subtotal calculation appropriate for the Table's filtered view. With no filter both values give 2870. If you filter the source Table to Pune, its default Sum total row shows 544 while the explicit SUM of the full data column remains 2870. Review the Total Row formula itself if someone customised it. Filters change the selected display, while source membership still includes the hidden records.

Q38 and Q39. Compare an exploratory report with a fixed report

Explain Rows, Columns, Values and Filters in one example

A PivotTable places fields into different roles to summarize a source. Put City in Rows to see one row per represented city, Amount in Values summarized by Sum, and optionally Platform in Columns to split each city's amount by platform. A Filters field or slicer can restrict the population. For the first exercise leave every filter cleared. Reading all recorded amounts by city answers a different question from verified revenue on delivered orders. Put the intended scope in the report title.

A PivotTable is valuable in interviews because you can change a group or value field while keeping the input records. When another person asks about the Pune figure, show the few IDs that contribute. You can also add a visual or a percentage display for a question about composition. A fixed layout with SUMIFS can be useful when a reviewer expects cells in known positions or wants an individual formula to express its criteria. It recalculates under the workbook's calculation behavior. Its source still needs to receive current input. A PivotTable and formula can independently reconcile one meaningful number.

Check the aggregation label and stored type

In a regular worksheet-source PivotTable, an amount field should summarise using Sum for the monetary total. Count of Amount answers how many eligible field entries the summary counts, and can appear if Excel sees data it interprets as nonnumeric. Read the shown value field label and check the original cells with ISNUMBER or a numeric source check. Merely renaming the field Sum of Amount changes its label rather than its operation. Choose the correct summarization setting and compare a manually verified subset. A test of only one order with amount one cannot distinguish Sum and Count because both produce one. Use the known Pune subtotal 544 across four records for a stronger test.

Original recorded amounts by city, sorted by amount
CitySum of AmountOrders
Solapur12991
Pune5444
Nashik3602
Nagpur2401
Kolhapur2321
Sambhaji Nagar1951

Put =SUMIFS(tblOrders[Amount],tblOrders[City],"Pune") in a fixed report cell to reproduce Pune's recorded amount independently. On the original fixture it gives 544 from amounts 64, 110, 150 and 220. If the PivotTable instead filters the Status field to Delivered, the Pune subtotal becomes 324. Change the formula only if you want that same scope, by making status a second condition. In a final answer point out the deliberate difference before deciding a report is defective.

Q40. Explain a calculated field with a test number

Use the original commission example on the right source type

A classical calculated field in a regular non-OLAP PivotTable applies a formula to the summarized values of fields in its current context. In a supported desktop workbook with a normal worksheet-source PivotTable, the original exercise defines fictional Commission as Amount multiplied by 0.05. Check the available Fields, Items and Sets controls on your PivotTable and its source type. The classical option is not the same as creating a Data Model measure. For the intended unfiltered baseline, Pune's commission gives 27.20 and the displayed grand amount gives 143.50.

=Amount*0.05

This multiplies a subtotal by a constant. A source helper column that computes each amount times the same 0.05 exactly can give the same subtotal when adding it, subject to the chosen precision. If the business rounds commission at the transaction level, or uses different rates by category, that row-level rule can differ. For a concrete rounding example, two rows each have amount 10.10. A five-percent intermediate commission is 0.505 each. Rounding each result to two decimal places gives 0.51 plus 0.51, or 1.02. Computing 5 percent on the subtotal 20.20 gives 1.01. State the rounding level.

For an average order value, establish the amount numerator and the count of eligible orders. A legacy calculated field cannot directly turn an arbitrary result caption such as Count of Order ID into a base source field. In a source with one eligible row per order, an explicit numeric order indicator of one per row can provide a represented denominator. In a line-item export, summing one per row would count lines rather than orders. Use an appropriate Data Model or distinct-order calculation when that is the business requirement and available. Verify that the subtotal ratio divides the sum by the intended count instead of averaging city averages or percentages.

Compare the grand result to the weighted groups

The six city sums total 2870 across ten orders. The true overall average amount for those rows is 287. Pune alone is 544 over four, or 136. Solapur has one order at 1299. Averaging every city average equally would give each group the same weight even though one has four orders and another has one. When displaying a ratio in a PivotTable or in a formula, examine the grand total independently. Some items in the summary can be reused as a display, while their formatted percentages are poor inputs for the final answer.

Q41. Test a missing new order from source to visible result

Lab one. Complete the original totals and refresh practice

In an authorized training copy of the original order dataset, convert or inspect A1:I11 as tblOrders. Check header names, number types and exact Table membership. Use a new sheet called Summary to create a worksheet-source PivotTable beginning at A3. Put City in Rows and Amount in Values summarized by Sum. Clear report filters and set grand totals to show for this practice. If an Excel client offers different placement controls, choose an available workflow and later anchor any formula to an actual cell inside the PivotTable.

  1. Check the expected six city values and whole amount 2870. Enable the source Table's Total Row with its normal Sum for Amount. Filter the Table to Pune and verify it shows 544, then clear the filter. The independent full-table SUM stays 2870. Review the PivotTable's own filters separately.
  2. Drag Amount into Values a second time. Use the supported Show Values As option for percent of Grand Total. In the full report Pune's 544 is about 18.95 percent of 2870. Solapur is about 45.26 percent of 2870. Display digits can round each value, while the denominator is the actual reported grand total.
  3. Apply a PivotTable City filter to show only Pune. Its displayed grand total becomes 544 and Pune becomes 100 percent of that scope. Clear this filter when finished. State the population in the chart or report so another reader knows whether the reference is all cities or only the selected city.
  4. Use the original source again. Add BLK-1011 to a scratch copy as a true Table member with date November 9, 2026, city Pune, platform Blinkit, category Bakery, quantity one, amount 60, nine elapsed minutes and status Delivered. Ensure it is inside tblOrders even if you must use the Table's resize or insertion controls. The source formula becomes 2930 and Pune's source subtotal becomes 604.
  5. Refresh the PivotTable explicitly in the supported Excel client if it does not already reflect the change. Clear inappropriate filters. Confirm Pune is 604, grand amount 2930 and the accepted count is eleven. The unchanged Solapur 1299 is an independent control. Note the timing and exact workbook if a colleague needs to reproduce it.
  6. Remove only the new practice record in the scratch copy and repeat the refresh. Check Pune returns to 544 and total to 2870. If the edit was made on a separate disposable workbook, discard the variant after verification rather than editing an authoritative file.
Original Pune amount 544 and total 2870 become Pune 604 and total 2930 after a 60 amount is added as actual Table data and the pivot result is checked.
Prove the new order goes into the source before refreshing and comparing the PivotTable result.

Trace a new confirmed record through the report

  1. Check the baseline

    Pune is 544 and all recorded amounts total 2870.

  2. Verify source membership

    BLK-1011 is a named Table data member with amount 60 and city Pune.

  3. Refresh and inspect scope

    Check that the summary includes the updated source and shows all cities with the intended value setting.

  4. Read independent counts

    Pune has five orders and 604. There are eleven records with grand amount 2930.

If the new order appears beside the Table and the pivot does not update, first check the data range. If a PivotTable still points to the old fixed A1:I11 source, change its source to the intended Table where supported. If the data comes from a query, inspect the query output, the workbook destination and the PivotTable refresh. An old amount may also reflect an active filter or a source with a datetime outside the selected period. Keep each check separate. Microsoft documents newer automatic refresh behavior for supported local sources with a current availability note for Insider participants. Do not assume it is available or configured in the interview environment.

Q42 and Q43. Verify both a filter control and a value reference

Read the scope of a slicer or timeline

A slicer visually selects entries in a field. Using a City slicer for Pune makes that scope visible in a connected report. A timeline provides date filtering for a compatible PivotTable, with period controls such as months and days. Its source field must contain information the PivotTable recognises as dates. A source field stored as text that merely looks like a date can block use or produce unexpected groups. Check both the selected controls and what they actually govern.

Supported desktop versions can create Table and PivotTable slicers on Windows and Mac. Microsoft's current web guidance limits creation there to local PivotTable slicers and directs users to desktop for Table, Data Model PivotTable or Power BI PivotTable slicer creation. Consult the platform-specific guidance before promising a control in a shared workbook. Two PivotTables can use a common slicer through the available Report Connections controls if their sources are compatible. Verify the listed connections and observe each intended report update. A selected button alone is only one part of that proof.

When only one of two panels responds, check the report connection of the slicer, intended data source and any filtering attached to each. A summary using a full-column SUMIFS is independent of a selected PivotTable slicer unless the report deliberately shares its filter input or uses a connected pivot result. If both panels are in a dashboard, state which fields the slicer affects. If the audience sees a static export, include text identifying the active city, date window and source timestamp.

Pune 544 is about 18.95 percent of all city amounts 2870, and 100 percent of a report filtered to only Pune.
The report's current grand total supplies the denominator. A filter can change the percentage without changing the city's recorded amount.

Retrieve a labeled result with GETPIVOTDATA

GETPIVOTDATA reads visible PivotTable data by specifying the value field, a reference identifying the PivotTable and any field and item pairs. If a summary begins at A3 and its ordinary amount field is labeled Sum of Amount, a result on the same sheet can read the Pune value as shown. Verify the field captions and that the anchor is inside the PivotTable. To discover the actual expression supported by a workbook, start a formula with equals and click the desired PivotTable result when generation is available and enabled. Keep the result cell outside the PivotTable.

=GETPIVOTDATA("Sum of Amount",$A$3,"City","Pune")

The result should be 544 on the baseline unfiltered PivotTable. Compared to directly reading a particular displaced result cell, a named field and item make that intent more stable across many layout changes. A deleted field, excluded or unavailable result or moved PivotTable anchor can still fail. Test a valid Pune result and a deliberate filter that removes Pune. A visible absence can give #REF! in this use. Avoid automatically converting the failure to a numeric zero. A city might have genuine zero recorded amount or might be hidden by the user. Show which state occurred when it affects a decision.

Q44. State what you are ranking and handle ties

Begin with the summary grain and value field. In this task rank cities by Sum of Amount over the original ten recorded order rows. The original top five are Solapur, Pune, Nashik, Nagpur and Kolhapur, with totals 1299, 544, 360, 240 and 232. They sum to 2675. Sambhaji Nagar has 195 and is outside that list. A data filter can restrict the scope before ranking. An interviewer may ask how a cutoff tie should behave. Decide whether to show tied entries together or show exactly five using an explicit secondary sort rule. Test the intended behavior rather than assuming every ranking method resolves a tie identically.

In the available PivotTable settings use the value filter called Top 10 and choose five Items for the intended ranking measure. Inspect the displayed result and sort it for easy reading if needed. A formula approach on an already aggregated city summary can sort by the amount and take selected rows in a supporting version. Test your formula against the known original ranking. Applying LARGE to the raw order amount field ranks orders, which answers another question. A list showing BLK-1007 first has identified a high-value order, while Solapur is a city group. The overlap in this fixture's first rank is incidental.

Q45 and Q46. Chart the decision and verify when the picture changes

Choose a chart by the comparison a reader must make

  • Ranked amounts by city. A horizontal bar chart with readable labels allows direct length comparison. Sort the verified city summary and include the amount unit. Start the value baseline at zero for meaningful length comparison.
  • Change across equally spaced months. A line chart can show a sequence over time. Check chronological order and distinguish a truly zero month from a missing period with an explicit gap policy.
  • Four parts of one total. A pie chart can help show a small set of nonnegative categories with a common total. Bars are easier to compare if several shares are close or if the goal is exact ranking.
  • Relationship between two numeric fields. A scatter chart places each pair on two numeric axes and can show the relationship or unusual observations. A displayed association does not establish the cause.
  • Distribution and contributions. A histogram groups a numeric measure into intervals. A waterfall can explain additive changes between balances. State units and definitions for both views before selecting the chart.

A combo chart sometimes needs a secondary scale when the measures have distinct units. Label both axes and verify that the design does not imply an unsupported match across lines. A dashboard user may understand separate aligned charts more easily. Explain the reader's task first. A supervisor comparing amount per city needs the names and exact magnitudes. A manager asking what percentage is UPI has a parts-of-whole question. Keep text or table equivalents for the comparison if the graphic is read without colors.

Lab two. Check a chart based on a small source Table

Use a separate disposable workbook or sheet for the fictional payment summary. These values are examples inspired by a delivery checkout report and describe no real company's payment shares. Enter the four rows below, with numeric counts. Make an Excel Table called tblPayments. Confirm one row represents a payment mode for a named test period, not a payment transaction. The grand total of 100 refers to all four represented mode counts.

Fictional payment counts in the original training period
ModeCount
UPI35
Card28
Cash22
Wallet15
  1. Use the two source columns to insert a bar chart. Verify four nonempty category labels and lengths corresponding to 35, 28, 22 and 15. Give it a descriptive title such as Recorded payments by mode and include the fictional period.
  2. Build a pie chart from the same four labeled counts. Since the total is exactly 100, UPI is 35 percent and Card is 28 percent. Verify the denominator with a formula such as =SUM(tblPayments[Count]). Ask which chart makes it easier to see the difference between Card and Cash.
  3. In a copy change UPI from 35 to 45. The total becomes 110. Its revised share becomes 45 divided by 110, or about 40.91 percent. Card's count stays 28 but share changes to about 25.45 percent. Check that the chart reflects the revised source and that a label showing 45 represents the count rather than 45 percent.
  4. Restore 35. Then add a new count of 20 for Bank transfer in another practice copy and verify the row is inside the source Table. The new total is 120 and there are five categories. UPI remains 35, approximately 29.17 percent. Check that the dynamic chart source includes the new category before calling it correct. Inspect its source ranges if the fifth bar or slice is missing.
  5. Restore the original four modes or discard each experiment after recording the expected changes. Keep an accessible data table, title and any active filters beside the chart's summary. Confirm the values can be understood without relying on slice colors.

The term dynamic chart can mean several kinds of change. The values may update when the source data does. The number of categories may grow with an expanding Table. A user control may change which data the chart shows. State the behavior you need and how the chart reads its data. A PivotChart uses a PivotTable context. A normal chart might read a Table or a helper region calculated from a dropdown. Verify both its source and its actual series after adding a new member; chart references can be set to ranges elsewhere. When a chart depends on a pivot refresh, validate that refresh and observe a known change in the displayed series.

Use a visible check when data grows past the designed picture

If the chart still has four categories after adding one, confirm that the new mode is in the Table used by its series. A separately typed title carries no evidence about what cells the series is reading. Inspect source data or chart references using the supported client, then compare against the expected count of five. If the row is inside the source but dates or mode captions are filtered out, check the filters individually. An edited value might update the Table while a separate helper summary still lists a fixed set of four original modes. Make the new category decision explicit. A design intended to group new modes under Other needs an approved classification rule rather than silent exclusion.

Ask which comparison the chart will serve after expansion. In this practice a chart with five labels can still fit, and exact count labels or a sorted bar help compare the categories. If a business adds twenty payment modes, a bar chart with a documented top slice and visible remainder may communicate the requested order more clearly. A part-to-whole graphic requires a confirmed total including any remainder represented. Test a mode with zero observations and a missing amount separately. The label zero can describe a real count, while the absence of observations might instead mean the source did not report that mode for the intended batch.

Quiz. Predict the effect of a field, filter or source change

What does a Table filter to Pune change in the original practice?

The visible subtotal using the default Table Sum shows 544. A full-column SUM of tblOrders[Amount] stays 2870. A PivotTable has its own input and filter context, so check that context separately.

Why can a PivotTable show Count of Amount?

Its aggregation setting can be Count rather than Sum, including a starting default when data seems nonnumeric. Inspect the types and value field settings. Pune contains four order records and 544 in recorded amounts; these numbers answer different questions.

How can Pune's amount stay 544 while its percentage rises to 100 percent?

In the full report the denominator is 2870 and Pune represents roughly 18.95 percent. Filtering that PivotTable to Pune changes the reported total to 544, so the same amount represents the entire visible scope.

What happens when BLK-1011 at 60 is correctly added and the report reflects the source?

Pune becomes 604 across five orders. The grand amount becomes 2930 across eleven orders. Confirm actual Table membership and PivotTable refresh, and keep the stated city and status scope in view.

Why is 1.02 different from 1.01 in the commission example?

Each 10.10 row at five percent gives 0.505. Rounding each line to 0.51 gives 1.02. Applying the rate to the combined 20.20 gives 1.01. The exercise tests different rounding stages, so state the intended business policy.

If the payment count reaches 45, why is UPI not at 45 percent?

The revised total is 110. UPI's share is 45 divided by 110, or roughly 40.91 percent. Check the label's unit and the current denominator after adding to a group.

Model answers for report and chart follow-ups

How do you choose between a PivotTable and SUMIFS?

I use the pivot to explore and switch groupings and a formula when a fixed layout needs explicit range conditions. For the original practice I compare the Pune pivot subtotal to an independent SUMIFS for the same 544 scope. I verify refresh and source range.

Describe how you would diagnose a report that missed the new row.

I check whether the key belongs to the Table, whether the PivotTable uses that source, and whether its result reflects the current input and filters. Then I compare a known expected change, Pune 544 to 604 for BLK-1011 with amount 60.

When is GETPIVOTDATA preferable to a direct cell value?

I use it to express the value field and item I want when the report layout may shift. I validate that its anchor identifies the right PivotTable and test the requested item with active filters. I keep hidden or unavailable values separate from genuine zeros.

How would you make a top-five report testable?

I specify which categories and which aggregate are ranked. I confirm the known ordered output and define behavior if the cutoff ties. Filtering to the requested part of the report happens before interpreting which records are eligible for the ranking.

How do you verify a dynamic chart?

I change a known value and then add a genuine data member in an authorized copy. I test the displayed value, category list and unit against a separate calculation. If a PivotTable or helper supplies the series, I verify that dependency and filter scope too.

Recall cards

  • Table membership

    Check that a new row is part of the named data body before using it in totals and summaries.

  • Aggregation

    Read Sum or Count in its actual value settings and validate one subtotal independently.

  • Refresh and scope

    Confirm the source, report refresh and currently selected filters separately.

  • Percent of total

    A filter can change the denominator. Verify the displayed population with the exact numerical share.

  • Named pivot result

    GETPIVOTDATA refers to an identified pivot and named fields and items that are available in the result.

  • Dynamic picture

    Check both a revised value and a new category against the chart's observed source.

Official references

Rehearse two conditions that can make a summary look right while answering the wrong question

Practice a cutoff tie using separate copies

Keep the original ten rows as your control and make a scratch variant. In the variant change the original Sambhaji Nagar amount from 195 to 232. It now ties Kolhapur, also 232, for the fifth-largest amount, after Solapur 1299, Pune 544, Nashik 360 and Nagpur 240. Use a business specification that explicitly asks for exactly five cities. A reproducible secondary sort, for example ascending verified City label after descending amount, breaks the tie for this fixture in favor of Kolhapur. A different specification can show both tied cities and produce six displayed rows. Write down what you expect before applying the tool.

Do not assume a built-in value filter follows your secondary sort rule. Observe what the selected implementation displays, then choose a compatible sorted summary or ranking policy if needed. A written ranking such as "top five by original unfiltered amount, ties sorted by City label" gives a reviewer enough information to reproduce the intended result. If the assignment instead asks for all cities whose amount reaches the fifth-place threshold, the result includes both at 232. State that the criterion is based on city aggregates. A raw record ranked greater than 232 is a different calculation.

In the tie variant the total is 2907, an increase of 37. A chart or result that shows exactly five cities under the stated same five rule still totals 2675 across those five cities. Its repeated displayed sum hides the fact that the sixth city's amount changed. Compare the original total and reveal the scope of the shown group. If a chart states "share of all six cities", the entire 2907 must remain the denominator even when only selected ranked items are shown. A share over the visible chart categories can instead use 2675 and requires its own label.

Check the order count after a report grows into a line-item export

Use a miniature new source with one row per item line. The fictional source holds order T80 with amounts 25 and 35 in two lines, and T81 with amount 40 in one line. All two orders are in one city. Recorded sum is 100. A Count of Order ID on those lines yields three. The distinct order count is two and an average amount per order is 50. Dividing 100 by three instead gives around 33.33, which is the average line amount. Without the grain, both numbers can seem plausible to a report reviewer.

Build a small confirmed order-level list as part of the independent evidence. Group the two T80 rows, sum their amounts and check that T80 total is 60. T81 contributes 40. Two order totals reconcile to 100, just like the line sum. If the system can legitimately repeat an order ID across separate accounts or years, include the fields that define one order. For a supported Data Model distinct count, verify which field or composite identifier actually participates. If you use a query to aggregate to one row per order, keep an inspectable link from grouped amounts to original lines in a permitted review copy.

Explain a filter as part of the public number

Imagine the month in this practice is November 2026. A stakeholder screenshot of an isolated Pune pivot may show Pune 604 and 100 percent. Another team's image may show 604 as part of 2930. Both displays need their scope in view. The full-updated Pune share is approximately 20.61 percent, whereas the Pune-only report shows 100 percent of the selected group. Record the date selection, city filter, aggregation and original row count next to the report or chart. If a timeline to November is enabled but the date field was typed as text, confirm the intended record dates independently in the Table and revisit the date type.

Finish the demonstration by restoring all applied filters and the original workbook state, or retain a clearly separate practice file with the variants documented. Bring only a compact source and a result you understand to an interview. State one checked number before giving a general preference for pivots or charts. For example, "I confirmed Pune 544 across four records before adding a 60 amount inside the source Table. The refreshed report showed 604 across five." The arithmetic and grain together make the workflow testable for another reader.

Keep the chart and its control amounts in the same review. If a chart source omits a category, totals for only the remaining displayed categories can still be correct. Compare the full report against the expected record count before interpreting a change in share.