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

Excel

4. Lookup Functions

An order sheet knows the store code. A separate store list knows the city. Your job is to connect those two facts accurately. Lookup functions make that connection repeatable, so you can spend time understanding the report instead of searching through rows and copying answers by hand.

This chapter starts with that simple problem and builds towards flexible searches, fee bands, two-way tables and reliable exception checks. You do not need a programming background. You do need to recognise a cell address, enter a formula and understand the difference between a changing reference and a fixed range. All store names, people, codes, amounts and operational situations below are fictional teaching examples. Blinkit and Amazon Now are familiar business contexts, not sources of these records or claims about their internal systems.

Remember the connection: identify the record, find its position, return the required fact, and check whether that answer is trustworthy. A formula that returns something has not necessarily returned the right thing.

1. Connect information before calculating a report

A repeated manual task becomes a rule

Imagine a college project that studies a small delivery operation. Your Orders sheet contains one row per order. Its StoreID column tells you which store handled each order, but the report needs totals by city. You could search a store directory, read the city and type it beside every order. That works for three rows. With several hundred rows, you repeatedly perform the same mental operation, and one mistyped city can split a total into separate categories.

A lookup expresses that operation once. For each order, take its store code, search the directory for that code, and bring back the city from the matching record. If twenty orders share one store, all twenty can use the same directory entry. You are not asking Excel to guess a city from a code. You are asking it to retrieve an existing relationship that someone has maintained in a source table.

  • Input: the StoreID recorded against the order.
  • Source: the maintained list of stores and their attributes.
  • Match rule: the same store code must be present in the source.
  • Output: the city belonging to that record.
  • Check: the source should contain exactly one intended record for that code.

Retrieving a fact is different from adding transactions

A city lookup returns an attribute of a store. A sales total adds several transactions. Those are different questions even if both use the StoreID column. If you need the total amount of all orders handled by one store, a single-result lookup is usually the wrong operation: it may return the amount from just one order. Use an appropriate aggregation such as SUMIFS, a PivotTable or another method designed to combine records.

Similarly, finding one customer name does not list every order by that customer. This distinction prevents a common beginner mistake: choosing a formula because its name is familiar before deciding what one answer represents. Write the question in an ordinary sentence first. “Return this store's city” suggests retrieval. “Add every delivered order from this city” suggests filtering and aggregation. “Show all matching orders” suggests a multiple-record result, covered later with filtering tools.

Keep the relationship in one understandable place

For this chapter, a store directory has one row per store. An order list has one row per order. These two lists describe different things, so repeated store codes in Orders can be perfectly reasonable while repeated store codes in the directory need investigation. Repetition is not automatically an error; the meaning of a row decides whether it is expected.

If you correct a store's spelling in the directory, formulas connected to that field can recalculate the corrected name. This reduces repeated maintenance. However, think about history: if a store changes city or manager, should an old order show today's information or the information that was true when the order occurred? A basic lookup against the current directory gives the current record. Historical reporting may need effective dates or a saved transaction attribute. The formula cannot decide that business rule for you.

2. Read the teaching data as a set of relationships

The master list

Create a sheet named Stores. Enter the following headings in A1:F1 and the seven records in rows 2 to 8. These addresses are used consistently in this chapter. Keep each heading in its own cell, avoid merged cells in the list, and keep the complete row together whenever sorting. The names and example.com email addresses are invented for practice.

Stores!A1:F8 — the fictional directory
StoreIDPlatformCityAreaCityManagerManagerEmail
BLK-PUN-01BlinkitPuneKothrudAbhishek Shindeabhishek.shinde@example.com
BLK-PUN-02BlinkitPuneHinjewadiPriyanka Shindepriyanka.shinde@example.com
BLK-NSK-01BlinkitNashikCollege RoadZoyazoya@example.com
AMN-NGP-01Amazon NowNagpurDharampethAmiramir@example.com
BLK-KOP-01BlinkitKolhapurRajarampuriRanirani@example.com
AMN-SLP-01Amazon NowSolapurMurarji PethSalmansalman@example.com
BLK-SBN-01BlinkitSambhaji NagarCIDCORajaraja@example.com

