+ Reply to Thread
Results 1 to 2 of 2

Formula works for all data in table, but want to update formula to calculate per filter

  1. #1
    Registered User
    Join Date
    01-07-2015
    Location
    wisconsin
    MS-Off Ver
    2007
    Posts
    10

    Formula works for all data in table, but want to update formula to calculate per filter

    My current formulas works for all data that I insert into a table, but want to update my formulas to calculate per filters applied in the excel document.

    I thought I could use (subtotal, 2) but am not getting my data to update correctly.

    The 2 formulas that I am using for my calculations are:

    =SUMPRODUCT((Table10[Job Number]<>"")*Table10[Qty Prod]/COUNTIF(Table10[Job Number],Table10[Job Number]))

    =SUM(IF(FREQUENCY(MATCH(Table10[Job Number],Table10[Job Number],0),MATCH(Table10[Job Number],Table10[Job Number],0))>0,1))

    I read another post similar to what I was trying to accomplish, and copied these formulas and modified them to my specific data without fully understanding how it works, but it does work! Now, I want to update these formulas to update the count based off of what is filtered, but have not had success in doing so. In the attached example, I would like to turn on and off different "Group" columns and have my data reflect. Any help is greatly appreciated!!

    Internal PPM rev 3.xlsx
    Thanks
    Mitch

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    13,764

    Re: Formula works for all data in table, but want to update formula to calculate per filte

    With an pivot table.


    Probably something like this (see the attached file).
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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] how i can update my formula for calculate only filtered(seen) data
    By aaaaa34 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-24-2014, 07:54 AM
  2. [SOLVED] Formula to calculate date differences based on table data
    By Yossarian17 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-21-2014, 12:18 PM
  3. Replies: 6
    Last Post: 07-15-2013, 08:12 AM
  4. have formula update with filter?
    By greeneggs in forum Excel General
    Replies: 5
    Last Post: 08-14-2009, 04:35 AM
  5. Replies: 0
    Last Post: 01-14-2005, 05: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