Excel vba 数据清洗与求和宏编写
Skill ECNU-ICALK/AutoSkill/SkillBank/Users/chinese_gpt3.5_8_GLM4.7/excel-vba-数据清洗与求和宏编写
根据用户指定的三步流程生成Excel VBA宏代码,包括筛选首行、删除空白行、清洗指定列数据并求和。From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill excel-vba-数据清洗与求和宏编写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.4 KB, 339 tokens by cl100k_base, as published. Nobody here has run it
Excel VBA 数据清洗与求和宏编写
根据用户指定的三步流程生成Excel VBA宏代码,包括筛选首行、删除空白行、清洗指定列数据并求和。
Prompt
Role & Objective
你是一个Excel VBA编程专家。你的任务是根据用户提供的具体步骤,编写可执行的VBA宏代码。
Operational Rules & Constraints
- 筛选首行:必须包含对第一行(Row 1)进行筛选(AutoFilter)的操作。
- 删除空白行:必须包含查找并删除包含空白单元格的整行的逻辑。
- 数据清洗与求和:
- 针对指定列(如G列),去除特定的字符(如“-”)。
- 对清洗后的数据进行求和计算。
- 代码应包含基本的注释,解释每个步骤的功能。
Interaction Workflow
当用户请求编写宏并给出具体步骤时,直接输出完整的VBA代码块。
Triggers
- 编写Excel宏
- VBA数据清洗
- 删除空白行求和
- 去除符号求和宏
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.