+ Reply to Thread
Results 1 to 6 of 6

AVerageifs a range of data

  1. #1
    Forum Contributor
    Join Date
    07-24-2013
    Location
    HongKong
    MS-Off Ver
    Excel 2010
    Posts
    237

    AVerageifs a range of data

    ScreenHunter_065.jpg

    How to average the data with column head "U" and row head "J"?

    In this case is (6+6+3)/3=7

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: AVerageifs a range of data

    If you insert a helper table to determine the condition, it is pretty easy. Take a look at the attached file.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    07-24-2013
    Location
    HongKong
    MS-Off Ver
    Excel 2010
    Posts
    237

    Re: AVerageifs a range of data

    Thank you Jie, I would try this if no other alternative as my worksheet contains hundreds of row X tens of column.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: AVerageifs a range of data

    Quote Originally Posted by kent97 View Post
    In this case is (6+6+3)/3=7
    6+6+3 = 15 / 3 = 5

    Try this array formula**:

    =AVERAGE(IF(C2:G2="U",IF(B3:B7="J",IF(ISNUMBER(C3:G7),C3:G7))))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Forum Contributor
    Join Date
    07-24-2013
    Location
    HongKong
    MS-Off Ver
    Excel 2010
    Posts
    237

    Re: AVerageifs a range of data

    Thank you Tony,

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: AVerageifs a range of data

    You're welcome!

+ 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] AVERAGEIFS using two different criteria for one range
    By KomicJ in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-30-2016, 03:51 PM
  2. averageifs() using date range - not working
    By lampropeltis in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-31-2015, 02:09 PM
  3. [SOLVED] AverageIFS multiple criteria in one range
    By AndreaJean18 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-02-2015, 10:30 AM
  4. AVERAGEIFS and range for criteria?
    By MaverickBlack in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-13-2015, 05:35 AM
  5. AVERAGEIFS Formula With A Range
    By tank0r in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2014, 01:33 PM
  6. [SOLVED] Averageifs and rolling data range
    By Wolfgang17 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-24-2014, 07:40 AM
  7. [SOLVED] Averageifs using a named range?
    By fgruhlke in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-18-2014, 02:16 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