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...

    🚀 Excel Shortcut Tips: How to Use [Ctrl] + [.] (Period) to Move Clockwise in a Selected Range

    Hello there! 👋 I'm Michael Leng , and welcome back to my blog “Exceltip2day” —your friendly place for quick, powerful Excel tips. In today’s post, we’re going to explore a handy Excel shortcut: 👉 [Ctrl] + [.] (Period or Full Stop) This small but mighty shortcut helps you move clockwise between the corners of a selected range in Excel —especially useful when working with large datasets. 🔍 Why Should You Learn This Shortcut? ✅ To navigate quickly around the selected area without using the mouse. ✅ To check the four corners of large tables or selection ranges. ✅ To save time and avoid getting “lost” in big spreadsheets. 📝 How Does [Ctrl] + [.] Work? When you select a range in Excel, pressing [Ctrl] + [.] will take you from one corner to the next in a clockwise direction. Here's how to do it: Select your cell range. Press and hold [Ctrl] . Press the [.] (Period/Full Stop) key. Release both keys. Press again to keep moving around the corners....

    Shortcut Keys How To Fixing Window Screen Accidentally 'Upside Down' | ExcelTip2Day

    "How do you fix your Window Screen Upside Down?" Hello there! My name is Michael. Welcome everyone to blog. Is it good to know some tip how to fix your PC screen upside down accidentally? Why do I post this article?  Because I have faced this trouble before while I have taught one of my friend typing on the PC. Then after I have spent too much to solve this kind of problem I would like to share with anyone who might come up with this such a magic case!!! Screen 'Upside Down' Fixing In this post, you will see how to fix the " Unintentionally Upside Down Monitor Screen " Tip Quiz Is there any shortcut to minimize an Excel Workbook? If someone questioned me, “How will I able to fix such as the error  as the mention above?” I would doubt. How about you? Don't worry. Today I'm going to show you how to solve it. Hello everyone. My name is Leng, You can see me and my posts about Excel tips, shortcuts, and how to fix...