Calculate Average Excluding Zero - Excel AVERAGEIF Function

Поделиться
HTML-код
  • Опубликовано: 15 июл 2024
  • More Excel tips and online courses www.computergaga.com
    Calculate average excluding zero in Excel. If there are zeros in a range, the AVERAGE function will include them in its calculation.
    To exclude the zeros you need a conditional average formula. By using the AVERAGEIF function in Excel we can create an average excluding zero.
    Here are the timings of the video.
    00:00 - AVERAGE function on a range including zeroes
    01:38 - AVERAGEIF function to average excluding zeroes
    03:23 - Closing words
    Find more great free tutorials at;
    www.computergaga.com
    ** Online Excel Courses **
    The Ultimate Excel Course - Learn Everything ► bit.ly/UltimateExcel
    Excel VBA for Beginners ► bit.ly/37XSKfZ
    Advanced Excel Tricks ► bit.ly/3CGCm3M
    Excel Formulas Made Easy ► bit.ly/2ujtOAN
    Creating Sports League Tables and Tournaments in Excel ► bit.ly/2Siivkm
    Connect with us!
    LinkedIn ► / 18737946
    Instagram ► / computergaga1
    Twitter ► / computergaga1
  • ХоббиХобби

Комментарии • 72

  • @aguerojg
    @aguerojg 9 лет назад +1

    Very interesting tutorial, Computergaga, the explanation is wonderful and straightforward. Thanks for creating the video!

  • @edisonleary1711
    @edisonleary1711 7 лет назад +1

    thanks I needed this refresher

  • @donovancullum6687
    @donovancullum6687 7 лет назад +1

    Yeeeeesssss!!!! I have been looking for this for days now! Thank you! Such an easy solution, but finding out how to put it into terms in the search bar was a whole other issue. Thank you Computergaga. You're the man.

  • @user-xx7jr4hs4o
    @user-xx7jr4hs4o 6 месяцев назад

    GREAT!. BUNDLE OF THANKS.

  • @MoonToshRLO
    @MoonToshRLO 3 месяца назад

    Thank you for sharing the tutorial.

  • @wadeweisz3976
    @wadeweisz3976 5 лет назад +1

    Perfect! Just what I was looking for and VERY well explained

  • @Viper3870750
    @Viper3870750 7 лет назад +1

    Thanks a lot! I was working on this for hours until I stumbled across your video! This helped me do what I needed to do in a few short minutes after watching!

  • @allanpark6046
    @allanpark6046 3 года назад

    Thank you, your videos are straight to the point.

  • @jeffreycourtright9268
    @jeffreycourtright9268 6 лет назад +1

    Your videos are SO HELPFUL!

    • @Computergaga
      @Computergaga  6 лет назад

      Thank you Jeffrey. Much appreciated.

  • @rodolfinhocs
    @rodolfinhocs 7 лет назад

    perfect!

  • @carlosalfonso7504
    @carlosalfonso7504 6 лет назад +1

    Thank you so much, very important lesson!

  • @Dima_Melnikov
    @Dima_Melnikov 3 года назад

    Спасибо большое!
    I'm grateful to you for your lesson

    • @Computergaga
      @Computergaga  3 года назад

      пожалуйста! Thank you.

  • @Luis52962
    @Luis52962 4 года назад

    THANKS FOR SHARING!

  • @kayuniquebreeze
    @kayuniquebreeze Год назад

    THANK YOU FOR THIS

  • @Berghiker
    @Berghiker 6 лет назад +1

    Thanks. Perfect!

  • @Kidzatrocity
    @Kidzatrocity 2 года назад +1

    Thanks for sharing this.. You helped me a lot

    • @Computergaga
      @Computergaga  2 года назад +1

      Great to hear. You're welcome.

  • @Dima_Liberty
    @Dima_Liberty 5 лет назад +1

    Thank you so much!

  • @peacefulworld9832
    @peacefulworld9832 3 года назад

    Thanks a lot.

  • @abasitdr7158
    @abasitdr7158 3 года назад

    Thank you so much

  • @jeffstevenson8027
    @jeffstevenson8027 Год назад

    thank you kind sir

  • @Official_Rocket
    @Official_Rocket 2 месяца назад

    Thanks you

  • @maryjaneclaydon
    @maryjaneclaydon 4 года назад

    brilliant!

  • @garyprovince
    @garyprovince 5 лет назад +1

    Thanks! Works in Google Sheets as well.

  • @dariodefendi5379
    @dariodefendi5379 Год назад +1

    One Question: how you do it with different cells? if I use " ; " to select different cells, it gives a kind of error. Thank you

  • @sanyasehgal9818
    @sanyasehgal9818 5 лет назад +1

    Thanks! Is there a way to calculate the standard deviation while excluding 0s?

    • @Computergaga
      @Computergaga  5 лет назад

      Sure. In this forum post, the IF function is nested inside STDEV for an array formula and to exclude 0's - www.excelforum.com/excel-programming-vba-macros/795202-ignoring-zeros-in-a-stdev-forumula.html

  • @zaydarendse2812
    @zaydarendse2812 5 лет назад +1

    Thanks for that easy solution :) ...should have come straight to your Chanel first

  • @pablor1278
    @pablor1278 3 года назад

    Thank you!
    Could you please explain why we need the " " though?
    Why does excel not understand that the criteria should be >0 without the ">0"?

    • @Computergaga
      @Computergaga  2 года назад

      Thank you. The ifs family of functions - AVERAGEIF, COUNTIFS, SUMIFS, COUNTIF etc all require that the criteria be entered as text, this means within the " ", or as a reference to a cell.

  • @yuriydobronravov3090
    @yuriydobronravov3090 Год назад

    Hello, please advise how to use this formula if I need to calculate average not in range but in many separate cells, I see the mistake: "You've entered to many arguments for this formula"

  • @Faraaz00723
    @Faraaz00723 6 лет назад

    Hi there. Can the same be done when counting cells that have values excluding zeros?

    • @Computergaga
      @Computergaga  6 лет назад

      I'm not sure what you mean. The video shows an example excluding zeros.

    • @Faraaz00723
      @Faraaz00723 6 лет назад

      Computergaga What I meant was that, is there a way to count the number of cells excluding cells that have zeros and blank cells? The average calculation exclding zeros was amazing and it helped me a lot.

    • @Computergaga
      @Computergaga  6 лет назад

      Ah sorry I mis-read your question. You did ask for a counting function, my fault.
      There are variations of counting functions. There is a COUNTIF function you could use to excluding blanks and zeros. And COUNTIFS for both. For example, =COUNTIFS(B2:B15,"""",B2:B15,">0")

    • @Faraaz00723
      @Faraaz00723 6 лет назад +1

      Thank you Computergaga. This trick will help me a lot. Thank you.

    • @Computergaga
      @Computergaga  6 лет назад

      You're welcome.

  • @harleysebastian3510
    @harleysebastian3510 11 месяцев назад

    what if i want to average only several particular cells? for ex pupil 7, pupil 9 and pupil 11?

    • @Computergaga
      @Computergaga  11 месяцев назад

      You can use the AVERAGIFS function for whatever condition you require. You will need a way to identify the ones you need. Why pupils 7, 9 and 11. Is it because of their gender, age, region, job title. The reason will be your condition.

  • @Dr_Ali.Aljboury
    @Dr_Ali.Aljboury 5 лет назад

    Hello dear. Please do you have any idea for how to get the ''nonzero'' I need to know how to make it and get number not equal zero. The columns 30 numbers and the numbers some have zero and some have 0.####
    So do you know how I get the number of nonzero

    • @Computergaga
      @Computergaga  5 лет назад +1

      Sounds like you want the COUNTIF function to return the number of cells not equal to 0.

    • @Dr_Ali.Aljboury
      @Dr_Ali.Aljboury 5 лет назад +1

      Thank you very much I found the way since I text you I installed tool in Excel and make it like choose specific cell without zero and then show me the number and the I divide the column with the numbers without zero and then I got the nonzero.

    • @Computergaga
      @Computergaga  5 лет назад +1

      Ok, excellent.

    • @Dr_Ali.Aljboury
      @Dr_Ali.Aljboury 5 лет назад

      Computergaga I have one more question please sorry to bother you. The question is when I collect the data from online I want make this data a good result for example I want used the sperman corrlecation. Do you know how to make the taste. Like I have 30 words with numbers from experts and for me I want optimizatied this values to get a good result. Do you have any idea about this.
      I really appreciate your replying to me.

  • @punitranjan227
    @punitranjan227 3 года назад

    Hello sir,
    I have a question in excel.
    Any four number in four different cell that is
    10,20,30&40
    I want result will be the average of middle of the number it means ignore higher value and lower value.
    In this example upper value is 40 and lower value is 10 my expected result will 25.
    Please help and suggest the foramula of this steps

    • @Computergaga
      @Computergaga  2 года назад +1

      To do this accurately, if it is always the top and bottom number, we would need a functions such as INDEX, OFFSET or XLOOKUP to return a dynamic range (one missing the top and bottom value) to the AVERAGE function.
      There is a TRIMMEAN function tat works like this, but it uses percentages to exclude, not just top and bottom value.

  • @viktorvondoom9119
    @viktorvondoom9119 2 года назад

    What if you want both >0 AND

  • @ReekieReels
    @ReekieReels 3 года назад

    If you get a zero in the exam, you should be excluded ;)