The key is the link, not a decoration

StoreID is the key used to identify a store. Pune is not a suitable substitute in this example because two different stores share that city. The manager's display name is also less reliable as an identifier: people can share names, names can change, and spelling conventions vary. A useful key has a clear meaning and remains consistent between the lists you want to connect.

For these codes, the hyphens and letters are part of the value. Treat the codes as text. Do not remove characters simply because the result looks cleaner. If a different system uses codes such as 00127, leading zeros may be significant too. Number formatting can make a numeric value display leading zeros, but that is not the same as storing an identifier as text. Agree on one representation before joining the lists.

  • Check that every expected source code is present.
  • Check whether a source code occurs more than once.
  • Inspect unexpected spaces and inconsistent character substitutions.
  • Keep the return field on the same logical record as its key.
  • Record who maintains the directory and when it was checked.
A request containing BLK-NSK-01 connects to the same store code in the directory and returns Nashik; the key is matched before the city is returned.
The code identifies the record. The city is a fact attached to that record. Copying the third row without matching the code would be a different operation.

Write the expected answer before entering a formula

Find BLK-NSK-01 with your eyes. It is the third data record, although it sits on worksheet row 4 because row 1 contains headings. Its City is Nashik. That distinction between data position and worksheet row becomes important when you learn MATCH. For now, write Nashik in a small “Expected” note beside your practice result. This gives you an independent check instead of accepting the first answer Excel displays.

Repeat this manual check for AMN-SLP-01, whose city is Solapur, and BLK-PUN-02, whose area is Hinjewadi. These examples deliberately ask for different fields. A formula can locate the right store and still return the wrong field. Testing both the record and the requested attribute catches that mistake.

3. Build your first exact lookup in small pieces

Give every argument a job

Make a separate practice sheet named Requests. This is a small exercise sheet, not a replacement for the larger Orders dataset elsewhere in the course. Put RequestID in A1, StoreID in B1, City in C1 and Manager in D1. Put R01 in A2 and BLK-NSK-01 in B2. In C2, enter the following formula. These examples use English function names and commas; installations with different regional settings may require semicolons or localised names.

=VLOOKUP(B2,Stores!$A$2:$F$8,3,FALSE)

The input B2 changes when you copy the formula down. The fixed source range remains the same seven records. The number 3 means the third column of the selected A:F source block, which is City. FALSE requests an exact match. VLOOKUP searches the first column of its selected block and returns a value from the matching row. This is the documented function behaviour; see the Microsoft VLOOKUP reference.

  1. Read the input: B2 currently contains BLK-NSK-01.
  2. Inspect the search column: the first column of Stores!A2:F8 is A, containing StoreID.
  3. Locate the record: BLK-NSK-01 is found in the third data row.
  4. Select the requested field: the third column in the block contains City.
  5. Return the value: C2 should show Nashik.
  6. Compare with the manual check: both methods identify the same record and field.

Fixed source, moving request

Put R02 and AMN-SLP-01 in row 3 of Requests. Copy C2 down to C3. The request reference should become B3 while the source remains Stores!$A$2:$F$8. C3 should display Solapur. If you omit the dollar signs and the source shifts down during copying, early formulas may still appear correct while later ones miss records. Always inspect a copied formula, not only the first formula you entered.

The source range here is deliberately small so you can see its boundaries. It does not automatically include a new record typed in row 9. Extending a plain range is a separate maintenance task. An Excel Table can make growing data easier to manage, but conversion and structured references need their own checks. A range becoming longer does not establish that a new code is unique or that its city is correct.

A column index belongs to the selected block

For Manager in D2, change the return index from 3 to 5. The same store should now return Zoya. The key, match rule and source record have not changed; only the requested field has changed. This gives a useful debugging question: is the formula selecting the wrong record, or selecting the wrong attribute from the right record? Those faults need different repairs.

If a new column is inserted before CityManager, a hard-coded 5 can begin pointing at a different field. A plausible text result may appear without an obvious error. Later lessons use a header match or directly selected return range to reduce this dependency. Even those designs still need checks after structural edits. A formula is a description of your layout and rules, not a permanent guarantee that the layout will remain meaningful.

