+ Reply to Thread
Results 1 to 4 of 4

Irregular Range in excel AVERAGEIF function

Hybrid View

vhsacdc Irregular Range in excel... 02-05-2014, 08:29 AM
Ron Coderre Re: Irregular Range in excel... 02-05-2014, 08:43 AM
vhsacdc Re: Irregular Range in excel... 02-05-2014, 08:58 AM
arlu1201 Re: Irregular Range in excel... 02-05-2014, 09:06 AM
  1. #1
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Irregular Range in excel AVERAGEIF function

    With your sample data in A1:G2

    This regular formula returns the average you are looking for:
    =AVERAGEIFS(B2:G2,A2:F2,"2n",B1:G1,"vgen*")
    Notice that some of the referenced ranges are offset.

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

  2. #2
    Registered User
    Join Date
    02-04-2014
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Irregular Range in excel AVERAGEIF function

    I get my target with this code:

    unaccept


    I get my target using this simple modification in code:

    =AVERAGEIF(A2:E2;"=*2n";B2:F2)

    Thank you very much!

+ 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. AVERAGEIF function using reference as criteria range
    By AndySan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-05-2013, 05:35 PM
  2. [SOLVED] suppress #DIV/0 AND averageif [range]>0 Excel 2003
    By TManche in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-19-2013, 02:32 PM
  3. Excel 2007 : AVERAGEIF range function
    By Jerseynjphillypa in forum Excel General
    Replies: 1
    Last Post: 07-16-2012, 10:45 AM
  4. AVERAGEIF Function in Excel 2003
    By MatBrown217 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-06-2008, 07:18 PM
  5. Irregular AverageIf Formula
    By Moe in forum Excel General
    Replies: 2
    Last Post: 04-15-2005, 06:51 AM

Tags for this Thread

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