+ Reply to Thread
Results 1 to 5 of 5

AVERAGE Formula Help

  1. #1
    Registered User
    Join Date
    06-04-2013
    Location
    Auburn, WA
    MS-Off Ver
    Excel 2007
    Posts
    11

    AVERAGE Formula Help

    I'm trying to figure out how to average a row of cells (no breaks), but only if there is a value in the cells.

    For Example, if I have a row of B4 through M4, and I have 4 cells w/ values, I want the average to calculate based on 4 numbers. If I add values in two more cells, it should then calculate based on 6. The AVERAGE wants to take all 10 cells, so my numbers are coming out too low.

    Feel like this should be an easy one.

    Thanks,

    Greg

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: AVERAGE Formula Help

    Are you using the built in AVERAGE function? - this should ignore blanks as you wish. If you still have problems, I would suggest posting a copy of the sheet that you are working on as there maybe something unusual about it.

  3. #3
    Registered User
    Join Date
    06-04-2013
    Location
    Auburn, WA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: AVERAGE Formula Help

    I found this in another thread. I originally tried it, but I must have not put in all the correct parameters. Thanks to DaddyLongLegs!!

    ...and you want 6? The AVERAGE functions suggested ignore blanks (as you asked) but not zeroes. Try the version I suggested in my edit to last post, i.e.

    =SUM(G11,I11,J11)/MAX(1,(G11>0)+(I11>0)+(J11>0))

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,721

    Re: AVERAGE Formula Help

    If you have a continuous range like B4:M4 then you can use a simple AVERAGE function to ignore blanks, i.e.

    =AVERAGE(B4:M4)

    ....but if you want to ignore zeroes too try AVERAGEIFS

    =AVERAGEIFS(B4:M4,">0")
    Audere est facere

  5. #5
    Registered User
    Join Date
    06-04-2013
    Location
    Auburn, WA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: AVERAGE Formula Help

    Ultimately, I wanted it to ignore blank cells which works great using your formula that you wrote for another user.

    Thanks for the reply!

    Greg

+ 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. [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
  2. Replies: 0
    Last Post: 01-22-2013, 12:22 PM
  3. Formula for weekly average & changing daily formula
    By sandbach in forum Excel General
    Replies: 2
    Last Post: 11-01-2010, 08:15 PM
  4. Average Formula
    By arvin in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-24-2010, 09:54 AM
  5. [SOLVED] how does one convert text to a formula "average(A:A)" to =average(
    By phshirk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-13-2005, 09:06 PM

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