+ Reply to Thread
Results 1 to 3 of 3

Avg a range of cells excluding text found in other cells

  1. #1
    Registered User
    Join Date
    07-11-2014
    Location
    North Carolina
    MS-Off Ver
    2010
    Posts
    30

    Avg a range of cells excluding text found in other cells

    What I want to do is Average out a range of cells "F4:F343". That's the easy part =average(F4:F343). However I want to exclude any numbers for that average if data in coloumn "Q" = "FMC"

    Would that look anything like:
    =average(F4:F343)/countif(Q4:Q343, "<>FMC")
    I'm also displaying it as minutes in a day so i added *24*60 to the end of the formula and formatted to Number/.00. I've entered the formula and it will calculate but when i enter FMC to the appropriate area the average wont change.
    Last edited by excelneub; 07-17-2014 at 07:17 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Avg a range of cells excluding text found in other cells

    With XL2007 and newer you can use AVERAGEIF

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-11-2014
    Location
    North Carolina
    MS-Off Ver
    2010
    Posts
    30

    Re: Avg a range of cells excluding text found in other cells

    Quote Originally Posted by zbor View Post
    With XL2007 and newer you can use AVERAGEIF

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank you that worked very well. Now if i can get my formatting down ill be all set.

+ 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. Formula needed for dividing 2 sets of cells and excluding adjacent text cells
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-07-2013, 06:45 PM
  2. [SOLVED] IF range of cells contains string of text, return contents of cell where string is found
    By nobodyukno in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-03-2013, 09:56 AM
  3. Excluding blank cells from a range of data
    By Consty1 in forum Excel General
    Replies: 5
    Last Post: 10-11-2012, 03:19 PM
  4. [SOLVED] Min of range of cells excluding text.
    By basizeland in forum Excel General
    Replies: 4
    Last Post: 07-16-2012, 10:09 AM
  5. Replies: 1
    Last Post: 02-08-2005, 03: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