+ Reply to Thread
Results 1 to 9 of 9

Problem With Average formula

  1. #1
    Registered User
    Join Date
    09-08-2015
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    38

    Problem With Average formula

    Hello community,

    I need help with Excel Average formula, somethink like this:
    A B C D E F
    Books: 7 14 18 13 17
    Phones:9 17 13 23 16
    Foods: 6 13 25 17 19

    Books: 7 14 18 13 17
    Phones:9 17 13 23 16
    Foods: 6 13 25 17 19

    Books: 7 14 18 13 17
    Phones: 9 17 13 23 16
    Foods: 6 13 25 17 19

    Average for books on B , C ,D ,E ,F
    Average for phones on B , C ,D ,E ,F
    Average for foods on B , C ,D ,E ,F

    Can anyone help me please?
    Last edited by Akbaruu; 12-11-2015 at 05:27 AM.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,693

    Re: Problem With Average formula

    can you define it a little more? is your expectation that (based on your info above) books would average out to 7 in col B? or that it would look across the range of all three rows that contain books and give a total average (13.8)?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    09-08-2015
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    38

    Re: Problem With Average formula

    Hi, I need it to count all book values on cell B and give me average price, for example if book prices in B are


    B3 = 7
    B7 = 12
    B12 = 18
    B19 = 13

    result = 12.5

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,693

    Re: Problem With Average formula

    I'm still not clear since your post 3 numbers don't match post 1 but I'll give it a go, try average if
    so if col A contains Books, Phones and Foods and you want the average for books from col B, then try =AVERAGEIF(A:A,"books:",B:B)

  5. #5
    Registered User
    Join Date
    09-08-2015
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    38

    Re: Problem With Average formula

    Sambo Kid you are Great!! thank you very much, that was what I needed!

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,693

    Re: Problem With Average formula

    You're welcome, glad I was able to help you. If that solves your issue please mark the post as solved using the thread tools drop down at the top of this post.
    And thank you for the rep!

  7. #7
    Registered User
    Join Date
    09-08-2015
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    38

    Re: Problem With Average formula

    One more question: how can I get rid of #DIV/0! error? values are 0,1,2,3 on cells which I'm tryin to calculate average

  8. #8
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,693

    Re: Problem With Average formula

    I'm not sure why you are getting a #DIV/0! error. In that formula even if all the values for the books were 0 you'd still get a 0 as the average. But in general for whatever you are using, if you add an IFERROR to the front of the formula and whatever you want to replace it with at the back that CAN take care of it. It will only replace the output of the formula with what you put there, not necessarily a value you want.
    so for instance =IFERROR(AVERAGEIF(A:A,"books:",B:B),"what you want to replace the error with here")

  9. #9
    Registered User
    Join Date
    09-08-2015
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    38

    Re: Problem With Average formula

    I forgotto type "" )) that was the problem, thanks again

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Average Formula Problem
    By Titan001 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-25-2014, 04:31 AM
  2. [SOLVED] need formula to average cells but if one cell has N/A then dont average and input N/A
    By CityInspector in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2013, 04:16 PM
  3. Problem calculating weighted average using MMULT formula
    By _hs_ in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-18-2013, 06:08 AM
  4. Replies: 0
    Last Post: 01-22-2013, 12:22 PM
  5. Average & Min Function Problem in Array Formula
    By mubashir aziz in forum Excel General
    Replies: 8
    Last Post: 05-20-2009, 02:07 AM
  6. Not quite the average problem with the average function
    By barrycarney in forum Excel General
    Replies: 3
    Last Post: 05-22-2008, 12:16 PM
  7. [SOLVED] Moving Average Formula Problem
    By Bob@1800-mail.com in forum Excel General
    Replies: 3
    Last Post: 03-21-2006, 07:55 PM
  8. a problem of average formula
    By cuongvt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-14-2005, 12:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1