+ Reply to Thread
Results 1 to 3 of 3

Calculations on filtered data

  1. #1
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    810

    Calculations on filtered data

    Hi,

    I have a table of data that has been filtered using one of the columns in the report.

    I would like to sum the values in each column that haven't been excluded by the filter and also calculate the weighted average of the same, filtered data using the SUMPRODUCT function.

    Can someone please suggest how I do this.

    Thanks!
    Last edited by andrewc; 04-18-2014 at 04:18 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Calculations on filtered data

    You would need to use the SUBTOTAL() function which has many subfunctions within it. That function is designed to operate on visible row only. Read up in the F1 help files to familiarize yourself with it.

    For anything more specific, you would need to attach a sample workbook showing a sample of filtered data and a mockup up the results you would like automated. Click GO ADVANCED and use the paperclip icon to attach your sample workbook.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    02-08-2005
    MS-Off Ver
    Microsoft 365
    Posts
    810

    Re: Calculations on filtered data

    Thanks 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. Replies: 3
    Last Post: 11-09-2013, 11:50 PM
  2. calculations based on filtered data
    By reltihmd in forum Excel General
    Replies: 2
    Last Post: 10-26-2012, 04:31 PM
  3. calculations and filtered data??
    By Barnapkin in forum Excel General
    Replies: 6
    Last Post: 01-30-2009, 11:40 AM
  4. calculations on filtered lists
    By gavster in forum Excel General
    Replies: 1
    Last Post: 08-20-2008, 11:44 AM
  5. Doing calculations on data that is auto filtered
    By Glenn Mulno in forum Excel General
    Replies: 4
    Last Post: 04-06-2005, 06:06 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