Follow one lookup through the workbook

  1. Read the request

    Requests!B2 contains BLK-NSK-01. The task asks for its city, so first locate the City field rather than choosing a column number from memory.

  2. Match the code

    Search the StoreID column in Stores!A2:A8. The matching entry is A4. Within that seven-cell search range, its position is three.

  3. Return the related field

    Move across the same record to City in column C. The value is Nashik. This is retrieval from a record, not a calculation based on the spelling of the code.

  4. Check the result

    Compare Nashik with the directory and confirm that the code occurs once. Then try a different known code and one missing code before copying the formula to a longer list.

4. Choose a method that fits the question and Excel version

Separate the position from the returned value

MATCH answers “where in this range is the item?” For BLK-NSK-01 in Stores!A2:A8, exact MATCH returns 3. INDEX can then return the third item from Stores!C2:C8, which is Nashik. These two operations make a useful pair because the search column and return column can be selected independently. Microsoft documents the position result in MATCH and the retrieval operation in INDEX.

=MATCH(B2,Stores!$A$2:$A$8,0)
=INDEX(Stores!$C$2:$C$8,MATCH(B2,Stores!$A$2:$A$8,0))

Read the inner MATCH first. Its output becomes the position supplied to INDEX. The two ranges must describe the same records in the same order. If the lookup range starts on row 2 but the return range starts on row 3, a position of 3 points at different stores in the two ranges. Matching lengths alone is not enough; their row alignment matters as well.

Use a direct search and return pair when available

XLOOKUP lets you state the search range and return range directly. Its default match is exact, and an optional missing-match message can make an unresolved code visible. It is available in supported modern Excel versions including Microsoft 365, Excel 2021 and Excel 2024, but not Excel 2016 or Excel 2019. Microsoft explicitly notes that limitation in the XLOOKUP documentation.

=XLOOKUP(B2,Stores!$A$2:$A$8,Stores!$C$2:$C$8,"Check store code")

This expression is easier to read aloud: find B2 among the store codes and return the corresponding city. The message does not repair a missing record. It helps the learner notice and investigate it. A formula returning “Check store code” should not be treated as a completed enrichment when preparing a city-level report.

Recognise other shapes of lookup

  • Horizontal lists: HLOOKUP searches across the top row of a selected block and returns from a specified row. It is useful for understanding existing horizontal reference sheets.
  • Two-way tables: identify both a row label and a column label, then return their intersection. A fee matrix might need a delivery zone and a parcel category.
  • Position-only questions: XMATCH is a modern alternative when the required answer is a relative position. Do not expect the position itself to be a city or a price.
  • Several attributes: a supported dynamic-array lookup can return adjacent fields together. The destination cells need room for the result to spill.
  • Older workbooks: learn exact VLOOKUP and INDEX with MATCH so that you can read and maintain files shared with older Excel versions.

There is no prize for using the newest function in every workbook. Choose a method your recipients can calculate and your team can explain. A small clear formula with visible checks is often easier to maintain than a clever formula whose assumptions nobody remembers. The later lessons examine each method separately so you can practise the relevant controls without learning every option at once.

5. Treat fee bands as a different kind of question

A threshold describes an interval

Suppose a fictional delivery project charges ₹40 for basket values from ₹0 up to, but not including, ₹200; ₹25 from ₹200 up to, but not including, ₹500; and ₹10 from ₹500 upwards. These are teaching rules, not any delivery company's actual charges. A basket worth ₹350 has no exact row in the three-row fee table. It belongs to the interval beginning at ₹200, so the fee is ₹25.

The table stores each interval's lower boundary. An ascending approximate VLOOKUP selects the greatest listed boundary that does not exceed the basket value. A value of ₹490 still belongs to the ₹200 band even though it is numerically closer to ₹500. This is not a nearest-distance calculation. The business rule defines which side of a boundary owns a value, and the formula must implement that rule.

Fees!A1:B4 — lower bounds in ascending order
MinimumBasketFee
040
20025
50010
=VLOOKUP(A2,Fees!$A$2:$B$4,2,TRUE)

