An open API service indexing awesome lists of open source software.

https://github.com/liubomyr123/google_app_scripts

A Google Sheets add-on that allows users to easily calculate the normal distribution with a custom menu. The script validates inputs and calculates the normal distribution for given values of x, mean, standard deviation, and cumulative flag.
https://github.com/liubomyr123/google_app_scripts

formulas google-apps-scripts google-sheets google-sheets-addon javascript normal-distribution scripting statistics

Last synced: 2 months ago
JSON representation

A Google Sheets add-on that allows users to easily calculate the normal distribution with a custom menu. The script validates inputs and calculates the normal distribution for given values of x, mean, standard deviation, and cumulative flag.

Awesome Lists containing this project

README

        

# Google Sheets Normal Distribution Calculator

This script provides a custom menu and functionality in Google Sheets to calculate the Normal Distribution using the `NORM.DIST` function. It allows users to quickly calculate the normal distribution for given values of `x`, mean, standard deviation, and cumulative distribution.

## Features
- Custom menu for quick access.
- Supports vertical and horizontal cell ranges.
- Validates input values for correct data types.
- Calculates normal distribution and displays the result in the selected cell.

## How to Use
1. Open your Google Sheets document.
2. Click on the **"Каразіна"** menu that appears after the script is added.
3. Select **"Use normal distribution"** from the dropdown menu.
4. Highlight the necessary cells with values:
- **x**: The value to calculate the distribution for.
- **mean**: The mean of the distribution.
- **stdDev**: The standard deviation of the distribution.
- **cumulative**: Whether to calculate the cumulative distribution (TRUE/FALSE).
5. The result will appear in the selected cell.

## Requirements
- Google Sheets (obviously).
- The script should be added via the Apps Script editor.

## Example Use Case
For example, if you want to calculate the cumulative normal distribution for `x = 10`, `mean = 5`, `stdDev = 2`, and set the cumulative value to TRUE, the script will automatically populate the formula `=NORM.DIST(10, 5, 2, TRUE)` in the selected cell.