+ Reply to Thread
Results 1 to 5 of 5

conditional average formula

  1. #1
    Registered User
    Join Date
    06-07-2010
    Location
    South Africa
    MS-Off Ver
    Excel 2003
    Posts
    4

    conditional average formula

    Please help I cant seem to find a solution:

    if f7:f8 contains false in any cell, return "not rated", if range contains numbers do average(f7:f8)

    f7 and f8 have these formulas: =IF(C7="A",2,IF(C7="R",3,IF(C7="G",1)))

    tried with no luck: =AVERAGE(IF(ISNUMBER(F7:F8),IF(F7:F8="FALSE","not rated")))

    thanks!

  2. #2
    Registered User
    Join Date
    06-27-2013
    Location
    Boulder, CO
    MS-Off Ver
    Excel 2007
    Posts
    99

    Re: conditional average formula

    =IF(AND(ISNUMBER(F7),ISNUMBER(F8)),AVERAGE(F7:F8),"NOT RATED")

    Hope that helps.

    -Z

  3. #3
    Registered User
    Join Date
    06-07-2010
    Location
    South Africa
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: conditional average formula

    WOW!, a solution in 2minutes, thanks!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: conditional average formula

    Try
    =IF(COUNT(F7:F8)=2,AVERAGE(F7:F8),"Not Rated")

  5. #5
    Registered User
    Join Date
    06-07-2010
    Location
    South Africa
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: conditional average formula

    Also works, thanks!

+ 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 conditional formula with VBA
    By mohammadamjad48 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2014, 07:05 AM
  2. Conditional Weekly Average Formula for Dynamic Dates
    By roychirodeep in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-10-2013, 01:51 AM
  3. Creating a conditional average formula
    By G188ONS in forum Excel General
    Replies: 4
    Last Post: 12-06-2009, 04:31 AM
  4. Changing conditional average formula to conditional sumproduct
    By chlor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-29-2007, 11:39 AM
  5. AVERAGE and Conditional formula...
    By Petitboeuf in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-22-2005, 12:35 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