+ Reply to Thread
Results 1 to 2 of 2

Including averages logic into IF formulas

  1. #1
    Registered User
    Join Date
    02-21-2014
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1

    Including averages logic into IF formulas

    The Data: I have 3 columns of data that may or may not have a numerical value greater than 0.

    The Problem: I want to take an average of those three columns but not include the zeros in the average.

    An Example:
    A = 2
    B = 4
    C = 6
    Avg = 4

    BUT if a value in one of the columns is zero I don't want to include it in the average:
    A = 0
    B = 4
    C = 6
    Avg = 5 (rather than 3.33)

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Including averages logic into IF formulas

    Hi,

    =AVERAGEIF(A1:C1,"<>0")
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. Logic formulas
    By isjones in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-02-2011, 11:40 AM
  2. Calculate averages not including zero values
    By rmellison in forum Excel General
    Replies: 6
    Last Post: 07-06-2006, 11:21 AM
  3. [SOLVED] Re: averages without including zero values
    By Norman Jones in forum Excel General
    Replies: 3
    Last Post: 12-15-2005, 04:50 AM
  4. averages without including zero values
    By lighting in forum Excel General
    Replies: 1
    Last Post: 12-15-2005, 03:31 AM
  5. find averages not including 0's for values not in contiguous rows or columns
    By jrozendaal in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-14-2005, 11:10 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