mcpField
E
excel-analytics

excel-analytics

github.com/vivy-yi数据与数据库508276 次安装40 周前更新
代码仓库

关于 excel-analytics

excel-analytics 是一项使用电子表格分析小红书表现数据的技能,适用于需要自定义追踪、可视化和报告的创作者与团队。它涵盖数据整理、公式计算、数据透视表、仪表板及分析报告。

主要功能

  1. 01导入并整理小红书数据
  2. 02用公式计算指标和 KPI
  3. 03通过数据透视表汇总数据
  4. 04创建图表和交互式仪表板
  5. 05分析趋势并撰写报告

适用场景

  1. 01跟踪不同帖文类型的表现
  2. 02比较多个时期的指标
  3. 03制作定制仪表板和报告

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/vivy-yi/xiaohongshu-skills --skill excel-analytics

安装后在 Claude Code 中输入/excel-analytics确认已加载。

详细介绍

Excel 分析(Excel 数据分析)

概述

Excel 分析是系统地使用电子表格软件来整理、分析、可视化和报告小红书表现数据,从而无需专门的分析工具即可进行自定义分析、灵活报告并获取数据驱动的洞察。

适用场景

适用于:

  • 为小红书数据构建自定义跟踪电子表格
  • 分析从平台分析工具导出的数据
  • 创建个性化仪表板和报告
  • 执行自定义计算并制定指标
  • 可视化表现趋势和模式
  • 学习数据分析基础知识
  • 比较多个时间段或内容类型
  • 为利益相关者创建执行摘要

不适用于:

  • 需要实时监控时(使用平台分析工具)
  • 需要复杂统计分析时(使用专用工具)
  • 需要大规模自动化报告时(使用 BI 工具)
  • 只需进行简单快速检查时(使用平台原生分析工具)

核心模式

之前(手动、分散、低效):

❌ "Data scattered across screenshots and exports"
❌ "Manual calculator for engagement rates"
❌ "No visual trends, just numbers in cells"
❌ "Recreating same reports from scratch every week"

之后(井然有序、自动化、富有洞察):

✅ "All data in one structured master spreadsheet"
✅ "Automatic calculations update when data changes"
✅ "Interactive charts show trends at glance"
✅ "Reusable dashboard template saves hours weekly"

Excel 分析工作流:

  1. 导入 - 将小红书数据导入 Excel
  2. 清理 - 正确组织和设置数据格式
  3. 计算 - 使用公式创建指标和 KPI
  4. 可视化 - 构建图表和仪表板
  5. 分析 - 提取洞察并识别模式
  6. 报告 - 总结发现,为决策提供依据

快速参考

Excel 功能使用场景复杂度节省时间
数据透视表汇总大型数据集中等每周 2-3 小时
VLOOKUP/XLOOKUP跨工作表匹配数据中等每周 1-2 小时
图表可视化趋势简单每周 1 小时
条件格式突出显示洞察简单每周 30 分钟
公式计算指标中等每周 2-3 小时
宏自动化重复任务高级每周 5 小时以上

实施

步骤 1:设置主电子表格

电子表格架构:


Workbook Structure (Separate Sheets/Tabs):

Sheet 1: README
- Purpose of spreadsheet
- How to use guide
- Definitions of metrics
- Contact for questions

Sheet 2: Raw Data Import
- Direct export from Xiaohongshu
- Date stamps for each import
- Raw, unmanipulated data
- Historical archive

Sheet 3: Content Performance Log
- One row per post
- Columns: Date, Content Type, Topic, Reach, Impressions, Likes, Comments, Shares, Saves, Engagement Rate
- Ongoing manual or automated entry

Sheet 4: Follower Growth Tracker
- Daily/weekly follower counts
- Growth rate calculations
- Follower acquisition sources
- Churn tracking

Sheet 5: Key Metrics Dashboard
- Executive summary
- Top-level KPIs
- Traffic light indicators (Green/Yellow/Red)
- Trend visualizations

Sheet 6: Content Analysis
- Performance by content type
- Performance by topic
- Top/bottom performing posts
- A/B test results

Sheet 7: Time Analysis
- Performance by day of week
- Performance by time of day
- Seasonal patterns
- Best posting times

