+ Reply to Thread
Results 1 to 2 of 2

Change averageifs to countif over several data points

  1. #1
    Forum Contributor
    Join Date
    01-16-2019
    Location
    NY
    MS-Off Ver
    Office 365
    Posts
    122

    Change averageifs to countif over several data points

    On my analysis tab, how do I change this formula to countif - so I can see the number of participants per age per fruit.
    =IFERROR(AVERAGEIFS(Data!$G:$G,Data!$B:$B,">="&$K25,Data!$B:$B,"<="&$L25,Data!$D:$D,E$23
    For cell F25

    And then for the overall formula, same how do I change to a countif
    =IFERROR(AVERAGEIFS(Data!$G:$G,Data!$B:$B,">="&$K$25,Data!B:B,"<="&$L$25),"")
    Attached Files Attached Files
    Last edited by dianaCatz; 05-05-2019 at 09:30 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Change averageifs to countif over several data points

    In general COUNTIFS works in the same way as AVERAGIFS

    e.g. For Age 6-8 Apples you'd use

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    For the overall total just remove the third criteria Data!D:D,Analysis!$E$23
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. Counting the number of data points in a survey period. Countif statements?
    By edavids2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-27-2012, 06:53 PM
  2. Loop through data points and change color
    By harleyberger in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-04-2012, 01:33 AM
  3. Change distribution of data points on line chart?
    By 4am in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-19-2011, 06:23 AM
  4. [SOLVED] Dragging graph-points to change data? (!)
    By rememberkindness in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-24-2006, 09:00 PM
  5. Dragging graph-points to change data? (!)
    By rememberkindness in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-24-2006, 09:00 PM
  6. [SOLVED] Dragging graph-points to change data?
    By rememberkindness in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2006, 09:00 PM
  7. Dragging graph-points to change data? (!)
    By rememberkindness in forum Excel General
    Replies: 1
    Last Post: 07-24-2006, 09:00 PM
  8. Dragging graph-points to change data? (!)
    By rememberkindness in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-24-2006, 07:15 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