+ Reply to Thread
Results 1 to 3 of 3

Function to calculate a total on filtered table

  1. #1
    Registered User
    Join Date
    02-24-2016
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    92

    Lightbulb Function to calculate a total on filtered table

    Hi you all,

    I created this function to calculate a total on a table while some filters are active:

    Please Login or Register  to view this content.
    How to use is:

    ref expects the complete table including headers
    col expects the column number to use for the sum

    Have fun with this,
    WouterM
    The Netherlands

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Function to calculate a total on filtered table

    Hi,

    Is there a reason you wouldn't just use Subtotal or Aggregate?
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Registered User
    Join Date
    02-24-2016
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    92

    Re: Function to calculate a total on filtered table

    Hi,

    No, there is no reason to use those functions. I did not these two.

+ 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. Print Out Table Filtered by Column w/ Constant Graphics and Headers w/ Varying Total
    By Helpme77 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-05-2016, 07:45 PM
  2. Calculate total of all table cells except for one?
    By MetroBOS in forum Word Formatting & General
    Replies: 3
    Last Post: 11-18-2014, 03:48 PM
  3. Replies: 4
    Last Post: 06-12-2013, 12:51 PM
  4. Grand total in Pivot Table to include filtered records
    By poorcloud in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-09-2013, 02:23 AM
  5. Changing the total with a filtered table
    By krie2509 in forum Excel General
    Replies: 2
    Last Post: 05-07-2010, 02:53 PM
  6. Calculate total scores from table
    By Mawhood in forum Excel General
    Replies: 10
    Last Post: 01-28-2010, 02:12 PM
  7. How to Calculate total in table?
    By Reema in forum Access Programming / VBA / Macros
    Replies: 3
    Last Post: 05-25-2009, 06:43 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