Sheet 8: Competitor Tracking
- Competitor metrics
- Comparative analysis
- Market share
- Benchmarking

Sheet 9: Goals and Targets
- Target metrics by period
- Progress vs goals
- Gap analysis
- Forecasting

Sheet 10: Charts and Visualizations
- Trend charts
- Comparison charts
- Distribution charts
- Custom dashboards

数据字典(列定义):


Essential Columns for Content Log:

A: Date (YYYY-MM-DD format)
B: Content_ID (Unique identifier)
C: Content_Type (Post, Video, Story, Live)
D: Topic (Primary theme/category)
E: Title (Post title or description)
F: Publish_Time (HH:MM format)
G: Day_of_Week (Monday-Sunday)
H: Reach (Unique users who saw content)
I: Impressions (Total displays)
J: Likes (❤️ reactions)
K: Comments (💬 responses)
L: Shares (📤 forwards)
M: Saves (📑 bookmarks)
N: Profile_Visits (👁️ profile clicks)
O: Follows_Gained (📈 new followers from post)
P: Engagement_Rate (Calculated)
Q: CTR (Click-through rate if applicable)
R: Conversion_Signups (Email, purchase, etc.)
S: Cost (If paid promotion)
T: Notes (Campaign context, etc.)

Optional Advanced Columns:
U: Hashtag_1, Hashtag_2, Hashtag_3
V: Product_Mentioned
W: Promo_Code_Used
X: A/B_Test_Variant
Y: Season (Spring/Summer/Fall/Winter)
Z: Campaign_Name
步骤 2:导入并清理数据

数据导入方法:


Method 1: Manual Entry
Best for: Small accounts, <50 posts/week
Process:
- Create template with required columns
- Manual entry from Xiaohongshu analytics
- Time required: 30-60 minutes/week

Pros: Complete control, no technical skill needed
Cons: Time-consuming, human error risk

Method 2: Export and Import
Best for: Medium accounts, 50-200 posts/week
Process:
- Export from Xiaohongshu Pro analytics
- Download CSV file
- Import into Excel
- Map columns to your structure

Steps:
1. Xiaohongshu Pro → Analytics → Content Performance
2. Select date range
3. Export as CSV
4. Excel → Data → From Text/CSV
5. Select file and import
6. Transform data to match your structure

Pros: Faster, less error-prone
Cons: Requires export capability, some cleanup needed

Method 3: API Integration (Advanced)
Best for: Large accounts, 200+ posts/week
Process:
- Use Xiaohongshu API (if available)
- Connect Excel to API (Power Query)
- Automated data refresh
- Real-time or scheduled updates

Pros: Automated, real-time, scalable
Cons: Technical setup, may require developer

Data Cleaning Checklist:
✅ Remove duplicate entries
✅ Fix date formats (consistent YYYY-MM-DD)
✅ Handle missing values (0 or NA)
✅ Remove special characters from text
✅ Standardize text casing (proper or upper)
✅ Verify data accuracy (spot check)
✅ Create backup before manipulation
步骤 3:创建计算指标

必备 Excel 公式:


Engagement Rate Formula:

=IF(H2>0, (J2+K2+L2+M2)/H2, 0)

Where H=Reach, J=Likes, K=Comments, L=Shares, M=Saves

Follower Growth Rate Formula:

=(O2/SUM($O$1:O2))*100

Where O=Follows Gained, calculates cumulative growth rate

Week-over-Week Growth Formula:

=(SUM(H2:H8)-SUM(H9:H15))/SUM(H9:H15)

Compares this week to last week

Moving Average Formula (7-day):

=AVERAGE(J2:J8)

Smooths daily fluctuations

Percentage Change Formula:

=(J2-J1)/J1

Shows change from previous period

Conditional Formatting Rules:
Highlight top performers:
- Engagement rate > 10%: Green
- Engagement rate 5-10%: Yellow
- Engagement rate < 5%: Red

Highlight outliers:
- Values > 2x standard deviation: Bold
- Values = 0: Gray text

Identify best performing content type:

=MAXIFS(P:P, C:C, "Video")

Returns max engagement rate for Video content

Calculate content type averages:

=AVERAGEIF(C:C, "Video", P:P)

Average engagement rate for Video posts

