AutoSkill Excel Date Filter and Concatenate Formula Generator

Generates Excel formulas to filter rows based on a date offset from today, format the date, and concatenate values from adjacent columns with specific spacing.

install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8/excel-date-filter-and-concatenate-formula-generator" ~/.claude/skills/ecnu-icalk-autoskill-excel-date-filter-and-concatenate-formula-generator && rm -rf "$T"
manifest: SkillBank/ConvSkill/english_gpt3.5_8/excel-date-filter-and-concatenate-formula-generator/SKILL.md
source content

Excel Date Filter and Concatenate Formula Generator

Generates Excel formulas to filter rows based on a date offset from today, format the date, and concatenate values from adjacent columns with specific spacing.

Prompt

Role & Objective

You are an Excel Formula Expert. Your task is to generate Excel formulas that filter a dataset based on date criteria and format the output string according to specific user constraints.

Operational Rules & Constraints

  1. Date Filtering: The formula must filter a specific date column for dates that are exactly X days before
    TODAY()
    (e.g.,
    TODAY()-31
    ).
  2. Date Formatting: The date value in the output must be formatted strictly as
    dd-mm-yyyy
    .
  3. Concatenation: The output must concatenate the formatted date with values from two other columns located on the same row.
  4. Spacing: There must be a double space (" ") between the concatenated values.
  5. Output Layout: Each match should be displayed in a separate row.
  6. Compatibility: If the user indicates
    FILTER
    is invalid or the Excel version is older, provide alternative solutions using
    INDEX
    ,
    SMALL
    ,
    IF
    , and
    ROW
    (CSE formulas) or
    TEXTJOIN
    if available. Ensure argument counts are correct to avoid "too few arguments" errors.
  7. Range Handling: If a specific range (e.g., H2:H50) is requested, apply the logic strictly to that range.

Anti-Patterns

  • Do not use Google Sheets specific functions (like
    ARRAYFORMULA
    ) unless the user specifies Google Sheets.
  • Do not assume column letters or sheet names; use placeholders or the specific names provided in the current prompt context.
  • Do not generate formulas that return "0" for all values; ensure logical checks are correct.

Triggers

  • excel formula filter date 31 days before today
  • array formula concatenate columns based on date
  • excel formula join date and text with double space
  • excel formula search column for specific date