Excel VBA | Average() Functions Last Updated : 29 Sep, 2022 Comments Improve Suggest changes Like Article Like Report VBA (Visual Basic for Applications) is the programming language of Excel and other offices. It is an event-driven programming language from Microsoft. With Excel VBA, one can automate many tasks in excel and all other office softwares. It helps in generating reports, preparing various charts, graphs and moreover, it performs calculation using its various functions. Let's see Average functions in Excel. AVERAGE It returns the arithmetic mean of all of its arguments. Syntax: =AVERAGE(number1, number2, …) Here, number 1: This is the first number in your cell. You can specify it upto 255 numbers. number 2: This is an Optional field. You can specify it upto 255 numbers. Example: Output: AVERAGEIF: It calculates the average of only those values which meet a certain criteria. Syntax: =AVERAGEIF(range, criteria, average_range) range: It is the range of cells to be evaluated. The cells in range can be numbers, names, arrays or any other reference that contains numbers. Blank and text values are not considered. criteria: It should be in the form of a number or any expression which defines which all cells to be averaged. For instance, “mango”, C6, “<35” average_range: [Optional] If this is not mentioned, Excel will get average of only those cells on which criteria is applied, which are specified in the range argument. Notes: -> If a cell in average_range is an empty cell, it will be ignored. -> If range is a text value or blank, it will return an error. -> If a cell in criteria is empty, it will be considered as 0 value. -> If no cell meets the criteria, it will return an error. Example: Output: AVERAGEIFS: Calculate average of cells that meet multiple criteria. Syntax: =AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], …) average_range: (Required) One or more cells to calculate average. criteria_range1: (Required) 1 to 127 ranges to evaluate the given criteria. criteria1: 1 to 127 criteria in the form of numbers, expression to be averaged. This defines which all cells in criteria_range1 are to be averaged. For instance, criteria can be like this, “>32”, “apple”, “D7” Example: Output: Comment More infoAdvertise with us Next Article Excel VBA | Average() Functions aishwarya.27 Follow Improve Article Tags : Excel ExcelGuide Similar Reads Statistical Functions in Excel With Examples To begin with, statistical function in Excel let's first understand what is statistics and why we need it? So, statistics is a branch of sciences that can give a property to a sample. It deals with collecting, organizing, analyzing, and presenting the data. One of the great mathematicians Karl Pears 6 min read Normdist() Function in Excel The NORMDIST Function is one of Excel's Statistical functions. For a given mean and standard deviation, it will yield the normal distribution. That is, for a given set of parameters, it will compute the normal probability density function or the cumulative normal distribution function. In this artic 3 min read How to Calculate Weighted Average in Excel Understanding how to calculate a weighted average in Excel can be a game-changer for anyone dealing with data analysis, financial modeling, or academic grading. Unlike a simple average, a weighted average considers the relative importance of each data point, providing a more accurate reflection of t 5 min read How To Calculate Variance in Excel If you're looking to understand your data better, knowing how to calculate variance in Excel is a great skill to have. Calculating Variance in Excel is a Fundamental calculation that helps to measure the dispersion or spread of data points in a dataset. Luckily, Excel makes it easy to do this with s 7 min read Average Cells Based On Multiple Criteria in Excel An Average is a number expressing the central or typical value in a set of data, in particular the mode, median, or (most commonly) the mean, which is calculated by dividing the sum of the values in the set by their number. The basic formula for the average of n numbers x1,x2,â¦â¦xn is A = (x1 + x2 .. 10 min read How to use the Excel AGGREGATE Function (Step-by-Step Guide) Excel AGGREGATE Function: Quick StepsEnter the DataEnter the Aggregate FormulaPress EnterHave you ever spent hours cleaning up errors in your Excel data or struggling to calculate values in a filtered list? The AGGREGATE function in Excel is here to rescue you from those headaches. Unlike basic func 7 min read How to average a range of data ignoring zero in Excel? Excel is a tool for storing, organizing, and managing a large volume of data. It uses rows and columns to store the data. This tool is used for the analysis of data to get insights from it with the use of functions and formulas. Generally, this is used by the financial professional for accounting pu 2 min read How to Create a Bell Curve in Excel? A bell curve represents a normal/gaussian distribution. The data in a gaussian distribution is centered around the mean. A Gaussian distribution is said to be a standard normal distribution when it has its mean as 0 and standard deviation as 1. A bell curve is generally symmetrical about the y-axis. 4 min read Basic Excel Formulas Functions in Excel are the predefined formulas that have their specific meaningful work. They make our task easy and quick, like finding the sum, count, average, maximum value, and minimum values for a range of cells. For example, the SUM function will calculate the sum of the range passed to it as 2 min read Like