In this formula, A2 belongs to a separate FeeTests sheet and contains a numeric basket value. TRUE is intentional because the source is a defined band table. Do not copy that option into a store-code lookup. The same function name can serve two different questions, but its match setting and data preparation must fit the question being asked.

Test the boundaries rather than only a comfortable middle value

  • ₹199.99 belongs to the first band and returns a fee of ₹40.
  • ₹200 is exactly the second boundary and returns ₹25.
  • ₹499.99 remains in the second band and returns ₹25.
  • ₹500 is exactly the third boundary and returns ₹10.
  • ₹350 returns ₹25 because the selected lower bound is ₹200.
  • A negative basket is invalid for this exercise. Reject or flag it before using the result.

Testing only ₹350 proves little about the edges. A boundary mistake could affect every basket priced exactly at ₹200 or ₹500 while leaving that middle test correct. For each threshold, test a value immediately below it, the threshold itself and a value immediately above it. Also decide what should happen outside the valid input domain. A technically calculated result can still be unsuitable when the input violates the exercise's rules.

Three fee bands: zero to below 200 costs 40 rupees, 200 to below 500 costs 25 rupees, and 500 or more costs 10 rupees; 490 stays in the middle band.
A boundary chooses a band. ₹490 is closer to ₹500, but it has not reached the next band's minimum.

Keep rule changes separate from formula repairs

If the project changes the second threshold from ₹200 to ₹250, that is a change to the charging policy. Update the source table and expected results together, then retest the boundaries. If a formula was pointing at the wrong range, that is a calculation repair. Writing down which kind of change occurred helps another student understand why yesterday's results differ from today's.

For more complex pricing, a fee may depend on distance, time, parcel weight, membership and promotion eligibility. Do not claim that one simple lookup represents that entire pricing system. Use the small band table to understand one decision clearly, then add dimensions only when their rules are explicit. Complex formulas cannot compensate for an undefined policy.

6. Make exceptions visible before trusting the report

Missing is different from zero

A missing StoreID means the lookup cannot establish the requested relationship from its source. It does not mean the store has zero sales, no manager or an empty city by design. Replacing every lookup error with zero can hide incomplete data in a report. For a city output, a clear review label is useful. For a numeric output, keep an explicit status alongside the numeric field so that missing values are not silently included as valid zero amounts.

Start by reading the original error. An absent exact match commonly produces #N/A. An invalid reference can produce #REF!. A result from the wrong column may produce no error at all. These situations are not interchangeable. Broad error suppression can make a worksheet look tidy while removing the information needed to repair it.

One match does not prove one source record

Suppose BLK-NSK-01 is accidentally entered twice, once with Nashik and once with Pune. A normal first-match lookup can return Nashik and appear successful. Reversing the source order may change the answer. The problem is the conflicting directory, not a failure to find the code. Investigate which record is valid instead of assuming the first or last occurrence is correct.

For our literal store-code values, a COUNTIF check can count matching source entries. Zero means no matching code; one is the expected directory relationship; more than one means review duplicates. COUNTIF uses case-insensitive comparison and supports wildcards in criteria, so this simple form is intended for the specified codes, which contain no asterisks or question marks. A system where those characters or letter case are meaningful needs a more carefully defined check.

=COUNTIF(Stores!$A$2:$A$8,B2)

Preserve the original value while investigating

When an imported code contains unexpected spaces, keep a copy of the raw input before cleaning it. A helper column can show the proposed cleaned key and a separate column can show whether it matched. This makes the transformation reviewable. Avoid deleting all spaces or punctuation across an entire identifier column without understanding whether those characters carry meaning.

Formatting a cell as Number does not necessarily convert text already stored inside it. Likewise, changing how a date looks does not prove that two systems supplied the same underlying date. Before blaming the lookup, inspect the actual input type and source values. The course's text, date and data-cleaning lessons develop these checks in detail.

  • Known record: confirm the expected attribute using a manual source check.
  • Missing record: confirm that the exception remains visible.
  • Duplicate record: confirm that a separate check notices the ambiguity.
  • Changed source: confirm that the output follows the intended update.
  • Changed layout: confirm that the formula still returns the intended field.
  • Recipient's Excel: confirm that the chosen functions are supported.

