4.8 XMATCH
A report sometimes needs the location of a record before it can decide what to return. Imagine a small seller reviewing monthly sales from orders placed through apps such as Amazon or Blinkit. Someone asks for June's sales, the month with the lowest sales, and the change from April to May. These questions can share one building block: find a label's position inside the supplied list.
XMATCH supplies that position. INDEX can then use it to read a corresponding value or label. The examples in this lesson use entirely fictional shop figures, not actual platform records. You will build a monthly report, test its answers, change the source deliberately, and learn which assumptions must remain true for a position-based calculation to stay meaningful.
1. Give the position a clear meaning
Count from the beginning of the supplied range
Suppose the Month values start in A2. Jan is item one, Feb is item two, Mar is item three and Apr is item four. The heading in A1 is outside the search range. Excel counts relative to A2 because that is where your formula tells it to begin. Moving the whole source farther down the worksheet does not automatically change the relative position of April within it.
This distinction is useful when different parts of a report sit in different places. A month list might start in A2, while its aligned sales list starts in B2. The fourth month and the fourth sales value belong together. INDEX does not need to know that the record happens to be on worksheet row five; it needs the fourth position in the correctly aligned result list.
- The search value identifies the item you want to locate.
- The search range defines the list in which positions are counted.
- The returned number starts at one for a successful first-item match.
- A missing exact match produces an error, not a successful position zero.
- The result changes if the list's membership or ordering changes.
- The result is meaningful only in relation to the list that produced it.
Read the function before combining it with another one
=XMATCH(lookup_value,lookup_array,[match_mode],[search_mode])
The first two arguments answer the basic request: find this value in this list. The third optionally changes the matching rule. The fourth optionally changes search direction or method. With the optional arguments omitted, the function uses exact matching and searches from the beginning. You can therefore start with a short expression and inspect its position before writing a larger formula.
XMATCH is available in Microsoft 365, Excel for the web, Excel 2021 and Excel 2024, including the corresponding supported Mac editions. For an older workbook environment without XMATCH, an exact MATCH formula is a useful alternative. Check the application that will actually calculate the workbook; merely saving a file with an .xlsx extension does not add newer functions to an older Excel installation.
2. Build the complete monthly sales source
Use eight months consistently
Create a worksheet named Sales. Enter the following source in A1:B9. It contains the eight months used by the existing Task Hub exercise. Including July and August makes the later best-month and interval tasks reproducible from the same visible dataset. Enter the Sales values as numbers, then apply a number or currency format if desired.
| Month | Sales |
|---|---|
| Jan | 42000 |
| Feb | 39500 |
| Mar | 45200 |
| Apr | 47800 |
| May | 44100 |
| Jun | 49300 |
| Jul | 46600 |
| Aug | 50200 |
Put Requested month in D1 and Apr in D2. Put Position in E1 and Sales amount in F1. Reserve E2 and F2 for formulas. These output cells sit beside the source rather than inside it, so changing a request will not replace a month or its recorded sales. Keep the source table and the report inputs visually distinct.
The eight sales figures total 364700. There are eight month labels, and each appears once. The largest amount is 50200 for August; the smallest is 39500 for February. These simple controls give you independent facts against which to compare the formulas. A formula result is easier to trust when you can explain the matching source record.
Keep the meaning of each row stable
Each row represents one month in one fictional reporting year. The short labels are convenient for the lesson, but they do not identify a year. If you later combine two years of exports, Jan will appear twice and cease to be a unique period identifier. Use genuine period dates, such as the first day of each month, or another documented year-and-month key in that larger report.
- Keep headings in row one and search only the eight data values.
- Use numeric amounts without typing currency symbols into text strings.
- Keep each month attached to its own sales value when sorting.
- Do not insert a Total row into the searched month list.
- Label the source's reporting period before sharing the workbook.
- Make a separate experiment copy before changing the source for a test.
3. Lab one — locate a month and retrieve its sales
Calculate and explain April's position
Enter the following formula in E2. Because D2 contains Apr, Excel compares that request with the values in A2:A9. Jan, Feb and Mar come first. Apr is the fourth item, so E2 displays 4. Read this aloud as “April is item four in my month list,” not “April is on row four.”
=XMATCH(D2,$A$2:$A$9)
The dollar signs keep the source boundaries fixed if the formula is copied. They do not freeze the source values or turn the current result into a constant. Editing a month label or changing the requested month can still change the answer. Absolute references protect which cells are searched during copying; they do not guarantee that those cells contain the right business records.
For a useful comparison, enter =ROW(A5) in a spare cell. It returns 5 because A5 belongs to worksheet row five. The XMATCH result remains 4 because the supplied month list starts in row two. If you include the heading by searching A1:A9 instead, Apr becomes item five in that larger list. That altered range answers a different position question.
Pass the position to INDEX
In F2, enter the formula below. INDEX reads the fourth value in B2:B9 because the nested XMATCH supplies four. That fourth value is 47800. The two ranges have the same eight record rows, so a position in the month list refers to the corresponding position in the sales list.
=INDEX($B$2:$B$9,XMATCH(D2,$A$2:$A$9))
You can also use =INDEX($B$2:$B$9,E2) while learning. Keeping the position in a visible helper cell makes the calculation easier to inspect. The nested version reduces the number of helper cells but performs the same basic sequence. Choose the form that makes the report understandable to its intended reader.
Change the input and predict both answers
- Start with Apr in D2. Expect position 4 and sales 47800.
- Replace Apr with Jan. Expect position 1 and sales 42000.
- Replace Jan with Jun. Expect position 6 and sales 49300.
- Replace Jun with Jul. Expect position 7 and sales 46600.
- Replace Jul with Aug. Expect position 8 and sales 50200.
- Type Sep. Both unprotected formulas return #N/A because September is absent from this source.
- Restore Apr after observing the missing-month result.
The September result does not prove that sales were zero. It means the requested month was not found in the selected list. The report may be incomplete, the request may refer to a future period, or the source may use a different label. Investigate that distinction before replacing an error with a business-looking number.
4. Keep positions and returned records aligned
A valid number can still point at the wrong record
In an experiment copy, leave the month range as A2:A9 but change INDEX's return range to B3:B10. The result range still has eight cells, yet it starts one record too low. For Apr, XMATCH still returns four. INDEX now reads the fourth cell of B3:B10, which is B6, containing May's 44100. The formula can display a plausible amount while answering the wrong question.
This is more dangerous than an obvious error because the value looks ordinary. Equal range lengths are helpful, but they are not enough. The first searched month must correspond to the first returned sales value, the second to the second, and so on. Check both the start and end of the lists and trace at least one known record through the expression.
Sort whole records, then recheck
On another experiment copy, sort A1:B9 by Sales from largest to smallest, with the header recognised. April becomes the third record after August and June. Its position changes from four to three, but its retrieved sales remain 47800 because the complete month-and-sales rows moved together. A position is allowed to change when the list order changes.
If you sort only the Month values while leaving Sales in place, you break the record relationships. The resulting lookup can no longer be trusted even if every formula is syntactically valid. Undo the isolated-column sort or restore the original source before proceeding. This is a data alignment problem rather than a problem that adding IFERROR can solve.
- Match the same record boundaries in both lists.
- Exclude a heading from both lists, or deliberately handle it consistently.
- Sort the complete source rectangle, not one detached field.
- Recheck a known month after rearranging or importing data.
- Inspect the found label and returned amount together.
- Keep a copy of the original eight-row source for the remaining exercises.
An Excel Table can make these relationships easier to maintain. If the source is named MonthlySales, its Month and Sales columns can be referenced by name. A formula such as =INDEX(MonthlySales[Sales],XMATCH(D2,MonthlySales[Month])) expresses the intended fields directly. The Table still needs correct records; structured references do not repair a wrongly paired month and amount.
5. Find the strongest and weakest observed months
Search for a calculated value
The lookup value does not have to be typed manually. MAX can calculate the largest observed sales value, and XMATCH can locate that value in the sales list. In the original eight-row source, MAX returns 50200. XMATCH finds that amount at position eight. INDEX can then return the eighth month label, Aug.
=MAX(B2:B9)
=XMATCH(MAX(B2:B9),B2:B9)
=INDEX(A2:A9,XMATCH(MAX(B2:B9),B2:B9))
Put these formulas in separate spare cells while learning. Expect 50200, 8 and Aug respectively. Each result answers a different question: largest amount, location of that amount, and label associated with it. Returning eight does not mean eight months achieved the maximum; it means the selected occurrence sits in the eighth position.
Reverse the question for the minimum
Replace MAX with MIN to find the smallest observed sales value. MIN returns 39500, XMATCH returns two, and INDEX returns Feb. These results describe the smallest number in this particular eight-month sample. They do not explain the cause of that performance or account for the number of trading days, promotions, stock availability or changes in the product mix.
=INDEX(A2:A9,XMATCH(MIN(B2:B9),B2:B9))
A business report should say “lowest recorded monthly sales in this sample” rather than implying that the staff or platform performed badly. The calculation identifies a record for further investigation. A responsible explanation separates the observed amount from a causal story that the dataset cannot establish.
Introduce a tie deliberately
In an experiment copy, change June's sales in B7 from 49300 to 50200. June and August now share the maximum. Default XMATCH finds the first matching amount, at position six, so the associated label is Jun. Reverse exact search finds the last matching amount, at position eight, so its associated label is Aug.
=XMATCH(MAX(B2:B9),B2:B9,0,-1)
=INDEX(A2:A9,XMATCH(MAX(B2:B9),B2:B9,0,-1))
The total becomes 365600 after this temporary 900 increase. Restore June to 49300 when finished. Neither first-match nor last-match logic produces a list of all tied winners. If the report requires every tied month, use an appropriate all-matches method, such as FILTER in a supported Excel version, and explain that different output requirement.
- Confirm whether the question requests one representative record or all tied records.
- State a tie policy when one record must be selected.
- Check the actual amount as well as its label.
- Avoid presenting a position as a count of qualifying records.
- Keep missing or nonnumeric source amounts under review.
- Restore the original figures before comparing with the answer key.
6. Calculate a period span and a month-to-month change
Count an inclusive span only when the list supports it
In the original Jan-to-Aug list, Mar is position three and Jul is position seven. Subtracting three from seven gives four gaps between their positions. Adding one includes both endpoints, producing five listed months: Mar, Apr, May, Jun and Jul. This is an inclusive interval calculation based on the list's order.
=XMATCH("Jul",A2:A9)-XMATCH("Mar",A2:A9)+1
The formula is useful only because this source has one record per consecutive month in chronological order. It does not inspect a calendar to discover missing periods. If April is absent, the span through the remaining listed entries is four, even though the calendar interval from March through July still contains five months. Decide which of those questions your report needs to answer.
Likewise, after sorting the source by sales amount, positions represent sales order rather than time order. Subtracting month positions in that arrangement does not measure a chronological interval. Restore the original sequence for this task. A result can be numerically computable while its interpretation is no longer valid.
Compare two selected values
To calculate the change from April to May, retrieve each month's amount independently and subtract April from May. May is 44100 and April is 47800, so the difference is negative 3700 rupees. The negative sign communicates a decrease relative to the chosen starting period; it is not an error to remove.
=INDEX(B2:B9,XMATCH("May",A2:A9))-INDEX(B2:B9,XMATCH("Apr",A2:A9))
For a percentage change, divide the difference by April's 47800. The result is approximately negative 7.74%. The denominator matters: dividing by May's amount answers a different comparison. Label both the currency change and percentage change clearly, and define a separate treatment for a zero starting amount before adapting this pattern to another dataset.
The direct month lookups remain meaningful after a correct whole-record sort because each amount is still attached to its month. That is different from the position-span formula, whose meaning depends on chronological ordering. Comparing these two calculations helps you see that different formulas can rely on different assumptions even when they use the same XMATCH function.
7. Lab two — locate a city and a month together
Create a separate two-dimensional report
A regional seller may receive a summary with one city per row and one month per column. Finding a single amount now requires two coordinates. XMATCH can identify the city row and the month column independently, while INDEX reads the value where those coordinates cross. This is a two-way lookup, not a calculation that adds every transaction for the city.
Create a worksheet named CityMonth and enter the complete table below in A1:E5. These figures preserve the chapter's original city-and-month teaching dataset. They belong to a separate fictional reporting scenario from the eight-month Sales sheet. Do not combine their totals or assume that one source is a breakdown of the other.
| City | Aug | Sep | Oct | Nov |
|---|---|---|---|---|
| Pune | 412500 | 586200 | 495300 | 610800 |
| Nashik | 148900 | 196400 | 162700 | 221300 |
| Nagpur | 171200 | 205600 | 180900 | 248100 |
| Kolhapur | 102300 | 139800 | 111400 | 157600 |
Put City in G1 and Kolhapur in H1. Put Month in G2 and Nov in H2. Label G3 as Amount and reserve H3 for the final formula. In J1 type Row position and in J2 type Column position, then use K1 and K2 for the two independent XMATCH results below.
=XMATCH(H1,$A$2:$A$5)
=XMATCH(H2,$B$1:$E$1)
K1 returns four because Kolhapur is the fourth city. K2 also returns four because Nov is the fourth month heading in B1:E1. The row and column happen to have equal numbers in this first request, but they represent different directions. Do not treat them as interchangeable just because both currently display four.
Combine the coordinates in H3
=INDEX($B$2:$E$5,XMATCH(H1,$A$2:$A$5),XMATCH(H2,$B$1:$E$1))
INDEX receives the amount block without the city labels or month headings. It goes to row four and column four within that block, returning 157600. The row list begins with Pune and the amount block begins with Pune's amounts. The column list begins with Aug and the amount block begins with August values. Both directions are aligned.
- Use Kolhapur and Nov. Expect row 4, column 4 and amount 157600.
- Change the inputs to Nagpur and Oct. Expect row 3, column 3 and amount 180900.
- Use Nashik and Oct. Expect row 2, column 3 and amount 162700.
- Use Pune and Nov. Expect row 1, column 4 and amount 610800.
- Use an absent city such as Solapur. The exact city lookup returns #N/A; there is no matching row in this source.
- Restore Kolhapur and Nov after checking the cases.
The Nashik-and-October case is especially useful for detecting accidentally swapped coordinates. Reversing row two and column three reads Nagpur's September value, 205600, instead of Nashik's October value, 162700. A test where the two coordinates differ is more revealing than testing only positions four and four.
Temporarily change Kolhapur's November amount from 157600 to 160000. With the original inputs restored, H3 should update to 160000 while both position helpers remain four. The location did not change; the value stored at that location changed. Restore the original amount before continuing to the revision tasks.
8. Choose a matching rule and search direction deliberately
Default exact matching is a sensible starting point
For month names, city names and ordinary identifiers, this lesson uses exact matching. The searched values do not need to be sorted for the default linear exact search. A missing value remains missing instead of being replaced by a nearby-looking label. This makes the basic behaviour easier to explain and safer for record selection.
The third argument can select exact matching, the next smaller value, the next larger value, or a wildcard pattern. The fourth can search from the beginning, search from the end, or use a binary method on a correctly sorted list. The two arguments control different decisions, even when they contain the same number.
| Choice | Argument | Meaning |
|---|---|---|
| 0 | match_mode | Exact match, the default |
| -1 | match_mode | Exact or next smaller lookup value |
| 1 | match_mode | Exact or next larger lookup value |
| 2 | match_mode | Wildcard pattern |
| 1 | search_mode | First to last, the default |
| -1 | search_mode | Last to first |
| 2 or -2 | search_mode | Binary search on ascending or descending lookup values respectively |
Try a wildcard and a boundary on separate small lists
In a scratch worksheet named Modes, put Green Grapes, Apples and Black Grapes in A2:A4. The formula =XMATCH("*Grapes*",A2:A4,2) returns one because the first phrase contains Grapes. Add a fourth argument of minus one to return three, the last matching phrase. Without wildcard mode, the asterisks are not a request for this pattern search.
The asterisk permits a sequence of characters, a question mark represents one character, and a tilde escapes a wildcard character when the literal symbol is intended. A pattern may match more than one product description. A returned position identifies the selected occurrence; it does not establish that the phrase uniquely identifies a product.
On Modes, enter minimum order amounts 0, 500 and 1000 in D2:D4 and fictional delivery fees 49, 29 and 0 in E2:E4. For an order amount of 750, =XMATCH(750,D2:D4,-1) returns two, the position of lower boundary 500. INDEX on E2:E4 using that position returns fee 29. The position two is not itself the fee.
At exactly 1000, the lower-bound position is three and the fee is zero. Just below 1000, such as 999.99, position two still applies. A negative order amount is outside this teaching policy. Define the valid input domain instead of treating every numeric input as a legitimate order. The next lesson develops threshold tables and boundary testing further.
Use reverse and binary modes for their actual purposes
Reverse search changes which occurrence is selected when the lookup value repeats. It does not inspect dates to discover the latest event. For a chronological interpretation, the source must have a suitable order and a rule for tied event times. The tied-maximum exercise above uses reverse search only to select the last physical occurrence in the supplied list.
Binary search relies on the lookup values being sorted in the direction specified by its mode. Microsoft warns that an incorrectly sorted list can return invalid results. A source sorted by another field does not meet that requirement. Do not assume that a wrong binary-search setup will always produce a visible error rather than a plausible wrong position.
- Keep default exact linear search for the basic month and city tasks.
- Use a wildcard only when matching a text pattern is the intended question.
- Use a boundary rule only when the source represents an ordered policy or scale.
- Describe reverse search as last physical occurrence.
- Reserve binary search for a maintained, correctly sorted lookup field.
- Retest boundaries and duplicates when the source changes.
9. Handle a missing position without inventing a value
Keep the absence visible during diagnosis
The Task Hub's missing-month exercise displays zero for an absent September. That is a deliberately chosen position indicator, not a statement that September sales were zero. A successful XMATCH position begins at one, so zero can serve as an out-of-list signal if the surrounding report treats it explicitly as such.
=IFNA(XMATCH("Sep",A2:A9),0)
The original task uses IFERROR and also produces zero for this clean missing-month case. IFNA is narrower: it replaces #N/A while leaving other kinds of errors available for inspection. Neither wrapper validates the source, corrects a misspelled month, or proves that a returned position belongs to the intended reporting period.
Do not pass the fallback zero into INDEX as if it were a valid record position. INDEX has special behaviour for zero arguments and can return an entire row or column in appropriate contexts. Handle the missing branch separately or wrap the completed lookup for display. A formula such as =IFNA(INDEX(B2:B9,XMATCH(D2,A2:A9)),"Month not listed") makes the intended missing-result presentation clearer.
Investigate the most likely causes in order
- Confirm that the requested month should exist in the selected reporting period.
- Check whether the source range actually includes the intended record.
- Compare the input with the source's spelling and spacing.
- Check whether labels are text or genuine dates displayed with a month format.
- Inspect source errors and inappropriate range shapes before adding a wrapper.
- Retest one known present month and one genuinely absent month after the repair.
A cell containing a real date displayed as Apr is not the same underlying value as the text Apr. In a date-based model, search for the corresponding genuine date or a carefully designed period key. Formatting changes appearance; it does not turn the stored date into the same text used by the simple eight-month teaching list.
10. Trace the two-way result one decision at a time
Follow Nashik and October to one amount
Read the two requests
The city input is Nashik and the month input is Oct. Each label is searched in its own one-dimensional list, not across the full rectangular amount block.
Find the city position
Pune is first and Nashik is second in A2:A5. The row position is two, counted from the first city rather than from worksheet row one.
Find the month position
Aug is first, Sep second and Oct third in B1:E1. The column position is three, counted from the first month heading.
Read the aligned intersection
INDEX reads row two and column three of B2:E5. The amount is 162700. Both coordinates describe positions inside that specific amount block.
After stepping through the result, change only the city to Pune and explain which coordinate changes. Then change only the month to Nov and explain the other coordinate. This isolates the responsibilities of the two XMATCH expressions and makes a long nested formula easier to reason about.
11. Practise before opening the answers
Complete the eight original monthly tasks
Return to the original Sales source, with June restored to 49300 and the months in Jan-to-Aug order. Find April's position, July's position, June's sales, the maximum-sales position, the weakest month, the inclusive March-to-July span, the April-to-May change, and a zero indicator for missing September. Write the expected meaning beside every result, not only the number.
| Task | Expected result | Interpretation |
|---|---|---|
| April position | 4 | Fourth month in A2:A9 |
| July position | 7 | Seventh month in A2:A9 |
| June sales | 49300 | June's recorded rupee amount |
| Maximum position | 8 | August's amount occurs eighth |
| Weakest month | Feb | Label paired with 39500 |
| March through July | 5 | Five consecutive listed months, endpoints included |
| May minus April | -3700 | A decrease of 3700 rupees |
| Missing September indicator | 0 | Absent position, not zero sales |
For a source-growth extension, append Sep and 51000 in A10:B10 on a copy. A fixed A2:A9 search still does not include the new month. Extend both lookup and return ranges through row ten, then expect September position nine and sales 51000. The revised total is 415700, and the new maximum is September's 51000 at position nine.
If you use the MonthlySales Table version, confirm that the appended row actually belongs to the Table before relying on its structured references. A row that merely sits below the Table is not automatically part of every calculation. Inspect membership and test the newly added month instead of assuming that visual proximity proves inclusion.
12. Quiz and interview questions with reasoning
1. April is in A5. Why does XMATCH return four?
The supplied search range starts at A2, so its first item is Jan. April is the fourth item inside that list. Worksheet row five and relative position four describe different coordinate systems. Including A1 would change the list and therefore change the position.
2. Does XMATCH return April's sales directly?
No. It returns a position in the searched range. INDEX can use that position to read the aligned sales list. For the original source, April produces position four, and the fourth amount is 47800. Keep those two outputs distinct when explaining the formula.
3. Does exact matching require the months to be alphabetically sorted?
No. Default exact linear XMATCH can locate the requested label in the original chronological list. Binary modes have separate sort requirements. Do not rearrange a useful time sequence merely because you assume every lookup must use sorted input.
4. Why is the same-length range B3:B10 still wrong?
Its first value belongs to February while the first searched label belongs to January. The records are shifted even though both ranges contain eight cells. For April, the shifted result is May's 44100. Correct lengths do not establish correct alignment.
5. What happens when June ties August at 50200?
Default search finds June first at position six. Reverse exact search finds August last at position eight. Neither expression returns both labels. Decide whether the report needs one selected occurrence or every tied month before choosing the formula.
6. Is a position difference always a count of calendar months?
No. The inclusive subtraction works here because the list contains each month once in chronological order without gaps. Missing months or a sales-based sort break that interpretation. A list position is not inherently a calendar duration.
7. Can a zero missing-position indicator be fed into INDEX?
Do not use it as an ordinary record position. Zero is outside the successful XMATCH position sequence, and INDEX gives zero arguments special meaning in supported contexts. Handle the missing branch explicitly or display a message around the completed lookup.
8. How does XMATCH differ from exact MATCH?
Both can supply a relative position for INDEX. XMATCH defaults to exact matching and has a separate search-mode argument. MATCH defaults to an approximate rule when its third argument is omitted, so use MATCH with zero for the older exact-match alternative. Recheck approximate-mode meanings instead of mechanically renaming functions.
9. Why test Nashik and October instead of only Kolhapur and November?
Nashik and October have unequal coordinates, two and three. Swapping them produces the wrong amount 205600 rather than 162700. Equal coordinates four and four cannot reveal that particular mistake, making the unequal test a better diagnostic.
10. Does position eight mean eight months achieved the maximum?
No. It identifies where the selected maximum occurs in the supplied list. Counting qualifying months requires a count or all-matches calculation. State the meaning of the returned number before using it in a report heading or interview explanation.
11. Which checks would you describe in an interview?
I would state the source's row meaning, identify the lookup and return lists, verify their alignment, test present and absent inputs, and define duplicate handling. I would also check version support and source growth. For an interval calculation, I would explicitly verify chronological order and missing periods.
13. Recall the decisions, then apply them elsewhere
Position
Count from the first supplied item. The worksheet row number is a different coordinate.
Alignment
The same position must refer to the same record in the lookup and result lists.
Duplicates
First and last are selection rules. Neither means every matching record.
Missing input
An absent month is not proof of zero sales. Keep absence distinct from a recorded zero.
Two coordinates
Find the row and column independently, then read their intersection in the aligned block.
Interpretation
A position can support an interval only when ordering, uniqueness and coverage justify it.
Practise explaining the monthly lookup without naming a function first: locate the requested month, find its relative position, then read the amount at the same position in the aligned list. Once that sequence is clear, the formula becomes a compact way to express reasoning you already understand. Use the same approach for product catalogues, attendance lists or regional targets, while checking what one record means in each new source.
Continue with Approximate Lookup: Delivery Fee Slabs, or revisit Two-way Lookup for more matrix practice. The existing Excel Task Hub contains the original eight XMATCH tasks used here.
References and version checks
Function behaviour and availability were checked against Microsoft's XMATCH documentation, MATCH documentation, and INDEX documentation. All business scenarios and worked numbers are fictional teaching examples.