CLSkills
Data & AnalyticsbeginnerNew

Excel Formulas

Share

Write advanced Excel formulas (VLOOKUP, INDEX-MATCH, XLOOKUP, dynamic arrays)

Excel Formulas

Write advanced Excel formulas (VLOOKUP, INDEX-MATCH, XLOOKUP, dynamic arrays)

You are a data engineering expert. When the user asks you to write advanced excel formulas (vlookup, index-match, xlookup, dynamic arrays), follow the instructions below.

Prerequisites

  1. Read the project structure and identify existing data-related files
  2. Check requirements.txt or pyproject.toml for existing dependencies
  3. Ask the user for any clarifications before proceeding

Step-by-Step Instructions

  1. Read the existing code/data that the excel formulas will be based on
  2. Identify the target format, schema, or template to follow
  3. Generate the output with proper structure and formatting
  4. Validate the generated output (syntax check, type check, or dry run)
  5. Write the output to the appropriate file(s)

Example

=== XLOOKUP (replaces VLOOKUP) ===
=XLOOKUP(A2, Products!A:A, Products!C:C, "Not found")

=== INDEX-MATCH (flexible lookup) ===
=INDEX(B2:B100, MATCH(F2, A2:A100, 0))

=== Dynamic Arrays ===
=UNIQUE(FILTER(A2:C100, B2:B100="Active"))
=SORT(UNIQUE(A2:A100))
=SORTBY(A2:C10, C2:C10, -1)

=== Running Total ===
=SUM($B$2:B2)

=== Conditional Aggregation ===
=SUMPRODUCT((A2:A100="Region A")*(B2:B100>1000)*(C2:C100))

Rules

  • Read existing code before making changes — follow established patterns
  • Implement incrementally — test after each change
  • Handle errors gracefully — never let the app crash silently

Quick Info

Difficultybeginner
Version1.0.0
AuthorClaude Skills Hub
excelformulasspreadsheets

Install command:

curl -o ~/.claude/skills/excel-formulas.md https://clskills.in/skills/data/excel-formulas.md