7. Lab: enrich requests and investigate an unmatched code

Build a small, inspectable result

Use the Stores directory exactly as shown earlier. On Requests, keep RequestID, StoreID, City and Manager as the four headings in A1:D1. Enter the four request IDs and store codes below in A2:B5. The Worksheet row column in the teaching table is a location guide; do not enter it as a data column. Leave the City and Manager cells empty initially. The point is to practise a complete workflow: inspect the source, predict answers, write formulas, copy them carefully and explain an exception. Do not type the expected cities directly into the formula result cells.

Requests input and expected interpretation
Worksheet rowRequestIDStoreIDExpected CityExpected Manager
2R01BLK-NSK-01NashikZoya
3R02AMN-SLP-01SolapurSalman
4R03BLK-PUN-02PunePriyanka Shinde
5R04BLK-XXX-99UnmatchedUnmatched
  1. Enter the exact VLOOKUP city formula in C2 and copy it through C5.
  2. Enter the same formula pattern in D2 with return index 5, then copy through D5.
  3. Inspect the first and last copied formulas. The request row should change; the source range should remain fixed.
  4. Compare rows 2, 3 and 4 with the expected cities and managers above.
  5. Observe the missing-match result in row 5. Locate the absent code in neither source nor a guessed substitute.
  6. Put SourceMatches in E1 and the COUNTIF check in E2. Copy through E5. Expect 1, 1, 1 and 0.
  7. Add a short written note that R04 needs a corrected code or an approved directory entry before reporting.

Compare two methods without changing the question

If your Excel supports XLOOKUP, place an alternative city formula in F2 using the direct search and return ranges shown earlier, with “Check store code” as the missing message. Copy down. The three valid rows should agree with column C. The fourth row should show the review message. If your Excel lacks XLOOKUP, use INDEX with exact MATCH in that comparison column instead and retain the visible missing error for investigation.

Agreement between two formulas is useful but is not independent proof when both reference the same incorrect source. The manual directory check remains important. For example, if the directory itself incorrectly says Nashik is Pune, both formulas faithfully repeat the bad source value. Formula checking and source-data checking answer different questions.

Introduce a controlled fault

Save a copy of the practice workbook before this experiment. In that copy only, change the return index in the city VLOOKUP from 3 to 4. The first result becomes College Road. That is a valid value from the right store, but it is the Area rather than the City. Notice that Excel does not display an error. Restore the index to 3 and record the diagnosis: correct matched record, incorrect returned field.

For a second experiment, change Requests!B3 from AMN-SLP-01 to AMN-NGP-01. The city should change from Solapur to Nagpur and the manager from Salman to Amir. This demonstrates the dependency between input and output. If only one result changes, inspect the formula in the unchanged column. If neither changes, check calculation settings and the actual formulas before retyping the expected answer.

Lab completion check: you should have three resolved requests, one visible unresolved request, source-match counts of 1, 1, 1 and 0, and a written explanation of the wrong-field experiment. A screenshot of four polished rows without those checks is not the complete result.

8. Lab: build and test a fictional delivery-fee schedule

Translate the written policy into a source table

Create the Fees sheet with the three lower bounds and fees from section 5. On a new FeeTests sheet, put Basket in A1, CalculatedFee in B1 and ExpectedFee in C1. Enter the eight basket values below in A2:A9. Type the expected fees into column C from the written policy before entering any formula in B. This keeps the expected answers independent of the formula being tested.

Eight boundary and ordinary cases
BasketExpected feeReason
040First band's lower boundary
199.9940Still below 200
20025Second band begins
200.0125Inside the second band
35025Ordinary middle case
499.9925Has not reached 500
50010Third band begins
65010Inside the final open-ended band
  1. Confirm that Fees!A2:A4 contains numeric values in ascending order.
  2. Enter the approximate VLOOKUP formula in FeeTests!B2 and fill down through B9.
  3. Put MatchesExpected in D1. In D2 enter =B2=C2 and fill down. All eight comparisons should be TRUE.
  4. Add the calculated fees. Their total should be ₹200, providing a second simple control for this exact fixture.
  5. Change only the test basket 350 to 490. Its fee should remain ₹25; the unchanged fee demonstrates band membership rather than nearest distance.
  6. Restore 350 after recording the result so the fixture remains reproducible.
  7. Test a negative value in a separate scratch cell. Explain that it is outside the accepted domain and must be flagged rather than charged as a valid basket.

