Skip to content

Statistical Functions, AVERAGE, AVERAGEIF, MEDIAN, MODE, STDEV, MIN, MAX, LARGE, SMALL, Weighted Average, Moving Average, RAND, RANDARRAY, RANK, Percentiles and Quartiles, Box and Whisker Plot, FORECAST, FREQUENCY

Notifications You must be signed in to change notification settings

Kuba27x/Excel-11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ˆ Excel-11

Status Excel


โœจ Project Description

Excel-11 is a comprehensive guide to statistical functions in Microsoft Excel. Here you'll find practical tips, concise explanations, and illustrated examples for functions such as AVERAGE, AVERAGEIF, MEDIAN, MODE, STDEV, MIN, MAX, LARGE, SMALL, Weighted Average, Moving Average, RAND, RANDARRAY, RANK, Percentiles, Quartiles, Box and Whisker Plot, FORECAST, FREQUENCY, and more.

๐Ÿ“š Goal: Help you master Excel's statistical tools for data analysis, whether you're a student, analyst, or professional.


๐Ÿ“’ Table of Contents


๐Ÿงฎ AVERAGE

To calculate the average of a group of numbers, use the AVERAGE function.

Average


๐Ÿงพ AVERAGEIF & AVERAGEIFS

Use AVERAGEIF to average cells based on one criterion (e.g., excluding zeros).
Use AVERAGEIFS to apply multiple criteria.

AverageIf


๐ŸŽฏ MEDIAN

Find the median (middle number) using the MEDIAN function.

Median

โ„น๏ธ In case of an even number of values, the median is the mean of the two middle numbers.


๐Ÿ” MODE

Find the most frequently occurring number with the MODE function.

Mode


๐Ÿ“ Standard Deviation (STDEV, STDEV.P, STDEV.S)

  • STDEV: Calculates standard deviation for a sample (old function).
  • STDEV.P: For the entire population.
  • STDEV.S: For a sample (recommended).

Stdev

โ„น๏ธ Standard deviation indicates how much values differ from the average.


๐Ÿ“ Variance (VAR.P)

Variance is the square of the standard deviation.

Var


๐Ÿ†’ MIN, MAX, LARGE, SMALL

Functions for finding minimum, maximum, largest, and smallest values in a dataset.
(See also examples below for usage with AVERAGE and LARGE.)


๐Ÿงฎ AVERAGEA

AVERAGEA returns the arithmetic mean, treating text and logical values differently than AVERAGE:

  • FALSE and text = 0
  • TRUE = 1

Averagea


๐Ÿงฉ Some Examples with AVERAGE

  • Calculate the average of the top 3 numbers using AVERAGE and LARGE:

Average1

  • Calculate the average of cells that meet criteria with AVERAGEIF:

AverageIf1


โš–๏ธ Weighted Average

Calculate a weighted average using SUMPRODUCT and SUM.

WeightedAverage


๐Ÿ“Š Moving Average

Smooth trends in time series data with a moving average.
Use the Analysis ToolPak:

  1. Data tab โ†’ Analysis group โ†’ Data Analysis
  2. Select "Moving Average"
  3. Choose input range, interval, and output range

Moving1 Moving Moving2 Moving3

๐Ÿ“ˆ The larger the interval, the smoother the trend line.


๐ŸŽฒ Random Numbers (RAND, RANDBETWEEN, RANDARRAY)

  • RAND: Random decimal between 0 and 1

    Rand

  • RANDBETWEEN: Random integer between two values

    RandBetween

  • RANDARRAY: Random array (Excel 365/2021 only)

    RandArray

โš ๏ธ Random numbers update on every recalculation.


๐Ÿ… RANK, RANK.AVG, RANK.EQ

  • RANK: Returns rank in a list.
  • RANK.AVG: Average rank if duplicates exist.
  • RANK.EQ: Updated version; works as RANK.

RankAvg

Cool Example (Top N Results, Filtering, Sorting)

  • Use RANK, LARGE, FILTER, and SORT to display top results:

Sort Sort1


๐Ÿ“Š Percentiles and Quartiles

  • PERCENTILE: Find e.g. the 30th percentile.

    Percentile

  • QUARTILE: Find the 1st quartile.

    Quartile


๐Ÿ“ฆ Box and Whisker Plot

Shows min, 1st quartile, median, 3rd quartile, and max.

  1. Select range (e.g., A1:A7)
  2. Insert โ†’ Statistic Chart โ†’ Box and Whisker

Box

  • Median (middle line)
  • Mean (x in box)
  • Whiskers show min/max

๐Ÿ“ˆ FORECAST & FORECAST.LINEAR

  • FORECAST: Old function, now replaced by FORECAST.LINEAR
  • Predicts a value along a linear trend.

Forecast Forecast1

๐Ÿ’ก For seasonal data, use FORECAST.ETS (Excel 2016+).


โฌ†๏ธโฌ‡๏ธ MAXIFS & MINIFS

Find maximum or minimum values based on criteria (Excel 2016+).


๐Ÿ“‰ FREQUENCY

Calculate how often values fall into bins.

Frequency Frequency1


๐Ÿ“‹ Descriptive Statistics

Use the Analysis ToolPak to generate summary statistics.

  1. Data tab โ†’ Data Analysis
  2. Select "Descriptive Statistics"
  3. Input/output range, check "Summary statistics"

Descriptive Descriptive1


๐Ÿ› ๏ธ How to add Analysis ToolPak

  1. File โ†’ Options
  2. Add-ins โ†’ Analysis ToolPak โ†’ Go
  3. Check Analysis ToolPak โ†’ OK
  4. Data tab โ†’ Analysis group โ†’ Data Analysis

๐Ÿ“ท Screenshots

All images can be found in the /Screenshots folder.


โ„น๏ธ Requirements

  • Microsoft Excel (recommended: 2021/365 for modern functions)
  • Windows OS (for some add-ins)

๐Ÿ‘จโ€๐Ÿ’ป Author

Project and documentation by Kuba27x
Repository: Kuba27x/Excel-11


About

Statistical Functions, AVERAGE, AVERAGEIF, MEDIAN, MODE, STDEV, MIN, MAX, LARGE, SMALL, Weighted Average, Moving Average, RAND, RANDARRAY, RANK, Percentiles and Quartiles, Box and Whisker Plot, FORECAST, FREQUENCY

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published