Skip to main content

How To Use [AVERAGEIF] Formula "Not" Including “0” (Zero) In Range

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:

=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.
Example:

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:

    Comments

    Popular posts from this blog

    Ctrl+Shift+*(Asterisk) - Excel Keyboard Shortcut Select Active Cells | Exceltip2day

    "Ctrl+ Shift+ *(Asterisk)"  What are these keys beneficial for any Excel office user? Hello, everyone. I'm Michael. Welcome you to my Excel tip blog. Today, I'm going to give you the 3 key buttons to select the current region, which are around the cell(s) in the Excel worksheet. Tip Quiz What's the shortcut keys extending the selection to the first cell in an Excel worksheet? Whenever you fill out any data into cells in the Excel worksheet. For any reason, if you want to select all the active cells within it (Spreadsheet). What is the method you are going to do? Do you have your own the "How-To" for handling it? Whether you have one or have not. I am going to share you the three key buttons, shortcut way on a keyboard of your PC, laptop, notebook, tablet ; it is very simple to deal with it. You just press these buttons “Ctrl + Shift + * (Asterisk)” on the keyboard. This shortcut will result in selecting the current active cells th

    5 Alternative Shortcut Ways Minimize Your Excel Workbook, Read It Now! | ExcelTip2Day

    "How to Minimize Your Excel Workbook For Window?" Do you use an Excel office program?  If yes, stick around with me. I will show you how to operate your Excel worksheet easily. Hello, I'm Michael Leng. Today I'm very glad to show how to minimize an Excel workbook to an icon. Tip Quiz What to do if your monitor screen upside down? This applies to use for the Excel version 2013, due to I have been using it. And also these methods are for Window program operation. The methods that I have discovered and used, there are 5 ways. 5 methods minimize Excel workbook. ⟴ Use shortcut keys  "Ctrl" and "F9" ⟴   Use shortcut keys  " ALT",  "Spacebar" and "F9" ⟴   Click on the "Minimize workbook" square box. ⟴   Clicking on the "Minimize" command in the "Quick Access Toolbar" ⟴   Use shortcut keys "Window Logo" and "M" To make you more ease seein

    Excel Trick Press A Couple Of [Arrow Key] Move One Cell Diagonally | Excetip2day

    Hello there. I'm Michael, today, in my blog "Exceltip2day" , I'm going to talk about: The trick of how to move from a cell diagonally to another by using a shortcut key Tip Quiz Do you know what is the shortcut of deleting Cell(s) in Excel Worksheet? How do you move one cell diagonally by using shortcut key? Suppose the cell pointer is in the [ F10 ] active cell. We want to move to G9, H8, I7, etc. diagonally for an example. I have the trick to get the task done moving diagonally one cell to the adjacent cell that you can follow the 4 moving ways as the step below: Look at the image immidiately above, then to just press the bottoms below at the same time for the thick no. 1 to no. 4.  πŸ‘‰   Trick no. 1 To move one cell pointer diagonally from F10 to G9 Up Arrow Right Arrow πŸ‘‰   Trick no. 2 To move one cell pointer diagonally from F10 to G12 Down Arrow Right Arrow πŸ‘‰   Trick no. 3 To move one cell pointer diagonally from F10 to E9 Up Arrow Le