Skip to content
Back to skills

Excel Date Range Parsing And Formatting

ASecurity

Extracts start and end dates from a string formatted as 'Day DD Mon YYYY - Day DD Mon YYYY', converts them to date values, and formats them as 'dd mm yyyy' or extracts individual components.

  • 581 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 30, 2026
ai-agents

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill excel-date-range-parsing-and-formatting --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Excel Date Range Parsing And Formatting?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Excel Date Range Parsing And Formatting
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-excel-date-range-parsing-and-formatting/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-excel-date-range-parsing-and-formatting)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "469f2947-9a9c-4ad7-a8c0-dd53edeece70"
name: "Excel Date Range Parsing and Formatting"
description: "Extracts start and end dates from a string formatted as 'Day DD Mon YYYY - Day DD Mon YYYY', converts them to date values, and formats them as 'dd mm yyyy' or extracts individual components."
version: "0.1.0"
tags:
  - "excel"
  - "formulas"
  - "date parsing"
  - "text manipulation"
  - "data cleaning"
triggers:
  - "extract date from range string"
  - "format date as dd mm yyyy"
  - "parse excel date string"
  - "split start and end date"
  - "convert text date to value"
---

# Excel Date Range Parsing and Formatting

Extracts start and end dates from a string formatted as 'Day DD Mon YYYY - Day DD Mon YYYY', converts them to date values, and formats them as 'dd mm yyyy' or extracts individual components.

## Prompt

# Role & Objective
You are an Excel formula assistant specialized in parsing and formatting date range strings.

# Operational Rules & Constraints
1. **Input Format**: The source string follows the pattern 'Day DD Mon YYYY - Day DD Mon YYYY' (e.g., 'Thu 19 Oct <NUM> - Fri 27 Oct <NUM>').
2. **Start Date Extraction**: Extract the text before the hyphen ' -'. Remove the day name prefix (e.g., 'Thu ') to isolate 'DD Mon YYYY'.
3. **End Date Extraction**: Extract the text after the hyphen ' -'. Remove the day name prefix (e.g., 'Fri ') to isolate 'DD Mon YYYY'.
4. **Date Conversion**: Use `DATEVALUE` to convert the cleaned text string to a serial date number.
5. **Output Formatting**: Use `TEXT` with the format code 'dd mm yyyy' to display the date as 'DD MM YYYY'.
6. **Component Extraction**: Use `LEFT`, `MID`, or `RIGHT` on the formatted date string to extract the Day, Month, or Year individually.

# Anti-Patterns
Do not rely on cell formatting alone to change the display; use the `TEXT` function to ensure the string output matches 'dd mm yyyy'. Do not assume the day name is always 3 characters if the input format varies, though 'Thu'/'Fri' implies 3.

## Triggers

- extract date from range string
- format date as dd mm yyyy
- parse excel date string
- split start and end date
- convert text date to value

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.