+ Reply to Thread
Results 1 to 4 of 4

sum filtered range

  1. #1
    Spammer
    Join Date
    02-12-2007
    Posts
    22

    sum filtered range

    hi , i need to get the sum of a column that i can filter and only show the result of the visiable cells left but if not filtered then will show sum of all cells,

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by sexgod
    hi , i need to get the sum of a column that i can filter and only show the result of the visiable cells left but if not filtered then will show sum of all cells,
    Hi,

    try

    =Subtotal(109,A1:A10)

    hth
    ---
    added, I think the Subtotal should still work in your 2007 version.
    ---
    Last edited by Bryan Hessey; 04-09-2007 at 07:55 AM.
    Si fractum non sit, noli id reficere.

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Bryan's solution works for xl 2003 onwards

    http://www.contextures.com/xlFunctions01.html#Filter

    if you got a older verison of excel try

    http://www.xldynamic.com/source/xld....T.html#visible

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Spammer
    Join Date
    02-12-2007
    Posts
    22

    Smile cheers

    thanks again will try this out.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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