+ Reply to Thread
Results 1 to 5 of 5

Using Filter with the function Average

  1. #1
    Registered User
    Join Date
    03-08-2010
    Location
    Sweden
    MS-Off Ver
    MS Office 365 Mac and Windows
    Posts
    94

    Using Filter with the function Average

    I have a sheet with over 20 000 rows and 20+ columns. I have several values in column "P" that I want to filter to find Average value from column "I". I have the headers in row 2 and the function in row 1. When I use =average(I3:I20000) in cell "I1" I'm not getting the filtered visible values. I need to get the average of the filtered values in column "I". Is there a way to do this?

    Thanks
    Last edited by soreno; 05-01-2010 at 07:09 PM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Using Filter with the function Average

    You can use SUBTOTAL to average only the visible values after filtering, i.e.

    =SUBTOTAL(1,I3:I20000)

  3. #3
    Registered User
    Join Date
    03-08-2010
    Location
    Sweden
    MS-Off Ver
    MS Office 365 Mac and Windows
    Posts
    94

    Re: Using Filter with the function Average

    Thanks, yes it works but I need to activate the cell and press enter for it to update! Is there a solution for refresh the cell to show the new values after you made a new filter selection?

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Using Filter with the function Average

    It updates OK when I try it. Do you have calculation set to manual? Change to automatic with

    Tools > Options > Calculation

  5. #5
    Registered User
    Join Date
    03-08-2010
    Location
    Sweden
    MS-Off Ver
    MS Office 365 Mac and Windows
    Posts
    94

    Re: Using Filter with the function Average

    Yes that was the problem!

    Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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