KeepSorted

Google Sheets VLOOKUP formula builder: look up a value in another table (VLOOKUP, XLOOKUP, INDEX MATCH)

Say where the list is, where the table is, and which column to bring back. Copy the formula. You can bring the answer for one cell or for a whole column at once, match a column to the left, get every match, or show your own text when nothing is found. It runs in your browser and nothing you type here is sent anywhere. Every formula below was run in a real Google Sheet on 3 November 2026 (upper and lower case, empty cells, repeated codes, a trailing space, symbols like * and ?, numbers and text numbers) once in a US-locale spreadsheet and once in a German-locale one with semicolons: all checks matched.

Your formula

How to use it

Paste the formula into one empty cell. VLOOKUP looks for the value in the first column of your table and brings back the column you pick. If the code you look up sits in column B but the answer is in column A, use INDEX MATCH or XLOOKUP: VLOOKUP cannot look to the left. The whole-column choice and "every match" spill down, so the cells below the formula must be empty.

Which one to pick

You pickThe formula uses
VLOOKUPVLOOKUP(A2, Prices!A:C, 3, FALSE) (FALSE means exact match)
Whole columnARRAYFORMULA(IF(A2:A="", "", VLOOKUP(...)))
INDEX MATCHINDEX(Prices!C:C, MATCH(A2, Prices!A:A, 0))
XLOOKUPXLOOKUP(A2, Prices!A:A, Prices!C:C)
Every matchFILTER(Prices!C:C, Prices!A:A=A2)
Upper and lower case apartINDEX(..., MATCH(TRUE, ARRAYFORMULA(EXACT(...)), 0))
Closest matchVLOOKUP(A2, Bands!A:B, 2, TRUE)

The catches (found by testing in a real Sheet)

No code: KeepSorted

The add-on sorts the original table in place without code: no second copy, so formatting, checkboxes and notes move with their rows and people keep editing the same table. Select the range, pick the sort columns, Save. Free: one area per tab, up to 2 sort columns, no trial clock. Pro ($5/month or $39/year): up to 5 sort columns, custom orders like High > Medium > Low, ticked checkbox rows to the bottom, stacked tables sorted separately, and sorting after form responses, other editors' changes and an hourly check.

KeepSorted is built and in testing. It is not in the Google Workspace Marketplace yet. Leave your email and we send one message when you can install it.

You're on the list. We'll email you when KeepSorted is ready.

The generators and the formulas stay free either way.

More KeepSorted tools and guides

Sources