高级公式(数据透视表): 创建动态汇总:

  • 按内容类型统计总互动量
  • 按话题统计平均覆盖人数
  • 按星期统计最佳发布时间
  • 按月比较表现
  • 按互动量列出前 10 篇笔记

数据透视表步骤:

  1. 选择数据范围(包括标题)
  2. 插入 → 数据透视表
  3. 选择行(例如,Content_Type)
  4. 选择值(例如,Engagement_Rate 的平均值)
  5. 添加筛选器(例如,日期范围)
  6. 设置数据透视表格式和样式
  7. 数据更新后刷新

### Step 4: Build Visualizations

**Chart Creation Guide**:

图表类型选择:

折线图(趋势分析) 最适合:随时间变化的指标 数据:X 轴为日期,Y 轴为指标 示例:

  • 粉丝增长趋势
  • 随时间变化的互动率
  • 覆盖人数与展示量的比较

条形图(比较) 最适合:比较类别 数据:X 轴为类别,Y 轴为指标 示例:

  • 按内容类型统计互动量
  • 按话题统计覆盖人数
  • 按星期统计表现

柱形图(排名) 最适合:表现最佳或最差的项目 数据:按指标对项目进行排名 示例:

  • 按互动量列出前 10 篇笔记
  • 表现最差的 5 篇笔记(找出问题)
  • 话题标签表现排名

饼图(分布) 最适合:展示占比 数据:类别和百分比 示例:

  • 内容类型分布
  • 话题组合占比
  • 流量来源细分

散点图(相关性) 最适合:展示两个指标之间的关系 数据:X 轴为指标 1,Y 轴为指标 2 示例:

  • 覆盖人数与互动率
  • 笔记长度与互动量
  • 发布时间与覆盖人数 组合图表(多项指标) 最适合:具有不同量纲的相关指标 数据:组合两种图表类型 示例:
  • 覆盖人数(柱形图)+ 互动率(折线图)
  • 展示量(柱形图)+ 点击率(折线图)

图表最佳实践: ✅ 标题清晰描述图表展示的内容 ✅ 坐标轴标签注明单位(%、K、M) ✅ 多系列图表添加图例 ✅ 为关键数据点添加数据标签 ✅ 使用一致的配色方案(符合品牌风格) ✅ 数据不要过多(避免杂乱) ✅ 根据数据选择合适的图表类型 ❌ 避免使用 3D 图表(更难阅读) ❌ 避免使用过多颜色(最多 3-4 种) ❌ 不要让网格线过于杂乱 ❌ 不要添加装饰元素(容易分散注意力)


**Dashboard Design**:

高管仪表板布局:

第 1 行:标题和日期范围

  • 仪表板标题:"小红书表现仪表板"
  • 日期范围选择器:下拉菜单或单元格引用
  • 上次更新时间:时间戳

第 2 行:关键绩效指标(大数字)

  • 粉丝总数:[数值] [增长率 %]
  • 总互动量:[总和] [每篇笔记平均值]
  • 平均互动率:[%] [与上一周期相比]
  • 总覆盖人数:[总和] [每篇笔记平均值]
  • 热门笔记:[标题] [互动率]

第 3-4 行:趋势图表(从左到右)

  • 折线图:粉丝增长(30 天)
  • 折线图:互动率趋势(30 天)

第 5-6 行:对比图表

  • 柱形图:按内容类型划分的表现
  • 柱形图:按星期几划分的表现

第 7-8 行:排名

  • 表现最好的 10 篇笔记表格(链接到数据)
  • 表现最差的 5 篇笔记表格(用于排查问题)

第 9 行:目标和进度

  • 目标与实际值对比
  • 红绿灯状态(绿/黄/红)

交互元素:

  • 内容类型筛选下拉菜单
  • 日期范围选择器(开始/结束单元格)
  • 用于动态筛选的切片器
  • 用于刷新数据的按钮
  • 指向详细工作表的超链接

条件格式:

  • KPI > 目标:绿色背景
  • KPI 达到目标的 80-100%:黄色背景
  • KPI < 目标的 80%:红色背景
  • 趋势上升:绿色箭头
  • 趋势下降:红色箭头

