+ Reply to Thread
Results 1 to 4 of 4

Sumproduct Filtered Data

  1. #1
    Registered User
    Join Date
    05-17-2017
    Location
    Lake District UK
    MS-Off Ver
    365
    Posts
    2

    Sumproduct Filtered Data

    Hi,

    I know this has already been posted in here but I still cannot get my head around what I need to do.

    I have a worksheet with a list of products from various suppliers. I want to work out the average cost per unit in total and filtered by supplier.

    Column A has the supplier name.
    Column H has the price per unit for each supplier.
    Column M has the number of units supplied by each supplier.
    M95 is the Subtotal of the number of units supplied.

    If I filter the data the average price is incorrect as it Subtotal in M95 is correct but the Sumproduct is not ignoring the filtered data.

    I know I need to use the Offset fucntion but I just cannot get it to work.

    This is my Sumprodct formula and that is in M96

    =IFERROR(SUMPRODUCT(H7:H93,M7:M93)/M95,0)

    Any help would be greatly recieved.

    Thanks in advance.

    Jonathan

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Sumproduct Filtered Data

    Upload a sample file with desired results as well. To upload GO Advanced - Manage attachments -
    Click the * to say thanks.

  3. #3
    Registered User
    Join Date
    05-17-2017
    Location
    Lake District UK
    MS-Off Ver
    365
    Posts
    2

    Re: Sumproduct Filtered Data

    Hi,

    I have attached a sample.

    I want to be able to filter the data and the average prices at the bottom (Highlighted in red) to ignore filtered out rows.

    Thanks

    Jonathan
    Attached Files Attached Files

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Sumproduct Filtered Data

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

+ 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] Sumproduct or any other formula for filtered data
    By toci in forum Excel Formulas & Functions
    Replies: 29
    Last Post: 08-24-2016, 03:55 PM
  2. Having an issue with a sumproduct formula once filtered data
    By jando4 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-14-2016, 05:52 PM
  3. Approximate match on sumproduct using filtered data
    By trisoldee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-09-2015, 10:53 AM
  4. [SOLVED] UDF to sumproduct with filtered data only
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-07-2015, 09:02 PM
  5. Replies: 5
    Last Post: 06-04-2014, 09:41 AM
  6. Replies: 4
    Last Post: 09-04-2012, 06:09 AM
  7. SUMPRODUCT filtered
    By Donal28 in forum Excel General
    Replies: 4
    Last Post: 09-02-2010, 04:39 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