Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spreadsheets (https://www.askmehelpdesk.com/forumdisplay.php?f=395)
-   -   Average function in MS Excel (https://www.askmehelpdesk.com/showthread.php?t=610320)

  • Nov 7, 2011, 07:11 PM
    nurmala
    Average function in MS Excel
    I have a set of numbers in MS Excel. I want to do the average function in column, but I do not want to include "0". Could anyone give me the function?

    Thanks indeed :)
  • Nov 7, 2011, 11:56 PM
    JBeaucaire
    What version of Excel are you using? If you're using Excel 2007+ then look at using the AVERAGEIF() function.
  • Nov 8, 2011, 12:38 AM
    nurmala
    I`m using Excel 2003
  • Nov 11, 2011, 08:34 AM
    JBeaucaire
    Then something like:

    =SUMIF(A:A, ">0", A:A) / COUNTIF(A:A, ">0")
  • Nov 12, 2011, 08:53 PM
    nurmala
    It works!! Thank you JBeaucaire :)
  • Nov 16, 2011, 11:47 PM
    nurmala
    Hey, for Ms. Access, could you give the syntax please?

    Thanks
  • Nov 17, 2011, 08:59 PM
    JBeaucaire
    Sorry, I don't use Access.

  • All times are GMT -7. The time now is 02:08 PM.