Test a policy change and preserve its meaning

In a saved experiment copy, change the second lower bound from 200 to 250 while keeping fees 40, 25 and 10. The baskets 200 and 200.01 now belong to the first band, so their fees become ₹40 each. The other six results stay the same. The total across the eight test rows rises from ₹200 to ₹230. This total is specific to the teaching fixture; it is not a prediction about a real business.

Record the previous threshold, the new threshold and the changed expected outcomes. If someone only sees the new total, they cannot tell whether the increase came from a changed policy or a broken formula. This small change log is a practical habit for any workbook used to make decisions. Restore the original threshold when you finish the experiment, or clearly label the copy as the revised-policy version.

Explain the design to another student

Ask a classmate to choose a basket value without showing it to you. They should use the written policy to predict the fee, then enter it into the test sheet and compare the formula. If they choose ₹499.99 and predict ₹10 because it is nearly ₹500, the disagreement reveals a misunderstanding of the interval rule. Use the band image to explain why the next band has not started yet.

Your final explanation should mention the lower-bound interpretation, the ascending source order, the exact boundary behaviour and the valid input domain. Memorising TRUE as “approximate” is not enough. The learner should be able to defend why that option is correct for this fee schedule and incorrect for a store identifier.

9. Follow the chapter in a useful order

Use the overview labs to establish the basic idea, then practise each technique on its dedicated lesson page. The sequence below separates different decisions: matching an identifier, choosing a return field, selecting a position, navigating two dimensions and interpreting a band. Return to this overview whenever the formula syntax starts to hide the original business question.

  1. Exact VLOOKUP: connect a known key to a stored attribute and inspect missing matches.
  2. Approximate VLOOKUP and the column index: distinguish band logic from field selection.
  3. HLOOKUP: understand a reference table arranged across columns.
  4. INDEX with MATCH: separate locating a record from retrieving its value.
  5. Two-way lookup: choose both a row and a column in a matrix.
  6. XLOOKUP basics: use direct ranges and explicit missing-match messages.
  7. XLOOKUP modes and multiple returns: distinguish match criteria, search order and spill results.
  8. XMATCH: use a modern position lookup where supported.
  9. Delivery-fee slabs: practise thresholds and boundary checks in detail.
  10. Lookup errors and repairs: investigate concrete symptoms without hiding the cause.
  11. Practice and answer key: complete a mixed lookup task and explain your checks.

Study in short rounds with a visible output

For each lesson, first predict one answer, then build the formula, then deliberately change one input. Finally explain the result without reading the syntax. This four-part routine gives you a small achievement at each stage and reveals whether you understand the relationship. Reading a long lesson in one sitting is optional; completing a clear example and returning later is often easier to remember.

Keep a compact practice log with the question, chosen key, source range, return field and one failed test. The failed test is valuable because it records the boundary of your understanding. When preparing for an interview or a project, these short records are easier to revisit than a workbook full of unexplained formulas.

10. Check your understanding before opening the answers

Answer each question aloud or write one sentence first. The explanation matters more than choosing a function name. If your answer differs, return to the relevant example and change a value yourself. A remembered rule becomes useful when you can predict the worksheet's behaviour.

1. Two stores are in Pune. Can City identify one store reliably?

No. In this directory, City is shared by BLK-PUN-01 and BLK-PUN-02. A city search cannot uniquely identify which store's area or manager you intended. Use StoreID for a request about one store. If the question is about all stores in Pune, it needs a multiple-record or aggregation approach rather than pretending there is one unique city record.

2. MATCH returns 3, but the matching code is on worksheet row 4. Is the formula wrong?

Not necessarily. The supplied range begins at A2, so A2 is position 1, A3 is position 2 and A4 is position 3. MATCH reports position inside its range. INDEX must use a return range aligned with that same sequence of records. Confusing position with worksheet row can shift the result by one record.

