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

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

    Do you use Microsoft Excel? If yes, stay with me—I’ll show you how to manage your Excel workbook effortlessly. Hello, I’m Michael Leng. Today, I’m excited to share  five ways to minimize an Excel workbook to an icon . Tip Quiz What to do if your monitor screen upside down? These methods apply to   Excel 2013   (the version I use) and are for   Windows   operating systems. I’ve discovered and tested  five different techniques , which I’ll explain below. 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 seeing all the four pictures clearly, I have made the construction of all the methods for you to follow any of...

    [Solved] Turn Off / Turn On Scroll Lock Excel Tip To Lock and Unlock On Keyboard | Exceltip2day Blog

    Hello friends. I'm Michael. Welcome everyone to in my blog "Exceltip2day" ,  The tip for today is: " How to unlock the Scroll Lock" Tip Quiz Do you know what is the shortcut key(s) to Redo Last Action (Multiple Levels) in an Excel spreadsheet? Check the way [Turn Off] / [Turn On] - Scroll Lock down here. Excel worksheet, you may touch it accidentally a [Scroll Lock] button. This would lock cursor stuck on the current cell. To undo it, do one of the following: i] Press the Scroll Lock / ScrLk key on your keyboard. Alternatively, if some keyboard does not have a Scroll Lock key, such as Notebook, Tablet and some other kind of PC. Just follow the step by step. ii] (Window 7) Go to -Start, -All Programs, -Accessories, -Ease of Access, -Then, just click on the " On-Screen Keyboard " line. When the "On-Screen Keyboard" appears on your screen, click the ScrLK  button as shown on ( In red round rectangle ) the image be...

    Page Down Excel Keyboard Key Button For Moving Down Page Screen One By One | Exceltip2day

    Hello there. I'm Michael, welcome you to my blog. Today I'm going to talk about: The 2 ways of moving Excel's screen down. My article consists of how to move the screen of the current spreadsheet you are working on it with the keyboard. Instead of using a scroll down with a mouse, using the button "PAGE DOWN"  keyboard seems more comfortable way. Tab:  Learn Pure Thai FB Tab:  E n  Numbers In Words By the way, you can choose which one is fit for you. Ctrl+0(Zero) Excel Shortcut Key To Hide The Selected Column | ExcelTip2Day Tip Quiz What is the shortcut to close your an Excel workbook instantly? Let's come to the point. Just in case wanting to move the active Excel spreadsheet goes down the page by page. There are two ways to manage it. 👉  1st method:  Using the scroll wheel On your mouse to scroll the worksheet up and down. To roll back or roll into users, the page will move up. On the other hand, to...