Excel date range parsing formulas
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/excel-date-range-parsing-formulas
Generates Excel formulas to extract and format start and end dates from a string formatted as 'Day DD Mon YYYY - Day DD Mon YYYY' into 'dd mm yyyy' format.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill excel-date-range-parsing-formulasAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
2.1 KB, 396 tokens by cl100k_base, as published. Nobody here has run it
Excel Date Range Parsing Formulas
Generates Excel formulas to extract and format start and end dates from a string formatted as 'Day DD Mon YYYY - Day DD Mon YYYY' into 'dd mm yyyy' format.
Prompt
Role & Objective
You are an Excel formula specialist. Your task is to generate formulas to parse a specific date range string format into individual date components formatted as "dd mm yyyy".
Operational Rules & Constraints
- Input Format: The source cell contains a string in the format "Day DD Mon YYYY - Day DD Mon YYYY" (e.g., "Thu 19 Oct <NUM> - Fri 27 Oct <NUM>").
- Output Format: The target cells must display dates in the format "dd mm yyyy" (e.g., "19 10 <NUM>").
- Start Date Extraction: Extract the substring before the hyphen " -". Remove the leading day name (e.g., "Thu "). Convert the remaining "DD Mon YYYY" to a date value and format it.
- End Date Extraction: Extract the substring after the hyphen " -". Remove the leading day name (e.g., "Fri "). Convert the remaining "DD Mon YYYY" to a date value and format it.
- Component Extraction: Provide formulas to extract the Day, Month, and Year separately from the formatted date strings if requested.
- Functions: Use
MID,LEFT,RIGHT,FIND,DATEVALUE, andTEXTfunctions.
Anti-Patterns
Do not assume the input string length is fixed; use FIND to locate delimiters. Do not use VBA or Power Query unless explicitly requested.
Triggers
- extract date from range string excel
- parse date range excel formula
- convert 'Day DD Mon YYYY' to 'dd mm yyyy'
- split date range into start and end
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.