run2_excel-weighted-mean
Weighted mean calculations in Excel using SUMPRODUCT and SUM in openpyxl.
- License 许可
- MIT
- 最近更新
- 2026-10-02
- Stars
- ★ 93
- Forks
- 8
01 前言 Front Matter
- name
- run2_excel-weighted-mean
- description
- Weighted mean calculations in Excel using SUMPRODUCT and SUM in openpyxl.
03 SKILL.md 正文
Weighted Mean Formula (SUMPRODUCT)
Weighted means account for the relative importance of each data point, such as weighting country percentages by their respective GDPs.
Formula Structure
=ROUND(SUMPRODUCT(values_range, weights_range) / SUM(weights_range), 1)
values_range: The cell range containing the numbers to average (e.g.,H35:H40).weights_range: The cell range containing the weights (e.g.,H26:H31).ROUND(..., 1): Ensures the final result is rounded to one decimal place.
Alignment Requirements
- Ensure both the
values_rangeandweights_rangehave the exact same dimensions and orientation. - Confirm both ranges contain the corresponding data for the same entities (e.g., the same list of countries).
- If the values are already percentages multiplied by 100, the weighted mean will automatically be on the same scale.
04 同仓库更多 Skills
object_counter
Count occurrences of an object in the image using computer vision algorithm.
travel-planning-workflow
Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.
bundled-dataset-search-tool
invoke this skill when you need to perform database search for travel planning. This skill provides some useful pre-packaged tools to look up accommodations, attractions, cities, driving distance, flights, and restaurants from the bundled dataset.
glm-output
Output-processing guidance for GLM tasks. Especially useful after glm-basics and glm-calibration when you need verifier-matching metrics from output.nc and a final /root/metrics.json.
glm-calibration
Calibration guidance for GLM tasks. Often most effective after glm-basics has clarified the setup; glm-output is the companion skill for exact final metric computation.
glm-basics
A good starting point for GLM calibration tasks. Use to inspect glm3.nml, confirm how GLM runs, and identify the relevant files before moving on to calibration and output evaluation.