+ Reply to Thread
Results 1 to 2 of 2

Averageif(range,monthcriteria,[average range])???

  1. #1
    Registered User
    Join Date
    06-12-2013
    Location
    Rochester, Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    80

    Averageif(range,monthcriteria,[average range])???

    Hello All,

    How do I set the criteria for an AverageIF formula to pull all records in column B:B that are =March. Format of B:B is m/dd/yyyy

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: Averageif(range,monthcriteria,[average range])???

    With AVERAGEIF (and others like SUMIF, COUNTIF etc.) you can't manipulate the range, so it would be better to use AVERAGEIFS so you can use 2 conditions:

    =AVERAGEIFS(average_range,B:B,">="&DATE(2013,3,1),B:B,"<"&DATE(2013,4,1))

    i.e. greater than or equal to 1st March 2013 AND less than 1st April 2013.

    Hope this helps.

    Pete

+ 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. Using averageif with dynamic range
    By davetcw in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2013, 07:17 PM
  2. [SOLVED] averageif for date range
    By tbaron in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-14-2013, 07:48 PM
  3. Excel 2007 : AVERAGEIF range function
    By Jerseynjphillypa in forum Excel General
    Replies: 1
    Last Post: 07-16-2012, 10:45 AM
  4. Excel 2007 : Using YEAR() of a range in AVERAGEIF
    By qaliq in forum Excel General
    Replies: 2
    Last Post: 11-01-2011, 09:17 AM
  5. AverageIf across a range of sheets
    By Ducjes in forum Excel General
    Replies: 4
    Last Post: 07-06-2010, 03:40 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