## Excel formula for average based on criteria

The AVERAGEIF function is one of the most useful functions since it enables Excel users to perform averages only on cells that meet the specified criteria. This function accepts a minimum of two parameters. However, you can choose to add the third parameter if you like. The compulsory parameters include Range and criteria. The range which is the first parameter represents the block of cells within which the criteria will be tested. The second parameter is the criteria. The criteria represent the condition or test being applied before finding the average. The third parameter which is usually not mandatory represents the range of cells bring averaged. Therefore, the general syntax of an Average if would be as follows:

=AVERAGEIF(RANGE, CRITERIA, optional Range)

Example of AVERAGEIF () with two parameters

We can, for example, calculate the average of all cells whose values are greater than five using the following formula:

=AVERAGEIF(F8:F19,">40") 1. Example of AVERAGEIF with three parameters:

Finding average for non-empty cells:

Suppose we want to find the averages of cells that have content in them. We would place the <> inside as the parameter for criteria. The formula would look as follows:

=AVERAGEIF(E8:E19,"<>",F8:F19) Note: when all three parameters are supplied, the third parameter represents the cells which are to be averaged.

2. Excel formula to find the average of any other cell

The AVERAGEA formula is used in Excel to find the average every other nonempty Cell. Its syntax is as easy as that of average (). However, this formula will constantly follow a set of rules when calculating the average. These include the evaluation of Boolean TRUE as a 1 while the FALSE Boolean evaluates to zero, empty cells are discarded, while textual values(strings) are assigned a zero too. This means that for every non-empty non-integer cell, a given value is added being part of the values to the total before the average is performed.

Example of AVERAGEA ()

=AVERAGEA(G7:G17) 3. Excel formula for average growth rate.

We can also calculate the growth late using Excel as follows:

1. Identify the number of years of growth. Find the growth rate for successful years. 2. Type in the following formula to find the average of the growth rates.

=AVERAGE(G7:G14) 3. Press enter.

4. Save changes.
{"ft_lang_label":"__label__en","ft_lang_prob":0.8816538,"math_prob":0.94353956,"size":2309,"snap":"2021-31-2021-39","text_gpt3_token_len":489,"char_repetition_ratio":0.15401301,"word_repetition_ratio":0.010752688,"special_character_ratio":0.21221308,"punctuation_ratio":0.1241535,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9969141,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12],"im_url_duplicate_count":[null,2,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-09-21T20:21:30Z\",\"WARC-Record-ID\":\"<urn:uuid:01155a25-8536-4809-81ba-9ae239b59912>\",\"Content-Length\":\"59574\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:7045a9c5-a7c0-4cea-a326-a667c890ab21>\",\"WARC-Concurrent-To\":\"<urn:uuid:e07c0903-f8f9-4b6e-a5c3-003a003c9511>\",\"WARC-IP-Address\":\"35.206.125.188\",\"WARC-Target-URI\":\"https://basicexceltutorial.com/formula-list/excel-formula-for-average-based-on-criteria\",\"WARC-Payload-Digest\":\"sha1:AJXTVGZS3JOBCAO2OK43A7SSPLIXBCI5\",\"WARC-Block-Digest\":\"sha1:XFTU6JC46UOWYKYP5EEZCB4546WLMIJR\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-39/CC-MAIN-2021-39_segments_1631780057227.73_warc_CC-MAIN-20210921191451-20210921221451-00205.warc.gz\"}"}