+ Reply to Thread
Results 1 to 5 of 5

Unique Vstack Subtotal on two filtered tables

  1. #1
    Registered User
    Join Date
    12-02-2016
    Location
    chicago
    MS-Off Ver
    2013
    Posts
    72

    Unique Vstack Subtotal on two filtered tables

    Hi,

    I'm trying to get a spilled array that has unique values from two different table columns. The issue I'm having is using the subtotal function so that when I filter one or both tables the spill adjust to only show visible rows. Plese see attached

    Thanks!

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,159

    Re: Unique Vstack Subtotal on two filtered tables

    Create a helper column on each table with
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and then you can use
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Unique Vstack Subtotal on two filtered tables

    Please try
    =LET(f,LAMBDA(x,FILTER(x,MAP(x,LAMBDA(y,SUBTOTAL(3,y))))),UNIQUE(VSTACK(f(Table1[Animal list 1]),f(Table2[Animal list 2]))))

  4. #4
    Registered User
    Join Date
    12-02-2016
    Location
    chicago
    MS-Off Ver
    2013
    Posts
    72

    Re: Unique Vstack Subtotal on two filtered tables

    Awesome sauce TY

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,159

    Re: Unique Vstack Subtotal on two filtered tables

    Glad to help & thanks for the feedback.

+ 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. Subtotal Sumifs + filtered fields.
    By cf123 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-28-2014, 09:23 PM
  2. [SOLVED] Subtotal a filtered range grrrr
    By Hurricanefly in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-16-2013, 07:30 AM
  3. Counting filtered cells using SUBTOTAL
    By Russell Dawson in forum Tips and Tutorials
    Replies: 7
    Last Post: 10-07-2012, 12:11 PM
  4. Count filtered cells using SUBTOTAL
    By Russell Dawson in forum Excel Tips
    Replies: 2
    Last Post: 07-15-2012, 03:39 PM
  5. Subtotal a filtered range
    By mdarcey in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 05-13-2011, 04:20 AM
  6. How do I include filtered out numbers in a SUBTOTAL?
    By CMDMHHS in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-24-2006, 10:40 AM
  7. Replies: 3
    Last Post: 05-29-2006, 10:40 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