+ Reply to Thread
Results 1 to 4 of 4

Average of cells which are not in a range which ignores any zero values

  1. #1
    Registered User
    Join Date
    09-27-2012
    Location
    Perth
    MS-Off Ver
    Excel 2003
    Posts
    20

    Average of cells which are not in a range which ignores any zero values

    Hi

    Looking for some help.

    I have a worksheet which has various figures for each day of the week however I need to establish the weekly average of these figures.

    Due to the way in which the figures are displayed, I am unsure how to use a formula which does not require a range with cells located adjacent to one another.

    I have attached a test sheet as an example. The cells in yellow require the formula and I need a weekly average for criteria 1-3. This formula also needs to be compatible in Excel 2003

    Test Sheet.xls

    Thanks

    Scott

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Average of cells which are not in a range which ignores any zero values

    Hi,

    One way is this array formula in AF4 and copy across and down:

    =AVERAGE(IF($D$3:$AD$3=AF$3,$D4:$AD4))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Average of cells which are not in a range which ignores any zero values

    Hi,

    you could try in AF4

    Please Login or Register  to view this content.
    formula to be copied down and to the right


    Hope it helps
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Average of cells which are not in a range which ignores any zero values

    =AVERAGE(D4,H4,L4,P4,T4,X4,AB4)

    in AF4, copy down and across.

+ 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] Formula to average range of cells only if difference between values is no more than 1
    By aaron85w in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-28-2013, 07:12 AM
  2. [SOLVED] Finding average that ignores error and zeros
    By Elainefish in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-18-2013, 06:25 AM
  3. Looking for a code for an average formula that ignores hidden cells.
    By mbrackey in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-09-2012, 03:34 AM
  4. Replies: 2
    Last Post: 07-11-2012, 08:58 AM
  5. [SOLVED] Average a set of figures which ignores 0 entries
    By Lorraine in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-23-2005, 10:10 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