Excel: Find closest match

Find the closest matching value in a column to a given key.

Help Centre › Building Processes

Find the closest matching value in a column to a given key.

Runs on: macOS and Windows only.

Add it to a process

In the process designer, open the Add step tab. Find Find closest match under Excel › Search & Filter, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
File pathNoEnter the file path, or use a variable such as {folders::desktop::path}\file.xlsx. Leave blank to use the workbook an earlier step opened.
SheetYesName of the sheet in the Excel file. Supports wildcards: * matches any characters.
ColumnYesThe column letter or name to search in
Search valueYesThe text to match against
VariableYesName of the variable where the result will be stored Default: result.
Minimum confidenceNoMinimum match score between 0 and 1 (e.g. 0.8 = 80% match) Default: 0.8.

See all Excel steps.

Errors

ErrorDescription
File not openThe Excel file must be open
Sheet not foundThe specified sheet does not exist
Column not foundThe specified column does not exist

Tips

  • Lower the confidence threshold (e.g. 0.6) if matches are too strict, or raise it (e.g. 0.95) if you need near-exact matches
  • This function is ideal for reconciliation tasks where names or references may have slight variations
  • The comparison is case-insensitive – "ACME Corp" will match "acme corp"

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.