自动刷新设置(如使用外部数据):

  1. 数据 → 获取数据 → 从文件
  2. 选择数据源
  3. 设置刷新属性(例如,每 24 小时刷新一次)
  4. 保护公式单元格
  5. 允许打开时刷新

### Step 5: Analyze and Extract Insights

**Analysis Framework**:

每周分析例行流程:

  1. 更新数据(15 分钟)
  • 从小红书导入新数据
  • 粘贴到原始数据工作表
  • 刷新计算结果和数据透视表
  • 验证数据完整性
  1. 查看仪表板(10 分钟)
  • 检查 KPI 与目标的对比
  • 查看趋势图表,查找异常
  • 找出表现最佳/最差的内容
  • 记录重大变化
  1. 深入分析(20 分钟)
  • 内容类型分析

    • 哪些类型表现最好?
    • 是否有表现不佳的类型?
    • 是否存在季节性模式?
  • 主题分析

    • 哪些主题引起了共鸣?
    • 是否有意外发现?
    • 是否发现内容缺口?
  • 发布时间分析

    • 最佳/最差发布时间
    • 星期几模式
    • 最佳发布时间安排
  • 竞争分析

    • 我们的表现如何?
    • 是否有值得借鉴的竞品成果?
    • 市场是否发生变化?
  1. 记录洞察(15 分钟)
  • 关键发现:哪些做得好,哪些做得不好
  • 建议:下周的行动事项
  • 正在进行的测试:进行中的 A/B 测试
  • 提出的问题:需要调查的未知事项
  1. 创建报告(20 分钟)
  • 执行摘要(1 页)
  • 详细分析(2-3 页)
  • 可视化内容(图表)
  • 附录(如有需要,附上原始数据)

总计:每周约 80 分钟 节省时间:相比手动分析节省 3-4 小时

洞察提取技巧:

表现分析:

  • 计算增长率(环比上周、环比上月)
  • 与基准对比(过往表现、目标、竞品)
  • 找出异常值(表现特别好/差的数据)
  • 发现趋势(改善、下降、稳定)

相关性分析:

  • 发布时间与互动量
  • 内容长度与覆盖人数
  • 话题标签数量与收藏量
  • 主题与粉丝增长

细分分析:

  • 按内容类型划分的表现
  • 按主题划分的表现
  • 按一天中的时段划分的表现
  • 按星期几划分的表现
  • 按季节划分的表现 差距分析:
  • 目标与实际情况(绩效差距)
  • 竞品对比(市场差距)
  • 受众需求与内容供给(内容差距)
  • 资源分配与投资回报率(效率差距)

### Step 6: Report and Communicate Findings

**Report Structure**:

每周绩效报告(1-2 页):

第 1 页:执行摘要

  • 关键指标概览
  • 目标达成进度
  • 本周 3 项主要成果
  • 3 项主要挑战/经验
  • 下周 3-5 条建议

第 2 页:详细分析

  • 内容表现细分
  • 互动质量分析
  • 粉丝增长分析
  • 竞品对比
  • 测试与经验总结

每月绩效报告(5-8 页):

第 1 页:执行仪表板

  • 所有 KPI 的可视化呈现
  • 月环比对比
  • 目标进度
  • 红黄绿状态指示

第 2 页:内容深入分析

  • 按内容类型分析表现
  • 表现最佳的帖子
  • 表现不佳的内容分析
  • 内容建议

第 3 页:受众洞察

  • 粉丝增长分析
  • 受众人口统计信息(如有)
  • 互动质量
  • 受众反馈主题

第 4 页:发布时间与季节性

  • 最佳发布时间
  • 按星期几分析表现
  • 季节性规律
  • 节假日/活动的影响

第 5 页:竞品分析

  • 市场地位
  • 竞品对标
  • 声量份额
  • 机遇/威胁

第 6 页:目标与预测

  • 目标进度
  • 预测(未来 30/60/90 天)
  • 资源分配建议
  • 战略举措

第 7 页:附录

  • 详细数据表
  • 方法论
  • 定义
  • 原始数据(如有需要)

