Concept:
To set up formula of AVERAGEIF into the cell to auto calculate the average sales amount for the whole year while update data in every month (Year To Date).
Syntax of AVERAGEIF formula function:
In column, B2-E2 they have been being felt the sales amount as:
B2 = 200, C2 = 230, D2 = 252, E2 = 232
In column F2-M2 are empty.
In column "N2", to set up formula =AVERAGEIF (B2:M2, "<>0")
The average result between B2-E2 is equal to 228.5
Notify:
Notice that even the range is between B2 to M2. Nevertheless, the "0"(Zero) number from E2 to M2 will be thrown off the formula calculation.
The output solution is calculating by average the amount between "B2-E2" only. Once, the sales amount of May, Jun,-Dec have been updating, the average sales amount will include too.
Bye,
Michael Leng
See more tips:
To set up formula of AVERAGEIF into the cell to auto calculate the average sales amount for the whole year while update data in every month (Year To Date).
Syntax of AVERAGEIF formula function:
=AVERAGEIF (range, criteria, average_range)
- Range: Required (Must fill out). One or more cells to average, including data entered such as arrays, numbers, names, or references that contain numbers.
- Criteria: Required (Must fill out). The criteria in the form of a cell reference, number(s), expression, or text that defines which cells are averaged. For example, criteria can be expressed as 123, "123", "<>123", ">123", "Student", "BlogMaster" or A1.
- Average_range: Optional (Non-compulsory). The actual set of cells to average. If it’s omitted, range is used.
In column, B2-E2 they have been being felt the sales amount as:
B2 = 200, C2 = 230, D2 = 252, E2 = 232
In column F2-M2 are empty.
In column "N2", to set up formula =AVERAGEIF (B2:M2, "<>0")
The average result between B2-E2 is equal to 228.5
Notify:
Notice that even the range is between B2 to M2. Nevertheless, the "0"(Zero) number from E2 to M2 will be thrown off the formula calculation.
The output solution is calculating by average the amount between "B2-E2" only. Once, the sales amount of May, Jun,-Dec have been updating, the average sales amount will include too.
Bye,
Michael Leng
See more tips:
- [Shift + Space Bar] Excel Tip How To Select The Entire Row of Excel Worksheet
- Function [Home] Excel Keyboard Key | X'cel
- [Page Down] Microsoft Excel Keyboard Shortcut Button And Method
- Turn Off / Turn On Scroll Lock Excel Tip To Lock & Unlock On Keyboard
- Monitor Screen Accidentally Upside Down Problem Solving Medthods And Tricks
- How to calculate amount of the current column in excel?
Comments
Post a Comment