+ Reply to Thread
Results 1 to 6 of 6

average if, reference to other cells

  1. #1
    Forum Contributor
    Join Date
    07-15-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2010
    Posts
    129

    average if, reference to other cells

    Hi guys,

    I'm trying to write a function that averages the values in a whole row only if the word "female" is also written in that row's column. For example, in the sheet attached, I want to get the average of row 2:2, but only the average of the cells that also contain "female" (row 8) in that row's column.

    I have a feeling this is pretty simple, but I'm not good at excel! Any help is sooooo appreciated.

    Thanks!
    Attached Files Attached Files

  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 if, reference to other cells

    How about

    =AVERAGEIF(8:8,"female",2:2)
    Martin

  3. #3
    Forum Contributor
    Join Date
    07-15-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: average if, reference to other cells

    Haha I knew it was simple! Thanks so much!

  4. #4
    Forum Contributor
    Join Date
    07-15-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: average if, reference to other cells

    Does this count blank cells as 0? Or not at all

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

    Re: average if, reference to other cells

    I believe not at all.

  6. #6
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: average if, reference to other cells

    Not quite as simple as you might think...
    Using your posted work book
    this regular formula begins calculating the average of round scores where
    - the "gender" is female
    - the Col_A category relates to the Row_18 criteria (Round 1, Round 2, etc)
    Please Login or Register  to view this content.
    Copy that formula across through D19

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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. Replies: 4
    Last Post: 02-27-2014, 04:58 PM
  2. Replies: 14
    Last Post: 06-14-2013, 09:00 PM
  3. The rank of average ranks excluding empty cells but including their average.
    By Terminal45 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-21-2012, 03:44 AM
  4. Replies: 2
    Last Post: 06-10-2011, 03:33 PM
  5. Average function with #VALUE! error in reference cells
    By Larry4500 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-16-2006, 05:50 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