Is Your VLOOKUP Assigning a Band or Finding an Exact Identifier?
A spreadsheet can return a neat category for a value that does not actually appear in its reference table. Sometimes that is precisely the intended behavior: a workload of 37 items belongs in a capacity band. Sometimes it is a serious mistake: a missing project identifier has been assigned to a neighboring project.
The same lookup function can support these different tasks. The business rule must determine the matching mode, rather than allowing an omitted argument to decide it.
Decide whether proximity has meaning
For identifiers, a nearby value is usually a different identity. Project 102 is not a reasonable substitute for missing project 103 just because the numbers are close. For thresholds, however, intervals may be the entire purpose of the table.
Microsoft's VLOOKUP reference defines TRUE or an omitted range_lookup argument as approximate matching and FALSE as exact matching. Its approximate-match guidance requires the first column to be sorted. The lookup column must be the first column of the supplied table range.
Write the intended rule above the reference table. “Assign the band whose lower boundary is the greatest boundary not exceeding the workload” is more useful than “use VLOOKUP.” It explains what the formula is meant to accomplish.
Build a boundary fixture before using live records
Illustrative workload bands
Imagine lower boundaries of 0, 20 and 50 items, with labels Small, Medium and Large. An approximate lookup for 37 should select Medium under this lower-boundary policy.
Test 0, 19, 20, 49 and 50. The expected labels are Small, Small, Medium, Medium and Large. Also test a negative value. If workload cannot be negative, reject that input explicitly rather than trying to invent a band for it.
The fixture should record both the expected category and the reason. This makes a later threshold change reviewable: someone can see which boundary examples are supposed to change.
Illustrative identifier lookup
Now use identifiers 100, 200 and 300 for three unrelated projects. Looking for 250 should not quietly return the project associated with 200. An exact lookup should expose that the requested identifier is absent.
Keep this test beside the banding fixture. It shows why the correct mode depends on meaning, not on whether the input happens to be numeric. A number can be a quantity or an identifier, and the lookup must respect that difference.
Protect the reference table's assumptions
For an approximate lookup, confirm ascending boundary order after every table update. Check for repeated boundaries, missing labels and a threshold inserted into the wrong position. A reference table that looks tidy is not automatically a valid interval definition.
Specify what happens at the lowest boundary and beyond the highest one. If the upper band is open-ended, say so. If values outside a supported range should be reviewed, include that rule separately instead of assuming the lookup will enforce it.
Avoid changing the table's structure without checking the return-column index. The formula's selected output must still represent the intended label after columns are added or moved. Review a few known records after a layout change, not only after a formula edit.
Make missing values operationally useful
An unmatched identifier should lead to a clear next step: correct the input, update the reference table through its owner, or leave the record unresolved. Do not convert every failed lookup into a normal category solely to remove visible errors.
For a release, record the matching mode, source range, threshold order, boundary test outcomes and reference-data version. Have the receiving contributor explain one boundary case and one absent-identifier case from that evidence.
The broader principle is the same as a field mapping contract: define how values acquire meaning before connecting them to actions. Start with the smallest representative table and prove the rule there. A returned label is useful only when the matching policy justifies it.
Editorial note
Prepared with AI assistance. Primary sources and the FutureOS article inventory were checked on October 26, 2026. Examples are illustrative, not customer results. FutureOS is described as being in prelaunch in its current introduction. This guide does not claim an available product feature, integration or service, and no independent expert review is claimed.




Comments