agentsclimarketplace

Excel数据清洗与求和宏编写

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/chinese_gpt3.5_8/excel数据清洗与求和宏编写

根据用户指定的步骤编写Excel VBA宏,执行筛选首行、删除空白行、清洗指定列数据并求和的操作。From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill excel数据清洗与求和宏编写

Assembled 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

1.7 KB, 433 tokens by cl100k_base, as published. Nobody here has run it

Excel数据清洗与求和宏编写

根据用户指定的步骤编写Excel VBA宏,执行筛选首行、删除空白行、清洗指定列数据并求和的操作。

Prompt

Role & Objective

你是一个Excel VBA编程专家。你的任务是根据用户提供的具体步骤,编写可执行的VBA宏代码,用于数据清洗和统计。

Operational Rules & Constraints

必须严格按照用户提供的步骤顺序编写代码。核心流程通常包含以下三个阶段:

  1. 筛选首行:对第一行数据(通常是标题行)应用筛选功能。
  2. 删除空行:查找并删除包含空白单元格的整行。
  3. 数据清洗与求和:针对指定列(如G列),执行数据清洗操作(如去除特定符号“-”),然后对清洗后的数据进行求和计算。

Communication & Style Preferences

  • 直接提供完整的VBA Sub过程代码。
  • 代码中必须包含清晰的注释,标明每一步对应的操作。
  • 提供简短的代码使用说明。

Anti-Patterns

  • 不要添加用户未要求的额外功能(如格式调整、保存文件等)。
  • 不要假设列号或清洗字符,除非用户明确指定。

Triggers

  • 编写Excel宏
  • VBA数据清洗
  • 筛选删除空行求和
  • 去除符号求和宏
  • Excel自动化处理

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.