Excel Lookup Functions logo

Excel Lookup Functions

Organization
cxcscmu
excel-lookup-functions

Master Excel lookup functions (VLOOKUP, HLOOKUP, INDEX/MATCH, XLOOKUP) for single and multiple criteria.

Overview

Publishercxcscmu
RepositorySkillLearnBench
Skill nameexcel-lookup-functions
Stars
91
Forks
7
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by cxcscmu on GitHub. Read the source before you install it.

Installation

Install the Excel Lookup Functions AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/cxcscmu/SkillLearnBench/tree/main/skills/b1-one-shot-claude-haiku-4-5/weighted-gdp-calculation/excel-lookup-functions
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cxcscmu/SkillLearnBench.git /tmp/SkillLearnBench
mkdir -p .claude/skills
cp -r /tmp/SkillLearnBench/skills/b1-one-shot-claude-haiku-4-5/weighted-gdp-calculation/excel-lookup-functions .claude/skills/excel-lookup-functions
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Excel Lookup Functions in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Excel Lookup Functions on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Excel Lookup Functions is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Excel Lookup Functions

Overview

Lookup functions allow you to find and retrieve data from tables based on criteria. Different functions suit different scenarios.

Function Comparison

VLOOKUP (Vertical Lookup)

Searches for a value in the first column of a range and returns a value in the same row from another column.

Syntax:

=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

Limitations:

  • Can only search in the first column
  • Lookup column must be to the left of return column
  • Cannot handle multiple criteria easily

Example:

=VLOOKUP("Series_A", Data!A:D, 3, FALSE)

HLOOKUP (Horizontal Lookup)

Searches for a value in the first row of a range and returns a value in the same column from another row.

Syntax:

=HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])

Use Case: When data is organized horizontally with lookup values in the top row.

Example:

=HLOOKUP(2020, Data!A1:F10, 3, FALSE)

INDEX & MATCH (Flexible Lookup)

INDEX returns a value from a specific position in a range. MATCH finds the position of a value.

Syntax:

=INDEX(return_range, MATCH(lookup_value, lookup_range, 0))

Advantages:

  • Works with data in any position
  • Can be modified for multiple criteria
  • More flexible than VLOOKUP

Example (Single Criterion):

=INDEX(Data!$C$1:$C$100, MATCH("Series_A", Data!$A$1:$A$100, 0))

Example (Multiple Criteria):

=INDEX(Data!$E$1:$E$100, MATCH(1, (Data!$A$1:$A$100=criteria1)*(Data!$B$1:$B$100=criteria2), 0))

Note: This requires Ctrl+Shift+Enter (array formula) in traditional Excel.

XLOOKUP (Modern Solution)

Available in Excel 365 and newer versions. Combines benefits of VLOOKUP and INDEX/MATCH.

Syntax:

=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])

Advantages:

  • Simpler syntax than INDEX/MATCH
  • Can search left or right
  • Built-in error handling
  • Native support for multiple criteria

Example (Single Criterion):

=XLOOKUP("Series_A", Data!$A:$A, Data!$C:$C)

Example (Multiple Criteria with FILTER):

=XLOOKUP(1, (Data!$A:$A=criteria1)*(Data!$B:$B=criteria2), Data!$C:$C)

Multiple Criteria Pattern

When you need to lookup based on TWO conditions (e.g., Series Code AND Year):

Using INDEX & MATCH

=INDEX(return_range, MATCH(1, (condition1_range=condition1_value)*(condition2_range=condition2_value), 0))

Enter as array formula with Ctrl+Shift+Enter.

Using XLOOKUP (Recommended for Excel 365)

=XLOOKUP(1, (lookup_range1=criteria1)*(lookup_range2=criteria2), return_range, "Not Found")

Practical Example

Finding a value by Series Code (Column A) and Year (Row 10 headers):

=INDEX(Data!$C$21:$G$40, MATCH(Series_Code, Data!$A$21:$A$40, 0), MATCH(Year, Data!$C$10:$G$10, 0))

Best Practices

  1. Use Absolute References: Lock ranges with $ for reusability

    =INDEX(Data!$C$21:$G$40, ...)
  2. Handle Errors: Use IFERROR to manage missing data

    =IFERROR(INDEX(...), "N/A")
  3. Test Criteria: Verify both lookup values exist before using complex formulas

  4. Choose by Complexity:

    • Single criterion → VLOOKUP/HLOOKUP
    • Multiple criteria → INDEX/MATCH or XLOOKUP
    • Modern Excel (365) → XLOOKUP preferred
  5. Performance: For large datasets, INDEX/MATCH with array formulas may be slower than VLOOKUP on first column

Frequently asked questions

What does the Excel Lookup Functions AI skill do?

Master Excel lookup functions (VLOOKUP, HLOOKUP, INDEX/MATCH, XLOOKUP) for single and multiple criteria.

Why use Excel Lookup Functions on TypingMind?

Because you install it once and use it with any model. Excel Lookup Functions is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Excel Lookup Functions in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/cxcscmu/SkillLearnBench/tree/main/skills/b1-one-shot-claude-haiku-4-5/weighted-gdp-calculation/excel-lookup-functions. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Excel Lookup Functions?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Excel Lookup Functions?

As many as you like. As long as a model supports skills, you can use Excel Lookup Functions with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Excel Lookup Functions AI skill free?

Yes. It is published on GitHub by cxcscmu under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