+ Reply to Thread
Results 1 to 6 of 6

average ifs

  1. #1
    Forum Contributor
    Join Date
    05-05-2014
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2013
    Posts
    103

    average ifs

    Hello,

    I am trying to find the values in column J of the PO tracker. It should be the average of columns AF-AG on the PO tracker, on the conditions the value in column b on the po tracker matches column A on the us sales summary. I am using this formula, but it is not working. Help appreciated! thanks!
    =AVERAGEIFS('US Sales Summary'!AF5:AH296,'US Sales Summary'!A5:A296,"="&'PO Tracker'!B2)

    Ideally, it would be nice to include a date formula for the past three months (oct, nov, dec). That will automatically update.

    Thanks!
    Laura
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    09-18-2014
    Location
    Pakistan
    MS-Off Ver
    2013, 2016
    Posts
    283

    Re: average ifs

    SOLVED
    <<<<<<<<<<<< Add Reputation
    Attached Files Attached Files

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,627

    Re: average ifs

    J2:
    Please Login or Register  to view this content.
    I don't see any way to find where the last three months would be by a formula.
    Ben Van Johnson

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: average ifs

    For the 3-month average, try this...
    =AVERAGEIF('US Sales Summary'!A5:A296,"="&'PO Tracker'!B2,OFFSET('US Sales Summary'!$W$5,1,MATCH('PO Tracker'!L2,'US Sales Summary'!$W$5:$AH$5,0)-1,291,3))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    05-05-2014
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2013
    Posts
    103

    Re: average ifs

    Thanks to everyone for your help!

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: average ifs

    happy to help and thanks for the feedback L(

+ 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] Find Average, Return Column Header of Number Closest To Average
    By djmyers in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-07-2013, 04:19 PM
  2. Replies: 14
    Last Post: 06-14-2013, 09:00 PM
  3. Replies: 10
    Last Post: 04-25-2013, 06:12 PM
  4. displaying numbers whoes average is as close prefered average.
    By aakhan107 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-18-2012, 01:14 AM
  5. 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

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