演示技巧: ✅ 从关键洞察开始(先呈现执行摘要) ✅ 使用可视化内容(图表、示意图、仪表板) ✅ 尽量精简文字(让数据说话) ✅ 突出关键数字(通过颜色、字号、粗体) ✅ 用数据讲好故事(背景、洞察、行动) ✅ 提供建议(可执行的后续步骤) ✅ 了解受众(高管需要摘要,分析师需要细节) ❌ 不要用过多数据淹没受众(筛选相关内容) ❌ 不要只展示数据而不作解读(补充洞察) ❌ 不要省略背景信息(解释数字为何重要)


## Common Mistakes

| Mistake | Why Happens | Fix |
|---------|-------------|-----|
| Not updating data regularly | Time pressure, forget | Schedule weekly update, set reminders |
| Poor data structure | Started without plan | Design structure before collecting data |
| Wrong formulas | Excel knowledge gap | Validate formulas, test with known data |
| Over-complicating dashboards | Want everything visible | Focus on key metrics, keep simple |
| Not backing up data | Complacency | Save backup copies regularly |
| Manual data entry errors | Human error | Use data validation, double-check |
| Ignoring data quality | Trust exports blindly | Clean and validate imported data |
| Too many charts | Want comprehensive analysis | Fewer, more focused visualizations |
| Not documenting metrics | Assumes everyone knows | Create data dictionary |
| Forgetting to refresh | Static dashboard | Set refresh schedule, note last update |

## Real-World Impact

**Case Study: Excel Analytics Transformation**

A brand manager created Excel analytics system replacing manual reporting.

**Before Excel Analytics**:
- Manual data collection from screenshots
- Calculator for engagement rates
- No visual trends, just numbers
- 4 hours weekly for basic reporting
- Inconsistent metrics (different definitions)
- No historical analysis
- Poor insights, missed opportunities

**After Excel Implementation** (3 months):

System Setup (Month 1):
- Created master spreadsheet with 10 sheets
- Automated imports from Xiaohongshu
- Built formulas for 15 calculated metrics
- Created executive dashboard
- Set up conditional formatting
- Documented data dictionary

Analysis and Refinement (Months 2-3):
- Added competitor tracking
- Created content type analysis
- Built time-of-day analysis
- Developed A/B testing templates
- Automated weekly report generation
- Created monthly deep-dive templates

**Results** (12 months):
Time Savings:
- Weekly reporting: 4 hours → 45 minutes (82% reduction)
- Monthly analysis: 8 hours → 2 hours (75% reduction)
- Annual savings: 250+ hours

Improved Insights:
- Identified optimal posting time: 7-9 PM (+40% engagement)
- Discovered top content type: Video tutorials (3x engagement)
- Found underserved topic: Ingredient education (filled gap, +25% growth)
- Spent less time on reporting, more time on strategy

Business Impact:
- Engagement rate: +35% from optimization
- Follower growth: +50% from data-driven content
- Content efficiency: 40% improvement (fewer posts, better results)
- Team productivity: +15% (time saved reinvested)
- Decision quality: Evidence-based, not gut feeling

Spreadsheet Capabilities Built:
- Automated data import (saves 1 hour/week)
- 15 calculated metrics (instant vs manual)
- Interactive dashboard (real-time insights)
- 12 visualization templates (consistent reporting)
- Competitor benchmarking (market intelligence)
- A/B test tracker (systematic testing)

**Data-Backed Insights**:
- Excel automation saves 75-85% of reporting time
- Visual dashboards improve insight speed by 3-5x
- Calculated metrics prevent errors and ensure consistency
- Historical data enables trend analysis and forecasting
- Competitor tracking identifies 30-40% more opportunities
- A/B testing in Excel increases optimization rate by 2x
- Conditional formatting highlights insights instantly
- Pivot tables enable multi-dimensional analysis in minutes
- Well-structured spreadsheets are scalable for years of data
- Excel skills transfer to other tools and platforms

## Related Skills

**REQUIRED**: Use data-analytics (understand metrics to track)
**REQUIRED**: Use data-metrics-understanding (know what metrics mean)
**REQUIRED**: Use data-report (communicate findings)

**Recommended for Excel mastery**:
- **pivot-tables** - Advanced data summarization and analysis
- **data-visualization** - Chart and dashboard design principles
- **advanced-formulas** - Complex calculations and lookups
- **macros-automation** - VBA and automation for Excel
- **power-query** - Data import and transformation
- **spreadsheet-design** - Structure and architecture best practices

评论

支持 Markdown