VLOOKUP Function in WPS Spreadsheet: Formula, Examples & Troubleshooting
Learn the VLOOKUP formula in WPS Spreadsheet: find a value in the first table column and return another column, with reproducible examples, expected answers and compatibility cautions.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: VLOOKUP searches the first column of a supplied table and returns a value from a specified column in the selected row. Write FALSE for an exact identifier lookup. TRUE or an omitted fourth argument uses approximate matching on an ascending key column.
Availability and version history
- Introduced: documented by 2019-04-24 in the official WPS lesson; original introduction is not established.
- Availability: WPS Office for Windows Personal; no numeric release is stated in the lesson metadata.
- Scope: current supported builds remain unverified. These historical Windows rules do not establish equivalent behavior in every WPS client.
- Checked: October 14, 2026. Full function-specific review and independent lookup models; no native WPS test was performed.
Syntax and arguments
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
The return-column index counts from the first column of table_array, starting at 1. FALSE or 0 requests an exact match; TRUE, 1 or an omitted fourth argument requests approximate matching. The latter selects the largest qualifying key no greater than the requested value.
Examples use English function names and comma separators. Square brackets describe optional arguments and are not typed. Results below are independent documentation-based expectations, with unresolved cases explicitly identified.
Prepare the original table
Enter the original dataset in A1:F9, including its heading row. Row is explanatory and is not an extra worksheet column. Amount and Units are numeric. Keep output cells outside this table.
| Row | A · Item | B · Team | C · Status | D · Amount | E · Units | F · Agent |
|---|---|---|---|---|---|---|
| 1 | Item | Team | Status | Amount | Units | Agent |
| 2 | Pen | East | Paid | 120 | 12 | Ana |
| 3 | Pad | West | Pending | 75 | 5 | Bo |
| 4 | Box | East | Paid | 210 | 7 | Ana |
| 5 | Tape | North | Paid | 90 | 0 | Cy |
| 6 | Folder | West | Paid | 150 | 3 | Bo |
| 7 | Pen | East | Pending | 60 | 8 | Dee |
| 8 | Pad | West | Paid | 125 | 12 | Ana |
| 9 | Box | North | Pending | 80 | 4 | Cy |
Example 1: original control
=VLOOKUP("Pad",A2:D9,4,FALSE)
First-occurrence model result: 75. The first Pad is in row 3 with amount 75. The duplicate-key qualification immediately below applies.
Example 2: original comparison
=VLOOKUP("Box",A2:D9,4,FALSE)
First-occurrence model result: 210. The first Box is in row 4 with amount 210. These retained original controls do not newly certify a native duplicate tie rule.
Duplicate-key scope of the original examples
The original Pad and Box examples above use repeated keys. Their displayed outputs 75 and 210 are retained as first-occurrence model expectations, not newly certified native duplicate behavior. The captured WPS VLOOKUP lesson defines exact matching but does not explicitly state a duplicate tie rule.
For a separately documented first-match construction, MATCH explicitly selects the first equal value in mode 0:
=INDEX(D2:D9,MATCH("Pad",A2:A9,0),1)
=INDEX(D2:D9,MATCH("Box",A2:A9,0),1)
Expected outputs are 75 and 210 under the documented MATCH/INDEX rules. This validates that explicit construction, not every VLOOKUP duplicate case.
Example 3: use unique keys for the primary lookup controls
In the original table, Tape and Folder each occur once:
=VLOOKUP("Tape",A2:D9,4,FALSE)
=VLOOKUP("Folder",A2:D9,4,FALSE)
Expected amounts are 90 and 150. A requested key such as Missing has no exact match, so the documented error is #N/A. Use an explicit missing-result policy rather than silently changing the last argument to TRUE.
VLOOKUP does not add all matching rows. If the question asks for the total amount belonging to an item, use a separately researched conditional aggregation such as SUMIF.
Advanced example: lock the lookup table when filling down
Create a separate J1:K4 table:
| J · Code | K · Units |
|---|---|
| P300 | 18 |
| P100 | 12 |
| P200 | 15 |
Put the query codes P100, P200 and P300 in M2:M4. Enter N2 and fill down:
=VLOOKUP(M2,$J$2:$K$4,2,FALSE)
Expected results are 12, 15 and 18. The numeric return index is 2 because K is the second column of J:K, not because K is worksheet column 2. The fixed table references prevent fill-down from dropping earlier records.
Exact mode is deliberate for this unsorted code list. Sorting is part of the approximate-mode contract, not a requirement to rearrange this exact-mode example.
Advanced example: make a threshold table explicit
On a separate worksheet, enter thresholds 0, 100 and 200 in A2:A4 and multipliers 0.02, 0.05 and 0.08 in B2:B4. The keys are sorted ascending.
=VLOOKUP(150,$A$2:$B$4,2,TRUE)
Expected multiplier: 0.05, from threshold 100. Numeric controls 0, 99.99, 100, 199.99, 200 and 250 select 0.02, 0.02, 0.05, 0.05, 0.08 and 0.08 respectively.
The exact-match formula for 150 instead returns #N/A, because the key 150 is not listed. Approximate means a boundary selection under the documented rule; it does not mean the closest number by absolute distance.
If the chosen multiplier applies to an entire quantity of 230, the result is 230*0.08 = 18.4. This is a whole-quantity policy, not an incremental calculation across several bands.
Omitted lookup values and invalid return indexes
The WPS lesson specifically states that an omitted first lookup value means a lookup for zero. For the threshold table above, =VLOOKUP(,A2:B4,2,FALSE) therefore has documented-model expectation 0.02. Writing zero explicitly is clearer; this special omission rule does not establish every empty-reference or text-empty coercion case.
The source documents #VALUE! for a return-column index below 1 and #REF! when it exceeds the table width. For A2:D9, index 5 exceeds its four columns even though the worksheet has more columns elsewhere.
Limits and portability
A first-column lookup cannot directly select a return column to its left within the same ordinary table. An INDEX/MATCH design can use independently aligned lookup and return ranges; an alternative formula is not proof that VLOOKUP itself gained that direction.
This source does not establish every wildcard, case-sensitivity, duplicate, numeric-text or source-error rule for VLOOKUP. Preserve those checks for the actual client and workbook. An IFNA fallback describes an unavailable result; it does not by itself prove that a lookup key was absent rather than a matched source value already containing #N/A.
Related guides and verification
Related guides already published for this function: Microsoft Excel | Google Sheets | LibreOffice Calc | Apache OpenOffice Calc | Gnumeric
Each product guide has a separate evidence scope; shared function names do not establish identical versions, matching rules or array behavior.
- WPS Academy: VLOOKUP, 2019-04-24 (Chinese; Windows Personal).
- WPS Academy: MATCH.
- WPS Academy: INDEX.
- Editorial testing standards.
Evidence level: Full article reviewed against complete WPS function references. Original title, publication date, dataset and two formulas are preserved. Additional calculations and reference selections are independently modeled, not captured native results.