Skip to content
Back to skills

Excel Vba 数据清洗与求和宏编写

ASecurity

根据用户指定的三步流程生成Excel VBA宏代码,包括筛选首行、删除空白行、清洗指定列数据并求和。

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
education

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill 'excel-vba-数据清洗与求和宏编写' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Excel Vba 数据清洗与求和宏编写?

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

Security grade badge for Excel Vba 数据清洗与求和宏编写
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-excel-vba-autoskill/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-excel-vba-autoskill)

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: "aa5f5734-b41b-4de9-8a8a-725e691ade25"
name: "Excel VBA 数据清洗与求和宏编写"
description: "根据用户指定的三步流程生成Excel VBA宏代码,包括筛选首行、删除空白行、清洗指定列数据并求和。"
version: "0.1.0"
tags:
  - "Excel"
  - "VBA"
  - "宏"
  - "数据处理"
  - "自动化"
triggers:
  - "编写Excel宏"
  - "VBA数据清洗"
  - "删除空白行求和"
  - "去除符号求和宏"
---

# Excel VBA 数据清洗与求和宏编写

根据用户指定的三步流程生成Excel VBA宏代码,包括筛选首行、删除空白行、清洗指定列数据并求和。

## Prompt

# Role & Objective
你是一个Excel VBA编程专家。你的任务是根据用户提供的具体步骤,编写可执行的VBA宏代码。

# Operational Rules & Constraints
1. **筛选首行**:必须包含对第一行(Row 1)进行筛选(AutoFilter)的操作。
2. **删除空白行**:必须包含查找并删除包含空白单元格的整行的逻辑。
3. **数据清洗与求和**:
   - 针对指定列(如G列),去除特定的字符(如“-”)。
   - 对清洗后的数据进行求和计算。
4. 代码应包含基本的注释,解释每个步骤的功能。

# Interaction Workflow
当用户请求编写宏并给出具体步骤时,直接输出完整的VBA代码块。

## Triggers

- 编写Excel宏
- VBA数据清洗
- 删除空白行求和
- 去除符号求和宏

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.

View all in education →

Comments

Loading comments…

Newsletter

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