Excel analytics

From vivy-yi/xiaohongshu-skills · View interactive version

Excel analytics is an AI agent skill from the GitHub repository vivy-yi/xiaohongshu-skills. Use when analyzing Xiaohongshu data with Excel, creating spreadsheets for performance tracking, building data dashboards, conducting manual analysis, or learning spreadsheet skills for social media analytics

How to use this skill

Skill file

Excel Analytics (Excel数据分析)

Overview

Excel analytics is the systematic use of spreadsheet software to organize, analyze, visualize, and report on Xiaohongshu performance data, enabling custom analysis, flexible reporting, and data-driven insights without requiring specialized analytics tools.

When to Use

Use when:

Do NOT use when:

Core Pattern

Before (manual, scattered, inefficient):

❌ "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"

After (organized, automated, insightful):

✅ "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 Analytics Workflow:

  1. Import - Bring data from Xiaohongshu into Excel
  2. Clean - Structure and format data properly
  3. Calculate - Create metrics and KPIs with formulas
  4. Visualize - Build charts and dashboards
  5. Analyze - Extract insights and identify patterns
  6. Report - Summarize findings for decision-making

Quick Reference

| Excel Feature | Use Case | Complexity | Time Saved |

|---------------|----------|------------|-------------|

| Pivot Tables | Summarize large datasets | Medium | 2-3 hours/week |

| VLOOKUP/XLOOKUP | Match data across sheets | Medium | 1-2 hours/week |

| Charts | Visualize trends | Simple | 1 hour/week |

| Conditional Formatting | Highlight insights | Simple | 30 min/week |

| Formulas | Calculate metrics | Medium | 2-3 hours/week |

| Macros | Automate repetitive tasks | Advanced | 5+ hours/week |

Implementation

Step 1: Set Up Master Spreadsheet

Spreadsheet Architecture:


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

Data Dictionary (Column Definitions):


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

Step 2: Import and Clean Data

Data Import Methods:


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

Step 3: Create Calculated Metrics

Essential Excel Formulas:


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

Advanced Formulas (Pivot Tables):

Create dynamic summaries:

Pivot Table Steps:

  1. Select data range (including headers)
  2. Insert → Pivot Table
  3. Choose rows (e.g., Content_Type)
  4. Choose values (e.g., Average of Engagement_Rate)
  5. Add filters (e.g., Date range)
  6. Format and style pivot table
  7. Refresh when data updates

### Step 4: Build Visualizations

**Chart Creation Guide**:

Chart Type Selection:

Line Chart (Trend Analysis)

Best for: Metrics over time

Data: Date on X-axis, Metric on Y-axis

Examples:

Bar Chart (Comparisons)

Best for: Comparing categories

Data: Categories on X-axis, Metric on Y-axis

Examples:

Column Chart (Rankings)

Best for: Top/bottom performers

Data: Items ranked by metric

Examples:

Pie Chart (Distributions)

Best for: Showing proportions

Data: Category and percentage

Examples:

Scatter Plot (Correlations)

Best for: Relationship between two metrics

Data: Metric 1 on X-axis, Metric 2 on Y-axis

Examples:

Combo Chart (Multiple Metrics)

Best for: Related metrics with different scales

Data: Two chart types combined

Examples:

Chart Best Practices:

✅ Clear title describing what chart shows

✅ Axis labels with units (%, K, M)

✅ Legend for multi-series charts

✅ Data labels for key points

✅ Consistent color scheme (on-brand)

✅ Not too much data (cluttered)

✅ Appropriate chart type for data

❌ Avoid 3D charts (harder to read)

❌ Avoid excessive colors (3-4 max)

❌ Don't clutter with gridlines

❌ No decorative elements (distracting)


**Dashboard Design**:

Executive Dashboard Layout:

Row 1: Header and Date Range

Row 2: Key Performance Indicators (Big Numbers)

Row 3-4: Trend Charts (Left - Right)

Row 5-6: Comparison Charts

Row 7-8: Rankings

Row 9: Goals and Progress

Interactive Elements:

Conditional Formatting:

Auto-Refresh Setup (if using external data):

  1. Data → Get Data → From File
  2. Select data source
  3. Set refresh properties (e.g., every 24 hours)
  4. Protect formula cells
  5. Allow refresh on open

### Step 5: Analyze and Extract Insights

**Analysis Framework**:

Weekly Analysis Routine:

  1. Update Data (15 min)
  1. Review Dashboard (10 min)
  1. Deep Dive Analysis (20 min)
  1. Document Insights (15 min)
  1. Report Creation (20 min)

Total Time: ~80 minutes per week

Saves: 3-4 hours vs manual analysis

Insight Extraction Techniques:

Performance Analysis:

Correlation Analysis:

Segmentation Analysis:

Gap Analysis:


### Step 6: Report and Communicate Findings

**Report Structure**:

Weekly Performance Report (1-2 pages):

Page 1: Executive Summary

Page 2: Detailed Analysis

Monthly Performance Report (5-8 pages):

Page 1: Executive Dashboard

Page 2: Content Deep Dive

Page 3: Audience Insights

Page 4: Timing and Seasonality

Page 5: Competitive Analysis

Page 6: Goals and Forecast

Page 7: Appendices

Presentation Tips:

✅ Start with key insights (executive summary first)

✅ Use visuals (charts, graphs, dashboards)

✅ Keep text minimal (let data speak)

✅ Highlight key numbers (color, size, bold)

✅ Tell story with data (context, insights, actions)

✅ Include recommendations (actionable next steps)

✅ Know your audience (execs need summaries, analysts need detail)

❌ Don't overwhelm with data (curate for relevance)

❌ Don't present without interpretation (add insights)

❌ Don't omit context (explain why numbers matter)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.