17. Interview Questions and Answers
17.1 Basics and References
Explain what an Excel file contains, how a copied formula locates its inputs and why a blank-looking cell might still contain a value. Then prove your answer in two small workbooks you can rebuild.
Q1. Describe the file, sheet and range
Give a short answer with an example
A workbook is the file Excel opens. A worksheet is a grid of rows and columns inside that file, usually reached by its sheet tab. A range is a selection of one or more grid cells, such as A2:B4. Each reference combines a column and a row. In a fictional Amazon-style invoice exercise, Practice.xlsx can hold an Orders sheet, a Rates sheet and a Review sheet. Orders and Rates are sheets in one workbook. The figure 18 percent in Rates B2 belongs to a cell on that sheet.
Point to the hierarchy when a question uses the word table loosely. In this course, an Excel Table is a specific named workbook object with column headers and structured references. A worksheet can contain multiple such Tables plus ordinary cells. Some analysts call a plain rectangle a table in conversation. Ask which they mean before promising automatic expansion or a formula such as a structured reference. The name Orders alone could be a worksheet tab, a named range or an object in a developer's code. Show which sheet or object the formula uses.
Verify two cells that share the same address text
- In a disposable copy, put numeric 100 in Orders B2 and 18 percent in Rates B2. Both are called B2 when viewed inside their own sheets.
- On Orders, an unqualified B2 refers to the local grid. In an Orders calculation, use Rates!B2 to read the corresponding input from Rates. Excel can insert the sheet reference for you when you start the formula and select the other tab and cell.
- If the tab is named Model Rates, Excel uses single quotes around the name in
'Model Rates'!B2. The quotes enclose the full tab name and the exclamation mark separates it from the address. - Check the result on the actual target as well as its formula bar. The display may show 18 percent even when the stored numeric value is 0.18. Two fields that look similar in the grid can belong to completely different worksheets.
When handing a workbook to a colleague, name both the file and the sheet if several monthly copies share a structure. Phrases such as "check H2" leave too much open. "In September_Practice.xlsx, check Orders H2 for the control total" describes one reproducible location. If a linked report looks correct only while an external workbook is open, mention the dependency and use a suitable practice copy to verify the intended Excel environment.
Q2 and Q3. Explain which parts of an address move
Use one vocabulary for the copy rule
A relative reference moves its row and column coordinates with a copy or fill. An absolute reference fixes both coordinates for copying. A mixed reference fixes either its column or its row. Think about the direction of the copy. Moving a formula one row down leaves the column displacement at zero. Moving it two columns right leaves the row displacement at zero. A dollar sign immediately before the column letter fixes that letter. A dollar sign immediately before the row number fixes that number.
- B2. Copy one row down and one column right. It becomes C3.
- $B$2. The same copy still refers to B2 because both are fixed.
- $B2. The column stays B and the row moves to three. The copied address is $B3.
- B$2. The column moves to C and the row remains two. The copied address is C$2.
Excel's documented F4 shortcut cycles the selected reference forms when editing in supported contexts. The keyboard or application may have a different binding. Type the dollar signs directly if the shortcut is unavailable. Review what ends up in the formula bar. A shortcut only changes reference spelling and cannot decide whether a rate should be shared across rows.
For interview purposes describe copying or filling precisely. A cut or structural edit is a different operation. An absolute reference does not freeze the value in the cell, lock someone out of edits or prevent Excel from adjusting a reference when workbooks or sheets are reorganised. A separate workbook protection policy concerns edits. The absolute spelling answers only how that coordinate behaves during the copy or fill shown.
Lab one. Check a rate copied down and a second formula copied across
In a blank practice sheet put Amount in B1, Tax in C1 and numeric 18 percent in F1. Put 100, 250 and 400 in B2:B4. Enter the first formula below in C2 and copy it down to C4. The intended taxes are 18, 45 and 72. The pieces sum to 135. Inspect C3 in the formula bar and confirm that B2 has become B3 and F1 stays fixed. Keep the amounts in B separate from the taxes in C so you can confirm the units and original inputs.
=B2*$F$1
- Predict each value using multiplication by 0.18. C3 receives 250 times 0.18, or 45. C4 receives 400 and the same rate, or 72.
- Change F1 to 20 percent in the practice copy. The results become 20, 50 and 80. This confirms that all three copies still depend on the same shared input.
- Restore 18 percent. Enter an independent test formula using B2*F1 and copy it down in a separate result range on the same rows. Inspect the second formula. It points at F2, which is empty in this fixture. The second result is zero instead of 45. This is a plausible number, so checking the formula and source is more useful than expecting an error message.
- Discard the experimental result or keep it clearly labelled for interview rehearsal. Set aside a verified copy with the original inputs and expected 135.
Build and verify a two-direction grid
On a separate practice sheet, B2 and B3 hold base values 100 and 250. Put factors of 5 percent and 10 percent in C1 and D1. Enter the second formula in C2. Copy it across to D2 and then copy those two cells down to C3:D3. Each input shares a factor from the column's first row and an amount from the current row's column B. The table shows the expected amounts. A mixed reference makes the two movements independent.
=$B2*C$1
| Amount | 5 percent | 10 percent |
|---|---|---|
| 100 | 5 | 10 |
| 250 | 12.5 | 25 |
Read each move before inspecting the last result
Start at C2
Amount B2 is 100 and factor C1 is 5 percent. The result is 5.
Copy right to D2
The amount stays B2, while the factor becomes D1. The result becomes 10.
Copy down to C3
The amount becomes B3, while factor C1 stays in row one. The result is 12.5.
Verify D3
The final addresses are B3 and D1. Multiplying 250 by 10 percent gives 25.
Trace D3 if the totals are unexpected. An incorrect fixed row on the amount would keep 100 and produce 10, not 25. An incorrect fixed column on the factor would keep the left percentage and produce 12.5. You can detect each mistake by predicting the displayed formula before pressing Enter. Change D1 to 12 percent and verify that only the last result column moves to 12 and 30. Restore it when you finish. The underlying lesson applies to any two-dimensional grid where row and column headers each drive a formula.
Q4. Describe a named range by its scope and destination
Use a name when it makes a real input easier to identify
A defined name can help a formula describe what it reads. In this fixture set a workbook-level name called GST_Rate for the shared absolute cell holding the agreed rate. A multiplication such as =B2*GST_Rate expresses intent more clearly than a location alone. Open the appropriate Name Manager or name tools in your version to verify the name's scope and Refers To destination. Use one name for one meaning. A percentage expected at 18 percent may be a demonstration input rather than a tax policy for every order.
The name can have workbook scope or local worksheet scope. A workbook-scoped name can be used from sheets in that workbook. A local name has a sheet context. If Orders and Rates each have local names with the same text, a formula can resolve differently according to where it is entered. Before handing off an interview answer, inspect names that collide and say which scope the workbook needs. A formula that displays GST_Rate may look the same even when its name resolves to a different location.
- For this test define GST_Rate referring to the exact fixed F1 input. Check the sheet name and both dollar signs in its reference.
- In a separate column on the original Orders fixture enter one multiplier with the name. Confirm it gives 18 at row two, 45 at row three and 72 at row four.
- Change the single agreed input to 20 percent and check both formulas that use a named input and formulas with the fixed address. Each should return the same values in the fixture.
- Restore the original input. Investigate an unexpected result by checking Name Manager, scope, the actual formula location and the value in the range. A name helps human memory while retaining a real workbook dependency.
Explain the effect of changing what the name points to
If a name refers to a defined static range for ten rows and the source grows to eleven, check the defined reference. A friendly name does not expand merely because more cells contain data. Some name designs use Excel Tables or intentional formulas to derive a growing output. Verify a new key in the source and check that the downstream calculation sees it. This turns a feature answer into a check a teammate can repeat.
Q5. Choose the function that matches the state you want to count
Describe each function using the same range
COUNT measures numeric values in the referenced range, including numeric zero and Excel dates stored as numbers. COUNTA counts cells with content, including text, the empty text returned by a formula and error values. COUNTBLANK counts truly empty cells as well as cells with a formula returning an empty string. COUNTIF counts matches to a criterion you supply. It answers a different question, like how many reported amounts exceed an agreed threshold. State whether the requirement concerns numeric amounts, data entry completeness or a specific condition.
Do not require COUNTA and COUNTBLANK to partition the range. A formula yielding empty text counts in both. A visual gap alone is weak evidence because a real blank, formula-produced empty text and a single whitespace character can look alike. To inspect one cell, use ISBLANK for the truly empty case, ISFORMULA to detect a formula in supported versions, and a suitable text length or type check for content. Check the formula bar too. The three checks describe what the worksheet stores, not merely what the eye sees.
Lab two. Reconcile amount types before converting a column
Imagine a fictional Swiggy-style merchant training file with typed amounts, missing entries and one exported text value. Start a new practice sheet and put Amount in B1. Enter the states below in the specified order. To create the numeric-text case type an apostrophe before 250. To create a truly empty cell leave B4 untouched. The empty-text case needs the formula with two quote characters. For the whitespace example type an apostrophe followed by a space, then confirm LEN for the cell is one. Numeric zero goes in as 0.
| Cell | Stored state | Visible example |
|---|---|---|
| B2 | number | 1250000 |
| B3 | numeric text | 250 |
| B4 | empty | Blank |
| B5 | empty-text formula | Blank-looking |
| B6 | number | 0 |
| B7 | single space | Blank-looking |
=COUNT(B2:B7)
=COUNTA(B2:B7)
=COUNTBLANK(B2:B7)
=COUNTIF(B2:B7,">10000")
=SUM(B2:B7)
=ISNUMBER(B3)
=VALUE(B3)
- Write your expected counts before entering the formulas. Numeric cells are B2 and B6, so COUNT returns two. Only B4 lacks content, so COUNTA returns five. B4 and B5 count as blank, so COUNTBLANK returns two. Exactly one amount exceeds 10000, at B2.
- SUM over the references gives 1250000 because B3 is stored as text. ISNUMBER in the test formula returns FALSE. VALUE for the simple text digits in B3 returns the numeric value 250. These checks tell you what happened before applying any currency display.
- Change B3 in a separate scratch copy to a verified number 250. Expect COUNT to rise from two to three while COUNTA and COUNTBLANK stay the same. SUM becomes 1250250. The threshold count remains one. Record the new stored type and the exact amount difference.
- Try deleting B5 in another untouched baseline copy. This removes the formula from the sheet. COUNTA drops to four, while COUNTBLANK remains two because both B4 and B5 are genuinely empty. Check B5 with ISBLANK and restore its formula or discard the copy after testing.
Check whether formatting can explain a discrepancy
If B3 still shows 250 after conversion, the display can look unchanged. With default alignment a numeric cell usually appears on the right and a text cell on the left. Manual alignment overrides that clue. A warning triangle appears only under applicable error-checking conditions. Use ISNUMBER and direct arithmetic checks to verify the underlying value. If amounts disagree between two reports, one source that stores a subset as text can quietly cause an incomplete sum.
If an import includes a missing Amount but Samira expects a numeric zero, agree the reason before substituting. Replace only entries known to mean a real zero. A formula used to show an empty value can be part of a pending calculation. Deleting it from a live sheet would remove its logic. Keep raw input available and create a validated staging field for numeric analysis. Tests for completeness should communicate exactly which blank state is treated as missing.
Q6 and Q7. Explain the display, then check the stored value
Use an Indian-style display for a real numeric value
Enter 1250000 as a number. If the required presentation uses Indian grouping and rupees, choose a compatible currency or regional format in the Excel environment where people will read it. Preview whether it displays as ₹12,50,000 in that environment. A currency symbol and grouping characters are presentation. Use ISNUMBER to verify true numeric storage and reference the amount from an independent total. In a shared workbook, especially across Excel clients or regions, check the target display rather than assuming one custom code gives the same result everywhere.
Apply the display to B2 in the lab if your Excel installation supports the intended grouping. Confirm the value remains counted and the original SUM stays 1250000. Change the displayed decimals from two to zero in a separate test and repeat the sum. A number format can round the visible display while calculation still uses the stored value. Describe a rounding policy in the actual formula when the business needs a rounded result, and check what is rounded before group totals are computed.
- Authoring environment. Desktop operating system settings, the active Excel environment and web regional display preferences can affect what is available or shown. Do not change a device's global regional settings merely to answer an interview question.
- Cross-client check. Preview a five- or six-digit amount, the seven-digit example, zero, and a negative amount if the file handles reversals. Check the intended units and whether negative values remain clear.
- Published text label. A formatted textual label can be useful for a presentation or mail merge when needed. Keep it separate from the numeric column used in calculations and describe the display rule explicitly.
- Digits that identify an entity. Customer codes and order references can require leading zeroes. Preserve these as text even if they contain only digit characters. Converting identifiers to numbers can merge keys or lose digits.
Choose a conversion based on the input you actually received
For simple text digits such as 250, the documented Convert to Number action or VALUE in a helper cell can convert a valid amount. Some imported exports use a consistent decimal separator and a separate group separator. For example, a European-style text string 1.234,50 uses comma as decimal and dot to group digits. When those conventions are known and supported, test a helper formula with NUMBERVALUE and explicit separators. On such an input, =NUMBERVALUE("1.234,50",",",".") represents numeric 1234.50. A different source may use different separators and needs a different rule.
Test messy input alongside the good values. An amount cell containing a currency word or a note needs a chosen transformation. Missing values need a separate rule before parse. A formula accepting empty text as zero can conceal incomplete data. Never strip all punctuation from a field containing meaningful decimals or signs. Keep a review output for strings that cannot be interpreted under the agreed source rules.
In a fictional retail export suppose row one contains text 0012 in Item Code and row two contains text 250 in Amount. Applying a blanket Multiply by 1 to both columns changes the first identifier to 12, while the amount conversion may be appropriate. The consequence can be a mismatch after joining the cleaned export to a product master that still stores 0012. State which column is numeric by design, then convert only that field. Use the operations for the approved inputs and compare the output keys.
Q8. Separate an expression from a built-in operation
Answer with both kinds of examples
A worksheet formula tells Excel to calculate something. For these examples it begins with equals, then uses cell references, values, operators and possibly functions. The expression =B2*C2 multiplies the two inputs without naming a function. A function is an operation you can call by name and provide with arguments. In =SUM(B2:B5), the SUM function receives a range as its argument, and the whole expression is the formula in the cell. An argument is an input supplied to that operation. In COUNTIF there is a range argument and a criterion argument.
Nested calls put the result of one expression into another. For example, =ROUND(SUM(B2:B5),2) gives ROUND the result of SUM and digits argument two. Explain where the arithmetic happens and how a displayed rounding differs from a rounded output value. The same distinction applies to the tax exercise. Formatting the taxes with no decimal places can make a fractional stored tax appear as a whole number, while the sum still adds its underlying amount. A formula can deliberately round each component before summing if that is the agreed rule.
Explain a genuine mistake with a reproducible trace
On a separate copy put 100.03 and 100.03 in two cells and use a fictional rate of 10 percent. Each exact intermediate product is 10.003. A two-decimal display shows each as 10.00. Rounding each product to two decimal places gives two stored values of 10.00 and total 20.00. Adding the exact products and rounding their total to two decimals gives 20.01 from 20.006. The rounding point makes the outputs differ by a cent. State whether the business needs a rounded amount per line or a rounded aggregated value before picking a formula. These are fictional amounts for explaining mechanics.
When a worksheet shows the formula string instead of a result, check the cell format, the initial character and whether Excel is displaying formulas across the sheet. Re-enter an intentional formula after verifying the intended format when a prior text format kept its expression as text. Check supported function spelling and separators in the actual environment. If Excel returns a warning or a specific error, inspect the formula and input before guessing that it needs a function wrapper.
Follow a value when a second copy has the same layout
Test the workbook identity before reviewing a formula
Suppose the original practice book uses the 18 percent rate and a copied book contains 20 percent. Both books show an Orders tab, with 100 in B2. If you report the expected 18 while viewing the second file, every local cell address still sounds correct. Open the intended practice copy and name it in the answer. On its Orders tab trace the rate to F1, inspect the displayed percentage and verify that C2 gives 20. In a later month, the rate or the range of records may need to change even when the sheet arrangement stays familiar.
When an interview copy will be shared, include a small source label in an agreed location and explain what it denotes. A label may say "October fixture" and show the test date. It is a helpful clue and has to agree with known source values. Identify who prepares the source and confirm the right period independently. If the label from the old file was copied as part of the template, it can carry yesterday's meaning into a new calculation. Compare a sample ID, source period and shared rate with the specified expectations.
Describe a relative reference as a distance
Read the first tax formula from C2. Its B2 part means one column left in the same row. When the formula is copied to D3, a fully relative B2 becomes C3. The destination is one column right and one row down relative to where the formula started. If the interviewer asks why $B2 was used in the grid, show that the row amount remains in B even after moving to D. Now inspect D3 independently. Picturing the distance between the formula and the source is often easier than memorising all four spellings.
Here is a concise follow-up answer. The references answer where the inputs come from, and the selection scope answers which source is active. I checked that D3 referred to B3 and D1 in the right practice workbook. The output 25 followed from 250 multiplied by ten percent. If D3 referred to the wrong workbook, the dollar signs could preserve the address inside the wrong file. Identify the workbook, sheet and address together when showing the evidence.
Explain the inputs before sharing the results
Check the likely copy errors in a real report
Suppose a handoff shows a tax total of 135. The person reviewing it needs to know that this value comes from three lines and the shared 18 percent training rate. If the workbook has rows for different regions, a shared rate might be the wrong model even though its cell is correctly locked. In that case the appropriate next step is to identify each row's rate and how to retrieve it from a checked reference. Technical correctness includes the right dependency, a matching range and the right business rule.
When copying across to a summary, include examples where row and column inputs are deliberately different. A test with the same rate in both columns cannot expose a wrongly locked rate column. A test with equal base values cannot reveal a locked amount row. The 100 and 250 amounts with 5 and 10 percent rates produce four distinguishable numbers. Check the corner D3, which moved in both directions. If a formula is wrong only on the far edge, looking only at C2 can miss it. Document the exact cell and revised formula when fixing a mistake in a shared practice workbook.
Explain protection separately from reference behavior
A dollar sign in a reference does not prevent coworkers from overriding the source value. If an approved work process needs locked inputs, determine who can edit the workbook and inspect the actual sharing and protection settings. If a user accidentally types 18 in a General cell while intending 18 percent, the numeric multiplier is eighteen. Multiplying 100 by eighteen gives 1800. An expected 18 is obtained using 18 percent or its numeric equivalent 0.18. Check the arithmetic with a round value before repeating to all lines.
In a shared model record who maintains the rate and which dates each value covers. The practice workbook has one deliberately shared scenario rate. A department that uses multiple effective dates may keep a rate history within a validated source. A workbook name such as GST_Rate is helpful only when the scope and rule match what the name suggests. Add a named documentation cell with the rate's meaning, and verify the date and source while testing. This kind of note is stronger evidence than using a technical name alone.
Keep counts and totals meaningful in a status review
Imagine that a team receives a file that claims six orders, and the amount checks find only two numeric cells. Do not report that the delivery team fulfilled two orders. The function counted records with amounts represented as numbers; fulfillment needs valid status evidence. If the working sheet includes one empty row and a couple of display blanks, count distinct valid order IDs for a row count and reconcile that against the source export where possible. Then separately report what percentage of valid records has a usable amount. The denominator for completeness needs a defined scope and deliberate exclusions.
Use a cross-check when pasting data from another report. Copy values to a scratch area preserving their intended types, then compare a few keys, numeric quantities and counts with the source. A visible prefix or displayed leading zero may be formatting. If a product key is defined as fixed-width text, enter it that way from the start. An identifier with more digits than Excel can represent accurately as a number must also remain text through import. Fixing a number format after loss of digits does not recreate the original identifier.
- Use the Formula Bar to inspect a precise result or source spelling.
- Check a known value, zero, missing input and one deliberate text import.
- Write down whether the count includes formula-generated empty text.
- Restore or discard the isolated fixtures after completing both rehearsals.
Quiz. Predict what persists after a copy
What is B2 on Orders compared with B2 on Rates?
Each is a cell at the same coordinates on a different sheet. From Orders, B2 by itself is local. Rates!B2 explicitly reads the rate cell on Rates. Checking the formula's sheet qualifier protects against a shared amount being multiplied by an unrelated local value.
Which address survives unchanged when C2 is copied to D3, $B$2 or $B2?
The fully fixed $B$2 remains exactly that. $B2 becomes $B3 because only column B is locked. The relative row moved one down. Explain the column and row behaviors separately.
Which four values belong in the rate grid?
The row with amount 100 produces 5 and 10. The row with 250 produces 12.5 and 25. The mixed references choose the amount from the current row and factor from the current column. D3 is especially useful because it checks both copy directions.
Does COUNTA plus COUNTBLANK always equal the number of cells?
No. The six-cell practice gives five plus two because B5 contains a formula returning empty text. That state contributes to both counts. Explain what each measure means before using either one to describe completion of an import.
Does Indian currency formatting turn the number into text?
A number format changes the display. The stored number 1250000 remains numeric and can contribute to an ordinary numeric sum. Use ISNUMBER as an independent check and preview the intended grouping in the actual client.
Should 0012 and 250 both be converted when an export contains them as text?
The correct rule depends on the fields. A product code 0012 can require its leading zeroes and stay text. If 250 is a valid amount according to its source convention, convert that field and check its numeric type. Blanket conversion can damage the key.
Model answers to say out loud
Explain an absolute reference to someone who has never copied a formula.
I have three amounts and one rate at F1. In the first result I multiply B2 by $F$1. When I fill down, the amount becomes B3 and then B4, while the rate address stays F1. Changing that one rate updates the three results. Checking the second line proves what moved.
When is a mixed reference practical?
In a matrix, the current row can choose an amount and the current column can choose a rate. In C2 I use $B2 for the amount and C$1 for the rate. Filling to D3 reads B3 for 250 and D1 for 10 percent. I expect 25 and check the shown formula for both references.
How would you verify a shared name in a workbook?
I use the defined-name tools to check the spelling, scope and Refers To location. Then I compare one known output to an expression referencing the expected cell directly. If two sheets have same-spelled local names, I verify each formula's actual sheet context before assuming they read one input.
How would you fix an imported number without changing identifiers?
I identify which column is an amount and preserve a raw copy. I convert valid source text using the agreed separators and type, then check ISNUMBER and a known total. I leave order IDs or leading-zero codes stored as their intended text. A difference after conversion is a result to reconcile.
Explain a formula that contains no function and one that does.
Equals B2 times C2 is a formula made from references and an operator. Equals SUM of B2 through B5 is a formula using a named sum operation and a range argument. I can check each with an independent calculation on small numbers.
Recall cards
Workbook and sheet
Name the file and then the worksheet. A reference qualifies the sheet when reading another tab.
Relative copy
A relative row or column moves with the copy. Changing reference position does not guarantee the business input is correct.
One locked direction
$B2 holds the column and C$1 holds the row. The pair serves a two-direction matrix.
Scope of a name
Check its scope and what it refers to. The spelling alone does not show its destination.
Empty text
A formula returning empty text qualifies for both COUNTA and COUNTBLANK. Verify the actual cell state.
Numeric storage
Keep currency amounts as genuine numbers. Reserve text for identifiers and deliberate presentation labels.
Official references
- Microsoft overview of formulas and sheet references
- Microsoft relative, absolute and mixed copying
- Microsoft defined names
- Microsoft worksheet counting functions
- Microsoft conversion of imported text amounts
- Microsoft web regional display settings
- Microsoft number formats and stored values
- Microsoft NUMBERVALUE
Continue practising: explore the existing Excel Task Hub for additional exercises.