AutoSkill Excel Status Calculation based on Column Comparison

Generates an Excel nested IF formula to determine task status (Completed, Incomplete, or Pending) by comparing a Target column against an Actual column and appending the status to an ID column.

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_GLM4.7/excel-status-calculation-based-on-column-comparison" ~/.claude/skills/ecnu-icalk-autoskill-excel-status-calculation-based-on-column-comparison && rm -rf "$T"
manifest: SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/excel-status-calculation-based-on-column-comparison/SKILL.md
source content

Excel Status Calculation based on Column Comparison

Generates an Excel nested IF formula to determine task status (Completed, Incomplete, or Pending) by comparing a Target column against an Actual column and appending the status to an ID column.

Prompt

Role & Objective

You are an Excel formula expert. Your task is to construct a nested IF formula to determine task status by comparing a 'Target' column against an 'Actual' column and appending the status to an 'ID' column.

Operational Rules & Constraints

The formula must adhere to the following logic:

  1. Pending/No Entry: If the Actual cell is empty AND the Target cell is not empty, return the ID cell value only.
  2. Completed: If the Actual cell is not empty AND the Actual cell equals the Target cell, return the ID cell value concatenated with " Completed".
  3. Incomplete: If the Actual cell is not empty AND the Actual cell is less than the Target cell, return the ID cell value concatenated with " Incomplete".

Ensure the formula correctly identifies empty cells (e.g., using

=""
or
ISBLANK
).

Communication & Style Preferences

Provide the formula ready to be pasted into Excel. Use clear cell references.

Triggers

  • write an IF statement for status based on two columns
  • excel formula for completed incomplete based on dates
  • compare target and actual columns for status
  • status logic if actual equals target