3. A city formula returns College Road without an error. Which part should you inspect?

Inspect the requested return field. College Road is the Area for BLK-NSK-01, while Nashik is its City. A return index of 4 selects Area in our source block; 3 selects City. The record can be matched correctly while the output column is wrong. That is why a plausible result still needs a check against the question.

4. Under the original fee rules, should a ₹490 basket receive the ₹10 fee?

No. The ₹10 fee starts at ₹500. A ₹490 basket remains in the interval beginning at ₹200 and receives ₹25. Approximate lower-bound lookup is not a nearest-distance contest. The result follows the interval definition even when the input is numerically much closer to the next threshold.

5. Does a successful XLOOKUP prove the source key is unique?

No. A lookup can return a matching occurrence while another copy of the same key remains elsewhere in the directory. Use a separate uniqueness check and inspect conflicting records. Choosing the first or last occurrence is a search decision; it does not establish which record is valid or whether duplication was intentional.

6. Why keep the unresolved request visible instead of replacing it with a blank?

A blank may look like an intentional empty field and can disappear into a report unnoticed. A visible status preserves the fact that the relationship has not been resolved. It tells the learner which input or source record needs attention. Presentation should help investigation, rather than making incomplete data appear complete.

11. Practise explaining the reasoning in an interview

1. Explain a lookup to someone who has never used Excel.

Start with a familiar directory. An order contains a store code, and a separate list tells us which city belongs to that store. A lookup searches for the code and brings back the related city. Then add the important conditions: the code must represent the intended record, the source must be reliable, and missing or duplicated codes need visible checks.

2. Describe your checks before copying a lookup across thousands of rows.

I identify what one source row represents, verify the key and return field, test a known record manually, inspect missing and duplicate keys, and check the copied references. For band lookups I also test threshold edges and source ordering. I confirm the recipient's Excel supports the function, then reconcile resolved and unresolved records rather than assuming every non-error result is correct.

3. When would you choose INDEX with MATCH instead of a basic VLOOKUP?

It can be useful when the search and return columns need to be selected independently, including returning a field to the left of the search column, or when maintaining older compatible workbooks. I explain MATCH as the position finder and INDEX as the value retriever. I also check their ranges align, because flexibility does not remove the risk of mismatched records.

4. Explain exact matching and approximate bands using one example each.

For StoreID BLK-NSK-01, I want that same identifier and its stored city; a similar-looking code is not acceptable. For a ₹350 basket, I want the fee assigned to the interval containing ₹350. The fee table stores lower bounds, so I select the ₹200 band. The data structure and rule decide the match method, not a general preference for one setting.

5. A last-match lookup returns the final row. Does that mean it returns the latest event?

Only if the source's ordering makes the final occurrence the latest event under an agreed rule. A list can be unsorted, imported in batches or ordered by another field. Search direction describes where the formula looks first. Time meaning comes from the data and its ordering. I would inspect timestamps and the intended tie-breaking rule before describing the result as latest.

12. Keep these six revision cards nearby

  • Key → record → attribute

    Identify the record before retrieving the field. A correct record with the wrong field still gives a wrong answer.

  • Match the question

    Retrieve one stored fact with a lookup. Add transactions with an aggregation. List several records with a suitable multi-record operation.

  • Position is relative

    The third item in a range may be on worksheet row four. Align the lookup and return ranges.

  • IDs need exact intent

    A near-looking store code is not the same store. Treat absent and ambiguous keys as exceptions to resolve.

  • Bands need boundaries

    Define which interval owns the threshold, order the lower bounds and test either side of every change.

  • Results need evidence

    Keep a manual expected answer, an exception count and a controlled change test. A polished cell is not a validation report.

For an extra task, add a fifth request for AMN-NGP-01 and predict both Nagpur and Amir before extending your formulas. Then write a two-sentence handover explaining the source range and the remaining unresolved code. Continue with the Excel Task Hub when you want a separate practice challenge.

Microsoft references and compatibility

References checked 24 November 2026. Examples use English function names and comma separators. Menu labels, available functions and regional separators depend on the installed Excel version and settings.